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_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 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
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3423 virtual void SetDescriptiveText(const wxString
& text
);
3424 virtual wxString
GetDescriptiveText() const;
3428 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3429 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3430 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3434 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3435 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3440 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3441 PyObject
*pyobj
= 0;
3445 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3447 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3454 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
= 0;
3456 wxWindow
*arg1
= (wxWindow
*) 0 ;
3457 int arg2
= (int) -1 ;
3458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3464 long arg6
= (long) 0 ;
3465 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3466 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3467 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3469 wxButton
*result
= 0 ;
3474 bool temp3
= false ;
3481 bool temp8
= false ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3486 PyObject
* obj4
= 0 ;
3487 PyObject
* obj5
= 0 ;
3488 PyObject
* obj6
= 0 ;
3489 PyObject
* obj7
= 0 ;
3490 char * kwnames
[] = {
3491 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3496 if (!SWIG_IsOK(res1
)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3502 if (!SWIG_IsOK(ecode2
)) {
3503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3505 arg2
= static_cast< int >(val2
);
3509 arg3
= wxString_in_helper(obj2
);
3510 if (arg3
== NULL
) SWIG_fail
;
3517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3528 if (!SWIG_IsOK(ecode6
)) {
3529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3531 arg6
= static_cast< long >(val6
);
3534 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3535 if (!SWIG_IsOK(res7
)) {
3536 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3541 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3545 arg8
= wxString_in_helper(obj7
);
3546 if (arg8
== NULL
) SWIG_fail
;
3551 if (!wxPyCheckForApp()) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3580 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3581 PyObject
*resultobj
= 0;
3582 wxButton
*result
= 0 ;
3584 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3586 if (!wxPyCheckForApp()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (wxButton
*)new wxButton();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3599 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= 0;
3601 wxButton
*arg1
= (wxButton
*) 0 ;
3602 wxWindow
*arg2
= (wxWindow
*) 0 ;
3603 int arg3
= (int) -1 ;
3604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3610 long arg7
= (long) 0 ;
3611 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3612 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3613 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3614 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3622 bool temp4
= false ;
3629 bool temp9
= false ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3633 PyObject
* obj3
= 0 ;
3634 PyObject
* obj4
= 0 ;
3635 PyObject
* obj5
= 0 ;
3636 PyObject
* obj6
= 0 ;
3637 PyObject
* obj7
= 0 ;
3638 PyObject
* obj8
= 0 ;
3639 char * kwnames
[] = {
3640 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3645 if (!SWIG_IsOK(res1
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3648 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3650 if (!SWIG_IsOK(res2
)) {
3651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3656 if (!SWIG_IsOK(ecode3
)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3659 arg3
= static_cast< int >(val3
);
3663 arg4
= wxString_in_helper(obj3
);
3664 if (arg4
== NULL
) SWIG_fail
;
3671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3681 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3682 if (!SWIG_IsOK(ecode7
)) {
3683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3685 arg7
= static_cast< long >(val7
);
3688 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3689 if (!SWIG_IsOK(res8
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3695 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3699 arg9
= wxString_in_helper(obj8
);
3700 if (arg9
== NULL
) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3735 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3736 PyObject
*resultobj
= 0;
3737 wxButton
*arg1
= (wxButton
*) 0 ;
3740 PyObject
*swig_obj
[1] ;
3742 if (!args
) SWIG_fail
;
3744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3745 if (!SWIG_IsOK(res1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3748 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 (arg1
)->SetDefault();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_Py_Void();
3762 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 PyObject
*resultobj
= 0;
3766 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= wxButton::GetDefaultSize();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3780 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
= 0;
3782 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3783 SwigValueWrapper
<wxVisualAttributes
> result
;
3786 PyObject
* obj0
= 0 ;
3787 char * kwnames
[] = {
3788 (char *) "variant", NULL
3791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3794 if (!SWIG_IsOK(ecode1
)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3797 arg1
= static_cast< wxWindowVariant
>(val1
);
3800 if (!wxPyCheckForApp()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxButton::GetClassDefaultAttributes(arg1
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3813 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3816 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3817 return SWIG_Py_Void();
3820 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3821 return SWIG_Python_InitShadowInstance(args
);
3824 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
= 0;
3826 wxWindow
*arg1
= (wxWindow
*) 0 ;
3827 int arg2
= (int) -1 ;
3828 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3829 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3834 long arg6
= (long) wxBU_AUTODRAW
;
3835 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3836 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3837 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3838 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3839 wxBitmapButton
*result
= 0 ;
3852 bool temp8
= false ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 PyObject
* obj2
= 0 ;
3856 PyObject
* obj3
= 0 ;
3857 PyObject
* obj4
= 0 ;
3858 PyObject
* obj5
= 0 ;
3859 PyObject
* obj6
= 0 ;
3860 PyObject
* obj7
= 0 ;
3861 char * kwnames
[] = {
3862 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3867 if (!SWIG_IsOK(res1
)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3873 if (!SWIG_IsOK(ecode2
)) {
3874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3876 arg2
= static_cast< int >(val2
);
3879 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3880 if (!SWIG_IsOK(res3
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3886 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3901 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3902 if (!SWIG_IsOK(ecode6
)) {
3903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3905 arg6
= static_cast< long >(val6
);
3908 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3909 if (!SWIG_IsOK(res7
)) {
3910 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3915 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3919 arg8
= wxString_in_helper(obj7
);
3920 if (arg8
== NULL
) SWIG_fail
;
3925 if (!wxPyCheckForApp()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3946 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 PyObject
*resultobj
= 0;
3948 wxBitmapButton
*result
= 0 ;
3950 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (wxBitmapButton
*)new wxBitmapButton();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3965 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= 0;
3967 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3968 wxWindow
*arg2
= (wxWindow
*) 0 ;
3969 int arg3
= (int) -1 ;
3970 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3971 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3972 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3973 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3974 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3975 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3976 long arg7
= (long) wxBU_AUTODRAW
;
3977 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3978 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3979 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3980 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3996 bool temp9
= false ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
3999 PyObject
* obj2
= 0 ;
4000 PyObject
* obj3
= 0 ;
4001 PyObject
* obj4
= 0 ;
4002 PyObject
* obj5
= 0 ;
4003 PyObject
* obj6
= 0 ;
4004 PyObject
* obj7
= 0 ;
4005 PyObject
* obj8
= 0 ;
4006 char * kwnames
[] = {
4007 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4012 if (!SWIG_IsOK(res1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4015 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4017 if (!SWIG_IsOK(res2
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4023 if (!SWIG_IsOK(ecode3
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4026 arg3
= static_cast< int >(val3
);
4029 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4030 if (!SWIG_IsOK(res4
)) {
4031 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4036 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4041 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4047 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4051 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4052 if (!SWIG_IsOK(ecode7
)) {
4053 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4055 arg7
= static_cast< long >(val7
);
4058 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4059 if (!SWIG_IsOK(res8
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4065 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4069 arg9
= wxString_in_helper(obj8
);
4070 if (arg9
== NULL
) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(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_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapLabel();
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_GetBitmapDisabled(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_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapDisabled();
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_GetBitmapFocus(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_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapFocus();
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_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 PyObject
*swig_obj
[1] ;
4189 if (!args
) SWIG_fail
;
4191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4192 if (!SWIG_IsOK(res1
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4195 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (arg1
)->GetBitmapSelected();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4209 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4210 PyObject
*resultobj
= 0;
4211 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4215 PyObject
*swig_obj
[1] ;
4217 if (!args
) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4223 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (arg1
)->GetBitmapHover();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "bitmap", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4363 wxBitmap
*arg2
= 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4370 char * kwnames
[] = {
4371 (char *) "self",(char *) "bitmap", NULL
4374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4379 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4381 if (!SWIG_IsOK(res2
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_Py_Void();
4401 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
= 0;
4403 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4404 wxBitmap
*arg2
= 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "hover", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4422 if (!SWIG_IsOK(res2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_Py_Void();
4442 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
= 0;
4444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 PyObject
* obj2
= 0 ;
4456 char * kwnames
[] = {
4457 (char *) "self",(char *) "x",(char *) "y", NULL
4460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4465 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4467 if (!SWIG_IsOK(ecode2
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4470 arg2
= static_cast< int >(val2
);
4471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4472 if (!SWIG_IsOK(ecode3
)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4475 arg3
= static_cast< int >(val3
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 (arg1
)->SetMargins(arg2
,arg3
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_Py_Void();
4489 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 PyObject
*resultobj
= 0;
4491 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4495 PyObject
*swig_obj
[1] ;
4497 if (!args
) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4503 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_From_int(static_cast< int >(result
));
4517 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4518 PyObject
*resultobj
= 0;
4519 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4523 PyObject
*swig_obj
[1] ;
4525 if (!args
) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4531 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_From_int(static_cast< int >(result
));
4545 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4548 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4549 return SWIG_Py_Void();
4552 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4553 return SWIG_Python_InitShadowInstance(args
);
4556 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4557 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4562 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4563 PyObject
*pyobj
= 0;
4567 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4569 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4576 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= 0;
4578 wxWindow
*arg1
= (wxWindow
*) 0 ;
4579 int arg2
= (int) -1 ;
4580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4586 long arg6
= (long) 0 ;
4587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4589 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4591 wxCheckBox
*result
= 0 ;
4596 bool temp3
= false ;
4603 bool temp8
= false ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4606 PyObject
* obj2
= 0 ;
4607 PyObject
* obj3
= 0 ;
4608 PyObject
* obj4
= 0 ;
4609 PyObject
* obj5
= 0 ;
4610 PyObject
* obj6
= 0 ;
4611 PyObject
* obj7
= 0 ;
4612 char * kwnames
[] = {
4613 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4624 if (!SWIG_IsOK(ecode2
)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4627 arg2
= static_cast< int >(val2
);
4631 arg3
= wxString_in_helper(obj2
);
4632 if (arg3
== NULL
) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4650 if (!SWIG_IsOK(ecode6
)) {
4651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4653 arg6
= static_cast< long >(val6
);
4656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4657 if (!SWIG_IsOK(res7
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4667 arg8
= wxString_in_helper(obj7
);
4668 if (arg8
== NULL
) SWIG_fail
;
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4702 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxCheckBox
*result
= 0 ;
4706 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (wxCheckBox
*)new wxCheckBox();
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4721 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
= 0;
4723 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4724 wxWindow
*arg2
= (wxWindow
*) 0 ;
4725 int arg3
= (int) -1 ;
4726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4732 long arg7
= (long) 0 ;
4733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4735 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4744 bool temp4
= false ;
4751 bool temp9
= false ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4755 PyObject
* obj3
= 0 ;
4756 PyObject
* obj4
= 0 ;
4757 PyObject
* obj5
= 0 ;
4758 PyObject
* obj6
= 0 ;
4759 PyObject
* obj7
= 0 ;
4760 PyObject
* obj8
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4770 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res2
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4778 if (!SWIG_IsOK(ecode3
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4781 arg3
= static_cast< int >(val3
);
4785 arg4
= wxString_in_helper(obj3
);
4786 if (arg4
== NULL
) SWIG_fail
;
4793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4804 if (!SWIG_IsOK(ecode7
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4807 arg7
= static_cast< long >(val7
);
4810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4811 if (!SWIG_IsOK(res8
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4821 arg9
= wxString_in_helper(obj8
);
4822 if (arg9
== NULL
) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4863 PyObject
*swig_obj
[1] ;
4865 if (!args
) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4871 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (bool)(arg1
)->GetValue();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4887 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4889 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4893 PyObject
*swig_obj
[1] ;
4895 if (!args
) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4901 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (bool)(arg1
)->IsChecked();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4917 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 char * kwnames
[] = {
4928 (char *) "self",(char *) "state", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4936 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4941 arg2
= static_cast< bool >(val2
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetValue(arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_Py_Void();
4955 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4958 wxCheckBoxState result
;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4969 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int(static_cast< int >(result
));
4983 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= 0;
4985 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4986 wxCheckBoxState arg2
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 char * kwnames
[] = {
4994 (char *) "self",(char *) "state", NULL
4997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5002 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5004 if (!SWIG_IsOK(ecode2
)) {
5005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5007 arg2
= static_cast< wxCheckBoxState
>(val2
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->Set3StateValue(arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5035 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 PyObject
*resultobj
= 0;
5053 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5057 PyObject
*swig_obj
[1] ;
5059 if (!args
) SWIG_fail
;
5061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5062 if (!SWIG_IsOK(res1
)) {
5063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5065 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5081 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= 0;
5083 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5084 SwigValueWrapper
<wxVisualAttributes
> result
;
5087 PyObject
* obj0
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "variant", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5095 if (!SWIG_IsOK(ecode1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5098 arg1
= static_cast< wxWindowVariant
>(val1
);
5101 if (!wxPyCheckForApp()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5114 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5117 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5118 return SWIG_Py_Void();
5121 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 return SWIG_Python_InitShadowInstance(args
);
5125 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5126 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5131 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5132 PyObject
*pyobj
= 0;
5136 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5138 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5145 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxWindow
*arg1
= (wxWindow
*) 0 ;
5148 int arg2
= (int) -1 ;
5149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5153 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5154 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5155 long arg6
= (long) 0 ;
5156 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5157 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5158 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5160 wxChoice
*result
= 0 ;
5167 bool temp5
= false ;
5172 bool temp8
= false ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5175 PyObject
* obj2
= 0 ;
5176 PyObject
* obj3
= 0 ;
5177 PyObject
* obj4
= 0 ;
5178 PyObject
* obj5
= 0 ;
5179 PyObject
* obj6
= 0 ;
5180 PyObject
* obj7
= 0 ;
5181 char * kwnames
[] = {
5182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5193 if (!SWIG_IsOK(ecode2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5196 arg2
= static_cast< int >(val2
);
5201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5207 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5212 if (! PySequence_Check(obj4
)) {
5213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5216 arg5
= new wxArrayString
;
5218 int i
, len
=PySequence_Length(obj4
);
5219 for (i
=0; i
<len
; i
++) {
5220 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5221 wxString
* s
= wxString_in_helper(item
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5230 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5231 if (!SWIG_IsOK(ecode6
)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5234 arg6
= static_cast< long >(val6
);
5237 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5238 if (!SWIG_IsOK(res7
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5244 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5248 arg8
= wxString_in_helper(obj7
);
5249 if (arg8
== NULL
) SWIG_fail
;
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5262 if (temp5
) delete arg5
;
5271 if (temp5
) delete arg5
;
5281 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxChoice
*result
= 0 ;
5285 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5287 if (!wxPyCheckForApp()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxChoice
*)new wxChoice();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5300 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxChoice
*arg1
= (wxChoice
*) 0 ;
5303 wxWindow
*arg2
= (wxWindow
*) 0 ;
5304 int arg3
= (int) -1 ;
5305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5309 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5310 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5311 long arg7
= (long) 0 ;
5312 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5313 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5314 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5315 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5325 bool temp6
= false ;
5330 bool temp9
= false ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5339 PyObject
* obj8
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5349 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5351 if (!SWIG_IsOK(res2
)) {
5352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5357 if (!SWIG_IsOK(ecode3
)) {
5358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5360 arg3
= static_cast< int >(val3
);
5365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5376 if (! PySequence_Check(obj5
)) {
5377 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5380 arg6
= new wxArrayString
;
5382 int i
, len
=PySequence_Length(obj5
);
5383 for (i
=0; i
<len
; i
++) {
5384 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5385 wxString
* s
= wxString_in_helper(item
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5394 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5395 if (!SWIG_IsOK(ecode7
)) {
5396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5398 arg7
= static_cast< long >(val7
);
5401 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5402 if (!SWIG_IsOK(res8
)) {
5403 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5408 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5412 arg9
= wxString_in_helper(obj8
);
5413 if (arg9
== NULL
) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5427 if (temp6
) delete arg6
;
5436 if (temp6
) delete arg6
;
5446 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5447 PyObject
*resultobj
= 0;
5448 wxChoice
*arg1
= (wxChoice
*) 0 ;
5452 PyObject
*swig_obj
[1] ;
5454 if (!args
) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5460 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_From_int(static_cast< int >(result
));
5474 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5477 SwigValueWrapper
<wxVisualAttributes
> result
;
5480 PyObject
* obj0
= 0 ;
5481 char * kwnames
[] = {
5482 (char *) "variant", NULL
5485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5488 if (!SWIG_IsOK(ecode1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5491 arg1
= static_cast< wxWindowVariant
>(val1
);
5494 if (!wxPyCheckForApp()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5507 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5510 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5511 return SWIG_Py_Void();
5514 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5515 return SWIG_Python_InitShadowInstance(args
);
5518 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5519 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5524 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5525 PyObject
*pyobj
= 0;
5529 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5531 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5538 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= 0;
5540 wxWindow
*arg1
= (wxWindow
*) 0 ;
5541 int arg2
= (int) -1 ;
5542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5548 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5549 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5550 long arg7
= (long) 0 ;
5551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5553 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5555 wxComboBox
*result
= 0 ;
5560 bool temp3
= false ;
5563 bool temp6
= false ;
5568 bool temp9
= false ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 PyObject
* obj2
= 0 ;
5572 PyObject
* obj3
= 0 ;
5573 PyObject
* obj4
= 0 ;
5574 PyObject
* obj5
= 0 ;
5575 PyObject
* obj6
= 0 ;
5576 PyObject
* obj7
= 0 ;
5577 PyObject
* obj8
= 0 ;
5578 char * kwnames
[] = {
5579 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5597 arg3
= wxString_in_helper(obj2
);
5598 if (arg3
== NULL
) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5616 if (! PySequence_Check(obj5
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg6
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj5
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5625 wxString
* s
= wxString_in_helper(item
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5634 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5635 if (!SWIG_IsOK(ecode7
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5638 arg7
= static_cast< long >(val7
);
5641 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5642 if (!SWIG_IsOK(res8
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5648 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5652 arg9
= wxString_in_helper(obj8
);
5653 if (arg9
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 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
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5670 if (temp6
) delete arg6
;
5683 if (temp6
) delete arg6
;
5693 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 PyObject
*resultobj
= 0;
5695 wxComboBox
*result
= 0 ;
5697 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5699 if (!wxPyCheckForApp()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxComboBox
*)new wxComboBox();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5712 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
= 0;
5714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) -1 ;
5717 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5723 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5724 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5725 long arg8
= (long) 0 ;
5726 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5727 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5728 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5729 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5737 bool temp4
= false ;
5740 bool temp7
= false ;
5745 bool temp10
= false ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5749 PyObject
* obj3
= 0 ;
5750 PyObject
* obj4
= 0 ;
5751 PyObject
* obj5
= 0 ;
5752 PyObject
* obj6
= 0 ;
5753 PyObject
* obj7
= 0 ;
5754 PyObject
* obj8
= 0 ;
5755 PyObject
* obj9
= 0 ;
5756 char * kwnames
[] = {
5757 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5765 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5767 if (!SWIG_IsOK(res2
)) {
5768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5773 if (!SWIG_IsOK(ecode3
)) {
5774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5776 arg3
= static_cast< int >(val3
);
5780 arg4
= wxString_in_helper(obj3
);
5781 if (arg4
== NULL
) SWIG_fail
;
5788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5799 if (! PySequence_Check(obj6
)) {
5800 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5803 arg7
= new wxArrayString
;
5805 int i
, len
=PySequence_Length(obj6
);
5806 for (i
=0; i
<len
; i
++) {
5807 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5808 wxString
* s
= wxString_in_helper(item
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5817 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5818 if (!SWIG_IsOK(ecode8
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5821 arg8
= static_cast< long >(val8
);
5824 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5825 if (!SWIG_IsOK(res9
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5831 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5835 arg10
= wxString_in_helper(obj9
);
5836 if (arg10
== NULL
) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 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
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5854 if (temp7
) delete arg7
;
5867 if (temp7
) delete arg7
;
5877 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5883 PyObject
*swig_obj
[1] ;
5885 if (!args
) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5891 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= ((wxComboBox
const *)arg1
)->GetValue();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5911 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5914 wxString
*arg2
= 0 ;
5917 bool temp2
= false ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "value", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5929 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5931 arg2
= wxString_in_helper(obj1
);
5932 if (arg2
== NULL
) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetValue((wxString
const &)*arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5957 PyObject
*resultobj
= 0;
5958 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5961 PyObject
*swig_obj
[1] ;
5963 if (!args
) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_Py_Void();
5983 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5984 PyObject
*resultobj
= 0;
5985 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
*swig_obj
[1] ;
5990 if (!args
) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_Py_Void();
6010 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6011 PyObject
*resultobj
= 0;
6012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6015 PyObject
*swig_obj
[1] ;
6017 if (!args
) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6023 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_Py_Void();
6037 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= 0;
6039 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 char * kwnames
[] = {
6048 (char *) "self",(char *) "pos", NULL
6051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6056 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6057 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6058 if (!SWIG_IsOK(ecode2
)) {
6059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6061 arg2
= static_cast< long >(val2
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->SetInsertionPoint(arg2
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_Py_Void();
6075 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6081 PyObject
*swig_obj
[1] ;
6083 if (!args
) SWIG_fail
;
6085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6086 if (!SWIG_IsOK(res1
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6089 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_From_long(static_cast< long >(result
));
6103 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 PyObject
*resultobj
= 0;
6105 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6109 PyObject
*swig_obj
[1] ;
6111 if (!args
) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6117 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_From_long(static_cast< long >(result
));
6131 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= 0;
6133 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6136 wxString
*arg4
= 0 ;
6143 bool temp4
= false ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6147 PyObject
* obj3
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 arg4
= wxString_in_helper(obj3
);
6170 if (arg4
== NULL
) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_Py_Void();
6194 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
= 0;
6196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 char * kwnames
[] = {
6209 (char *) "self",(char *) "from",(char *) "to", NULL
6212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6217 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6219 if (!SWIG_IsOK(ecode2
)) {
6220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6222 arg2
= static_cast< long >(val2
);
6223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6224 if (!SWIG_IsOK(ecode3
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6227 arg3
= static_cast< long >(val3
);
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->SetSelection(arg2
,arg3
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_Py_Void();
6241 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6242 PyObject
*resultobj
= 0;
6243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6247 PyObject
*swig_obj
[1] ;
6249 if (!args
) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6255 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_int(static_cast< int >(result
));
6269 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6272 wxString
*arg2
= 0 ;
6276 bool temp2
= false ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "string", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6288 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6290 arg2
= wxString_in_helper(obj1
);
6291 if (arg2
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "editable", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6338 if (!SWIG_IsOK(ecode2
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6341 arg2
= static_cast< bool >(val2
);
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->SetEditable(arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_Py_Void();
6355 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6356 PyObject
*resultobj
= 0;
6357 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6360 PyObject
*swig_obj
[1] ;
6362 if (!args
) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6368 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetInsertionPointEnd();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
= 0;
6384 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "from",(char *) "to", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6405 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6406 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6407 if (!SWIG_IsOK(ecode2
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6410 arg2
= static_cast< long >(val2
);
6411 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6412 if (!SWIG_IsOK(ecode3
)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6415 arg3
= static_cast< long >(val3
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 (arg1
)->Remove(arg2
,arg3
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_Py_Void();
6429 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6443 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6459 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6472 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_Py_Void();
6486 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 PyObject
*resultobj
= 0;
6488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6499 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_Py_Void();
6513 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6514 PyObject
*resultobj
= 0;
6515 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6518 PyObject
*swig_obj
[1] ;
6520 if (!args
) SWIG_fail
;
6522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6523 if (!SWIG_IsOK(res1
)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6526 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 (arg1
)->SelectAll();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6554 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6570 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 PyObject
*resultobj
= 0;
6572 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6584 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6600 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6601 PyObject
*resultobj
= 0;
6602 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6606 PyObject
*swig_obj
[1] ;
6608 if (!args
) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6614 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6630 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6631 PyObject
*resultobj
= 0;
6632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6636 PyObject
*swig_obj
[1] ;
6638 if (!args
) SWIG_fail
;
6640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6641 if (!SWIG_IsOK(res1
)) {
6642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6644 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6660 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6661 PyObject
*resultobj
= 0;
6662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6666 PyObject
*swig_obj
[1] ;
6668 if (!args
) SWIG_fail
;
6670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6671 if (!SWIG_IsOK(res1
)) {
6672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6674 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6693 SwigValueWrapper
<wxVisualAttributes
> result
;
6696 PyObject
* obj0
= 0 ;
6697 char * kwnames
[] = {
6698 (char *) "variant", NULL
6701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6704 if (!SWIG_IsOK(ecode1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6707 arg1
= static_cast< wxWindowVariant
>(val1
);
6710 if (!wxPyCheckForApp()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6723 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6726 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6727 return SWIG_Py_Void();
6730 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6731 return SWIG_Python_InitShadowInstance(args
);
6734 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6735 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6740 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6741 PyObject
*pyobj
= 0;
6745 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6747 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6754 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
= 0;
6756 wxWindow
*arg1
= (wxWindow
*) 0 ;
6757 int arg2
= (int) -1 ;
6758 int arg3
= (int) 100 ;
6759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6763 long arg6
= (long) wxGA_HORIZONTAL
;
6764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6766 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6768 wxGauge
*result
= 0 ;
6781 bool temp8
= false ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6785 PyObject
* obj3
= 0 ;
6786 PyObject
* obj4
= 0 ;
6787 PyObject
* obj5
= 0 ;
6788 PyObject
* obj6
= 0 ;
6789 PyObject
* obj7
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6827 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6828 if (!SWIG_IsOK(ecode6
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6831 arg6
= static_cast< long >(val6
);
6834 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6835 if (!SWIG_IsOK(res7
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6841 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6845 arg8
= wxString_in_helper(obj7
);
6846 if (arg8
== NULL
) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6872 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6873 PyObject
*resultobj
= 0;
6874 wxGauge
*result
= 0 ;
6876 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxGauge
*)new wxGauge();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6891 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxGauge
*arg1
= (wxGauge
*) 0 ;
6894 wxWindow
*arg2
= (wxWindow
*) 0 ;
6895 int arg3
= (int) -1 ;
6896 int arg4
= (int) 100 ;
6897 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6898 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6899 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6900 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6901 long arg7
= (long) wxGA_HORIZONTAL
;
6902 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6903 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6904 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6905 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6921 bool temp9
= false ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6925 PyObject
* obj3
= 0 ;
6926 PyObject
* obj4
= 0 ;
6927 PyObject
* obj5
= 0 ;
6928 PyObject
* obj6
= 0 ;
6929 PyObject
* obj7
= 0 ;
6930 PyObject
* obj8
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6940 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6942 if (!SWIG_IsOK(res2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6948 if (!SWIG_IsOK(ecode3
)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6951 arg3
= static_cast< int >(val3
);
6954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6955 if (!SWIG_IsOK(ecode4
)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6958 arg4
= static_cast< int >(val4
);
6963 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6969 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6973 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6974 if (!SWIG_IsOK(ecode7
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6977 arg7
= static_cast< long >(val7
);
6980 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6981 if (!SWIG_IsOK(res8
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6987 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6991 arg9
= wxString_in_helper(obj8
);
6992 if (arg9
== NULL
) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7019 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= 0;
7021 wxGauge
*arg1
= (wxGauge
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "self",(char *) "range", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7035 if (!SWIG_IsOK(res1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7038 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetRange(arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_Py_Void();
7057 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 PyObject
*resultobj
= 0;
7059 wxGauge
*arg1
= (wxGauge
*) 0 ;
7063 PyObject
*swig_obj
[1] ;
7065 if (!args
) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7071 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_From_int(static_cast< int >(result
));
7085 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxGauge
*arg1
= (wxGauge
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "self",(char *) "pos", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7101 if (!SWIG_IsOK(res1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7104 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7106 if (!SWIG_IsOK(ecode2
)) {
7107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7109 arg2
= static_cast< int >(val2
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetValue(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxGauge
*arg1
= (wxGauge
*) 0 ;
7129 PyObject
*swig_obj
[1] ;
7131 if (!args
) SWIG_fail
;
7133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7134 if (!SWIG_IsOK(res1
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7137 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_From_int(static_cast< int >(result
));
7151 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 PyObject
*resultobj
= 0;
7153 wxGauge
*arg1
= (wxGauge
*) 0 ;
7156 PyObject
*swig_obj
[1] ;
7158 if (!args
) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7164 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_Py_Void();
7178 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7179 PyObject
*resultobj
= 0;
7180 wxGauge
*arg1
= (wxGauge
*) 0 ;
7184 PyObject
*swig_obj
[1] ;
7186 if (!args
) SWIG_fail
;
7188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7189 if (!SWIG_IsOK(res1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7192 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7208 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxGauge
*arg1
= (wxGauge
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 char * kwnames
[] = {
7219 (char *) "self",(char *) "w", NULL
7222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7227 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7229 if (!SWIG_IsOK(ecode2
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7232 arg2
= static_cast< int >(val2
);
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetShadowWidth(arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_Py_Void();
7246 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 PyObject
*resultobj
= 0;
7248 wxGauge
*arg1
= (wxGauge
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7260 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_From_int(static_cast< int >(result
));
7274 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxGauge
*arg1
= (wxGauge
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 char * kwnames
[] = {
7285 (char *) "self",(char *) "w", NULL
7288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7293 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->SetBezelFace(arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_Py_Void();
7312 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 PyObject
*resultobj
= 0;
7314 wxGauge
*arg1
= (wxGauge
*) 0 ;
7318 PyObject
*swig_obj
[1] ;
7320 if (!args
) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7326 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_From_int(static_cast< int >(result
));
7340 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7343 SwigValueWrapper
<wxVisualAttributes
> result
;
7346 PyObject
* obj0
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "variant", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7354 if (!SWIG_IsOK(ecode1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7357 arg1
= static_cast< wxWindowVariant
>(val1
);
7360 if (!wxPyCheckForApp()) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7373 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7376 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7377 return SWIG_Py_Void();
7380 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 return SWIG_Python_InitShadowInstance(args
);
7384 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7385 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7390 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7391 PyObject
*pyobj
= 0;
7395 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7397 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7404 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7405 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7410 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7411 PyObject
*pyobj
= 0;
7415 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7417 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7424 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7425 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7430 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7431 PyObject
*pyobj
= 0;
7435 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7437 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7444 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7445 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7450 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7451 PyObject
*pyobj
= 0;
7455 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7457 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7464 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
= 0;
7466 wxWindow
*arg1
= (wxWindow
*) 0 ;
7467 int arg2
= (int) -1 ;
7468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7474 long arg6
= (long) 0 ;
7475 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7477 wxStaticBox
*result
= 0 ;
7482 bool temp3
= false ;
7487 bool temp7
= false ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7490 PyObject
* obj2
= 0 ;
7491 PyObject
* obj3
= 0 ;
7492 PyObject
* obj4
= 0 ;
7493 PyObject
* obj5
= 0 ;
7494 PyObject
* obj6
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7507 if (!SWIG_IsOK(ecode2
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7510 arg2
= static_cast< int >(val2
);
7514 arg3
= wxString_in_helper(obj2
);
7515 if (arg3
== NULL
) SWIG_fail
;
7522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7532 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7533 if (!SWIG_IsOK(ecode6
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7536 arg6
= static_cast< long >(val6
);
7540 arg7
= wxString_in_helper(obj6
);
7541 if (arg7
== NULL
) SWIG_fail
;
7546 if (!wxPyCheckForApp()) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7575 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7576 PyObject
*resultobj
= 0;
7577 wxStaticBox
*result
= 0 ;
7579 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7581 if (!wxPyCheckForApp()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxStaticBox
*)new wxStaticBox();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7594 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7597 wxWindow
*arg2
= (wxWindow
*) 0 ;
7598 int arg3
= (int) -1 ;
7599 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7600 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7605 long arg7
= (long) 0 ;
7606 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7615 bool temp4
= false ;
7620 bool temp8
= false ;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7624 PyObject
* obj3
= 0 ;
7625 PyObject
* obj4
= 0 ;
7626 PyObject
* obj5
= 0 ;
7627 PyObject
* obj6
= 0 ;
7628 PyObject
* obj7
= 0 ;
7629 char * kwnames
[] = {
7630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7638 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7640 if (!SWIG_IsOK(res2
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7646 if (!SWIG_IsOK(ecode3
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7649 arg3
= static_cast< int >(val3
);
7653 arg4
= wxString_in_helper(obj3
);
7654 if (arg4
== NULL
) SWIG_fail
;
7661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7667 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7671 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7672 if (!SWIG_IsOK(ecode7
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7675 arg7
= static_cast< long >(val7
);
7679 arg8
= wxString_in_helper(obj7
);
7680 if (arg8
== NULL
) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= 0;
7717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7718 SwigValueWrapper
<wxVisualAttributes
> result
;
7721 PyObject
* obj0
= 0 ;
7722 char * kwnames
[] = {
7723 (char *) "variant", NULL
7726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7729 if (!SWIG_IsOK(ecode1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7732 arg1
= static_cast< wxWindowVariant
>(val1
);
7735 if (!wxPyCheckForApp()) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7748 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7751 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7752 return SWIG_Py_Void();
7755 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7756 return SWIG_Python_InitShadowInstance(args
);
7759 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxWindow
*arg1
= (wxWindow
*) 0 ;
7762 int arg2
= (int) -1 ;
7763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7767 long arg5
= (long) wxLI_HORIZONTAL
;
7768 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7770 wxStaticLine
*result
= 0 ;
7779 bool temp6
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7798 if (!SWIG_IsOK(ecode2
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7801 arg2
= static_cast< int >(val2
);
7806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7817 if (!SWIG_IsOK(ecode5
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7820 arg5
= static_cast< long >(val5
);
7824 arg6
= wxString_in_helper(obj5
);
7825 if (arg6
== NULL
) SWIG_fail
;
7830 if (!wxPyCheckForApp()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7851 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7852 PyObject
*resultobj
= 0;
7853 wxStaticLine
*result
= 0 ;
7855 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7857 if (!wxPyCheckForApp()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStaticLine
*)new wxStaticLine();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7870 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
= 0;
7872 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7873 wxWindow
*arg2
= (wxWindow
*) 0 ;
7874 int arg3
= (int) -1 ;
7875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7879 long arg6
= (long) wxLI_HORIZONTAL
;
7880 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7893 bool temp7
= false ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7898 PyObject
* obj4
= 0 ;
7899 PyObject
* obj5
= 0 ;
7900 PyObject
* obj6
= 0 ;
7901 char * kwnames
[] = {
7902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7910 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7912 if (!SWIG_IsOK(res2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7918 if (!SWIG_IsOK(ecode3
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7921 arg3
= static_cast< int >(val3
);
7926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7937 if (!SWIG_IsOK(ecode6
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7940 arg6
= static_cast< long >(val6
);
7944 arg7
= wxString_in_helper(obj6
);
7945 if (arg7
== NULL
) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7974 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7986 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 PyObject
*resultobj
= 0;
8006 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (int)wxStaticLine::GetDefaultSize();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_From_int(static_cast< int >(result
));
8020 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
= 0;
8022 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8023 SwigValueWrapper
<wxVisualAttributes
> result
;
8026 PyObject
* obj0
= 0 ;
8027 char * kwnames
[] = {
8028 (char *) "variant", NULL
8031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8034 if (!SWIG_IsOK(ecode1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8037 arg1
= static_cast< wxWindowVariant
>(val1
);
8040 if (!wxPyCheckForApp()) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8053 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8056 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8057 return SWIG_Py_Void();
8060 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 return SWIG_Python_InitShadowInstance(args
);
8064 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxWindow
*arg1
= (wxWindow
*) 0 ;
8067 int arg2
= (int) -1 ;
8068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8074 long arg6
= (long) 0 ;
8075 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8077 wxStaticText
*result
= 0 ;
8082 bool temp3
= false ;
8087 bool temp7
= false ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 PyObject
* obj2
= 0 ;
8091 PyObject
* obj3
= 0 ;
8092 PyObject
* obj4
= 0 ;
8093 PyObject
* obj5
= 0 ;
8094 PyObject
* obj6
= 0 ;
8095 char * kwnames
[] = {
8096 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8107 if (!SWIG_IsOK(ecode2
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8110 arg2
= static_cast< int >(val2
);
8114 arg3
= wxString_in_helper(obj2
);
8115 if (arg3
== NULL
) SWIG_fail
;
8122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8133 if (!SWIG_IsOK(ecode6
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8136 arg6
= static_cast< long >(val6
);
8140 arg7
= wxString_in_helper(obj6
);
8141 if (arg7
== NULL
) SWIG_fail
;
8146 if (!wxPyCheckForApp()) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8175 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 PyObject
*resultobj
= 0;
8177 wxStaticText
*result
= 0 ;
8179 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxStaticText
*)new wxStaticText();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8194 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8197 wxWindow
*arg2
= (wxWindow
*) 0 ;
8198 int arg3
= (int) -1 ;
8199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8205 long arg7
= (long) 0 ;
8206 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8215 bool temp4
= false ;
8220 bool temp8
= false ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8223 PyObject
* obj2
= 0 ;
8224 PyObject
* obj3
= 0 ;
8225 PyObject
* obj4
= 0 ;
8226 PyObject
* obj5
= 0 ;
8227 PyObject
* obj6
= 0 ;
8228 PyObject
* obj7
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8238 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8246 if (!SWIG_IsOK(ecode3
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8249 arg3
= static_cast< int >(val3
);
8253 arg4
= wxString_in_helper(obj3
);
8254 if (arg4
== NULL
) SWIG_fail
;
8261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8271 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8272 if (!SWIG_IsOK(ecode7
)) {
8273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8275 arg7
= static_cast< long >(val7
);
8279 arg8
= wxString_in_helper(obj7
);
8280 if (arg8
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= 0;
8317 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 char * kwnames
[] = {
8326 (char *) "self",(char *) "width", NULL
8329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8331 if (!SWIG_IsOK(res1
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8334 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8336 if (!SWIG_IsOK(ecode2
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8339 arg2
= static_cast< int >(val2
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8356 SwigValueWrapper
<wxVisualAttributes
> result
;
8359 PyObject
* obj0
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "variant", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8367 if (!SWIG_IsOK(ecode1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8370 arg1
= static_cast< wxWindowVariant
>(val1
);
8373 if (!wxPyCheckForApp()) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8386 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8389 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8390 return SWIG_Py_Void();
8393 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8394 return SWIG_Python_InitShadowInstance(args
);
8397 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxWindow
*arg1
= (wxWindow
*) 0 ;
8400 int arg2
= (int) -1 ;
8401 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8402 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8407 long arg6
= (long) 0 ;
8408 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8410 wxStaticBitmap
*result
= 0 ;
8421 bool temp7
= false ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 PyObject
* obj2
= 0 ;
8425 PyObject
* obj3
= 0 ;
8426 PyObject
* obj4
= 0 ;
8427 PyObject
* obj5
= 0 ;
8428 PyObject
* obj6
= 0 ;
8429 char * kwnames
[] = {
8430 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8435 if (!SWIG_IsOK(res1
)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8441 if (!SWIG_IsOK(ecode2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8444 arg2
= static_cast< int >(val2
);
8447 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8448 if (!SWIG_IsOK(res3
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8454 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8469 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8470 if (!SWIG_IsOK(ecode6
)) {
8471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8473 arg6
= static_cast< long >(val6
);
8477 arg7
= wxString_in_helper(obj6
);
8478 if (arg7
== NULL
) SWIG_fail
;
8483 if (!wxPyCheckForApp()) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8504 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxStaticBitmap
*result
= 0 ;
8508 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8510 if (!wxPyCheckForApp()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8523 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
= 0;
8525 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8526 wxWindow
*arg2
= (wxWindow
*) 0 ;
8527 int arg3
= (int) -1 ;
8528 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8529 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8534 long arg7
= (long) 0 ;
8535 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8550 bool temp8
= false ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8554 PyObject
* obj3
= 0 ;
8555 PyObject
* obj4
= 0 ;
8556 PyObject
* obj5
= 0 ;
8557 PyObject
* obj6
= 0 ;
8558 PyObject
* obj7
= 0 ;
8559 char * kwnames
[] = {
8560 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8565 if (!SWIG_IsOK(res1
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8568 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8570 if (!SWIG_IsOK(res2
)) {
8571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8576 if (!SWIG_IsOK(ecode3
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8579 arg3
= static_cast< int >(val3
);
8582 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8583 if (!SWIG_IsOK(res4
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8589 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8594 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8600 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8604 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8605 if (!SWIG_IsOK(ecode7
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8608 arg7
= static_cast< long >(val7
);
8612 arg8
= wxString_in_helper(obj7
);
8613 if (arg8
== NULL
) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8640 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8641 PyObject
*resultobj
= 0;
8642 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8646 PyObject
*swig_obj
[1] ;
8648 if (!args
) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8654 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (arg1
)->GetBitmap();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8668 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8671 wxBitmap
*arg2
= 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 char * kwnames
[] = {
8679 (char *) "self",(char *) "bitmap", NULL
8682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8684 if (!SWIG_IsOK(res1
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8687 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8689 if (!SWIG_IsOK(res2
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8695 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_Py_Void();
8709 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "icon", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8728 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8730 if (!SWIG_IsOK(res2
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8736 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_Py_Void();
8750 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8753 SwigValueWrapper
<wxVisualAttributes
> result
;
8756 PyObject
* obj0
= 0 ;
8757 char * kwnames
[] = {
8758 (char *) "variant", NULL
8761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8764 if (!SWIG_IsOK(ecode1
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8767 arg1
= static_cast< wxWindowVariant
>(val1
);
8770 if (!wxPyCheckForApp()) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8783 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8786 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8787 return SWIG_Py_Void();
8790 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8791 return SWIG_Python_InitShadowInstance(args
);
8794 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8795 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8800 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8801 PyObject
*pyobj
= 0;
8805 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8807 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8814 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= 0;
8816 wxWindow
*arg1
= (wxWindow
*) 0 ;
8817 int arg2
= (int) -1 ;
8818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8822 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8823 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8824 long arg6
= (long) 0 ;
8825 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8826 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8827 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8829 wxListBox
*result
= 0 ;
8836 bool temp5
= false ;
8841 bool temp8
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8845 PyObject
* obj3
= 0 ;
8846 PyObject
* obj4
= 0 ;
8847 PyObject
* obj5
= 0 ;
8848 PyObject
* obj6
= 0 ;
8849 PyObject
* obj7
= 0 ;
8850 char * kwnames
[] = {
8851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8862 if (!SWIG_IsOK(ecode2
)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8865 arg2
= static_cast< int >(val2
);
8870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8876 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8881 if (! PySequence_Check(obj4
)) {
8882 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8885 arg5
= new wxArrayString
;
8887 int i
, len
=PySequence_Length(obj4
);
8888 for (i
=0; i
<len
; i
++) {
8889 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8890 wxString
* s
= wxString_in_helper(item
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8900 if (!SWIG_IsOK(ecode6
)) {
8901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8903 arg6
= static_cast< long >(val6
);
8906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8907 if (!SWIG_IsOK(res7
)) {
8908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8917 arg8
= wxString_in_helper(obj7
);
8918 if (arg8
== NULL
) SWIG_fail
;
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8931 if (temp5
) delete arg5
;
8940 if (temp5
) delete arg5
;
8950 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 PyObject
*resultobj
= 0;
8952 wxListBox
*result
= 0 ;
8954 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8956 if (!wxPyCheckForApp()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (wxListBox
*)new wxListBox();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8969 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
= 0;
8971 wxListBox
*arg1
= (wxListBox
*) 0 ;
8972 wxWindow
*arg2
= (wxWindow
*) 0 ;
8973 int arg3
= (int) -1 ;
8974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8978 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8979 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8980 long arg7
= (long) 0 ;
8981 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8982 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8983 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8984 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8994 bool temp6
= false ;
8999 bool temp9
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9004 PyObject
* obj4
= 0 ;
9005 PyObject
* obj5
= 0 ;
9006 PyObject
* obj6
= 0 ;
9007 PyObject
* obj7
= 0 ;
9008 PyObject
* obj8
= 0 ;
9009 char * kwnames
[] = {
9010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9018 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9020 if (!SWIG_IsOK(res2
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9026 if (!SWIG_IsOK(ecode3
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9029 arg3
= static_cast< int >(val3
);
9034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9045 if (! PySequence_Check(obj5
)) {
9046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9049 arg6
= new wxArrayString
;
9051 int i
, len
=PySequence_Length(obj5
);
9052 for (i
=0; i
<len
; i
++) {
9053 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9054 wxString
* s
= wxString_in_helper(item
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9063 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9064 if (!SWIG_IsOK(ecode7
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9067 arg7
= static_cast< long >(val7
);
9070 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9071 if (!SWIG_IsOK(res8
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9077 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9081 arg9
= wxString_in_helper(obj8
);
9082 if (arg9
== NULL
) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 if (temp6
) delete arg6
;
9105 if (temp6
) delete arg6
;
9115 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxListBox
*arg1
= (wxListBox
*) 0 ;
9118 wxString
*arg2
= 0 ;
9120 PyObject
*arg4
= (PyObject
*) NULL
;
9123 bool temp2
= false ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 PyObject
* obj3
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9139 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9141 arg2
= wxString_in_helper(obj1
);
9142 if (arg2
== NULL
) SWIG_fail
;
9145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9146 if (!SWIG_IsOK(ecode3
)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9149 arg3
= static_cast< int >(val3
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9174 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= 0;
9176 wxListBox
*arg1
= (wxListBox
*) 0 ;
9177 wxArrayString
*arg2
= 0 ;
9181 bool temp2
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "self",(char *) "items",(char *) "pos", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9196 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9198 if (! PySequence_Check(obj1
)) {
9199 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9202 arg2
= new wxArrayString
;
9204 int i
, len
=PySequence_Length(obj1
);
9205 for (i
=0; i
<len
; i
++) {
9206 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9207 wxString
* s
= wxString_in_helper(item
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9214 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9215 if (!SWIG_IsOK(ecode3
)) {
9216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9218 arg3
= static_cast< unsigned int >(val3
);
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9227 if (temp2
) delete arg2
;
9232 if (temp2
) delete arg2
;
9238 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxListBox
*arg1
= (wxListBox
*) 0 ;
9241 wxArrayString
*arg2
= 0 ;
9244 bool temp2
= false ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 char * kwnames
[] = {
9248 (char *) "self",(char *) "items", NULL
9251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9256 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9258 if (! PySequence_Check(obj1
)) {
9259 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9262 arg2
= new wxArrayString
;
9264 int i
, len
=PySequence_Length(obj1
);
9265 for (i
=0; i
<len
; i
++) {
9266 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9267 wxString
* s
= wxString_in_helper(item
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->Set((wxArrayString
const &)*arg2
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9282 if (temp2
) delete arg2
;
9287 if (temp2
) delete arg2
;
9293 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= 0;
9295 wxListBox
*arg1
= (wxListBox
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "n", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9313 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9315 if (!SWIG_IsOK(ecode2
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9318 arg2
= static_cast< int >(val2
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9334 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9338 bool arg3
= (bool) true ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "n",(char *) "select", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9357 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9364 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9365 if (!SWIG_IsOK(ecode3
)) {
9366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9368 arg3
= static_cast< bool >(val3
);
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 (arg1
)->SetSelection(arg2
,arg3
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_Py_Void();
9383 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxListBox
*arg1
= (wxListBox
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "n", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->Select(arg2
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_Py_Void();
9421 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 wxListBox
*arg1
= (wxListBox
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 char * kwnames
[] = {
9432 (char *) "self",(char *) "n", NULL
9435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9440 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9442 if (!SWIG_IsOK(ecode2
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9445 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->Deselect(arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_Py_Void();
9459 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
= 0;
9461 wxListBox
*arg1
= (wxListBox
*) 0 ;
9462 int arg2
= (int) -1 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "itemToLeaveSelected", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9478 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9481 if (!SWIG_IsOK(ecode2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9484 arg2
= static_cast< int >(val2
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->DeselectAll(arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_Py_Void();
9499 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxListBox
*arg1
= (wxListBox
*) 0 ;
9502 wxString
*arg2
= 0 ;
9503 bool arg3
= (bool) true ;
9507 bool temp2
= false ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "self",(char *) "s",(char *) "select", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 arg2
= wxString_in_helper(obj1
);
9525 if (arg2
== NULL
) SWIG_fail
;
9529 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9530 if (!SWIG_IsOK(ecode3
)) {
9531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9533 arg3
= static_cast< bool >(val3
);
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 PyObject
*resultobj
= 0;
9560 wxListBox
*arg1
= (wxListBox
*) 0 ;
9561 PyObject
*result
= 0 ;
9564 PyObject
*swig_obj
[1] ;
9566 if (!args
) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9572 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9586 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= 0;
9588 wxListBox
*arg1
= (wxListBox
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 char * kwnames
[] = {
9597 (char *) "self",(char *) "n", NULL
9600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9602 if (!SWIG_IsOK(res1
)) {
9603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9605 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9607 if (!SWIG_IsOK(ecode2
)) {
9608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9610 arg2
= static_cast< int >(val2
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetFirstItem(arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_Py_Void();
9624 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
= 0;
9626 wxListBox
*arg1
= (wxListBox
*) 0 ;
9627 wxString
*arg2
= 0 ;
9630 bool temp2
= false ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 char * kwnames
[] = {
9634 (char *) "self",(char *) "s", NULL
9637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9642 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9644 arg2
= wxString_in_helper(obj1
);
9645 if (arg2
== NULL
) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= 0;
9671 wxListBox
*arg1
= (wxListBox
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 char * kwnames
[] = {
9680 (char *) "self",(char *) "n", NULL
9683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9688 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9690 if (!SWIG_IsOK(ecode2
)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9693 arg2
= static_cast< int >(val2
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->EnsureVisible(arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_Py_Void();
9707 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxListBox
*arg1
= (wxListBox
*) 0 ;
9710 wxString
*arg2
= 0 ;
9713 bool temp2
= false ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 char * kwnames
[] = {
9717 (char *) "self",(char *) "s", NULL
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9725 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9727 arg2
= wxString_in_helper(obj1
);
9728 if (arg2
== NULL
) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_Py_Void();
9752 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9753 PyObject
*resultobj
= 0;
9754 wxListBox
*arg1
= (wxListBox
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9766 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9782 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
= 0;
9784 wxListBox
*arg1
= (wxListBox
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 char * kwnames
[] = {
9793 (char *) "self",(char *) "pt", NULL
9796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9798 if (!SWIG_IsOK(res1
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9801 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_From_int(static_cast< int >(result
));
9819 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
= 0;
9821 wxListBox
*arg1
= (wxListBox
*) 0 ;
9823 wxColour
*arg3
= 0 ;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9831 PyObject
* obj2
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "self",(char *) "item",(char *) "c", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9841 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9843 if (!SWIG_IsOK(ecode2
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9846 arg2
= static_cast< int >(val2
);
9849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_Py_Void();
9864 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxListBox
*arg1
= (wxListBox
*) 0 ;
9868 wxColour
*arg3
= 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj2
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "item",(char *) "c", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9888 if (!SWIG_IsOK(ecode2
)) {
9889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9891 arg2
= static_cast< int >(val2
);
9894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxListBox
*arg1
= (wxListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9922 PyObject
* obj2
= 0 ;
9923 char * kwnames
[] = {
9924 (char *) "self",(char *) "item",(char *) "f", NULL
9927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9929 if (!SWIG_IsOK(res1
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9932 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9934 if (!SWIG_IsOK(ecode2
)) {
9935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9937 arg2
= static_cast< int >(val2
);
9938 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9939 if (!SWIG_IsOK(res3
)) {
9940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9945 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_Py_Void();
9959 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9962 SwigValueWrapper
<wxVisualAttributes
> result
;
9965 PyObject
* obj0
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "variant", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9973 if (!SWIG_IsOK(ecode1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9976 arg1
= static_cast< wxWindowVariant
>(val1
);
9979 if (!wxPyCheckForApp()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9992 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9995 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9996 return SWIG_Py_Void();
9999 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 return SWIG_Python_InitShadowInstance(args
);
10003 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 wxWindow
*arg1
= (wxWindow
*) 0 ;
10006 int arg2
= (int) -1 ;
10007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10011 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10012 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10013 long arg6
= (long) 0 ;
10014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10016 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10018 wxCheckListBox
*result
= 0 ;
10025 bool temp5
= false ;
10030 bool temp8
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 PyObject
* obj3
= 0 ;
10035 PyObject
* obj4
= 0 ;
10036 PyObject
* obj5
= 0 ;
10037 PyObject
* obj6
= 0 ;
10038 PyObject
* obj7
= 0 ;
10039 char * kwnames
[] = {
10040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10051 if (!SWIG_IsOK(ecode2
)) {
10052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10054 arg2
= static_cast< int >(val2
);
10059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10070 if (! PySequence_Check(obj4
)) {
10071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10074 arg5
= new wxArrayString
;
10076 int i
, len
=PySequence_Length(obj4
);
10077 for (i
=0; i
<len
; i
++) {
10078 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10079 wxString
* s
= wxString_in_helper(item
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10088 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10089 if (!SWIG_IsOK(ecode6
)) {
10090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10092 arg6
= static_cast< long >(val6
);
10095 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10096 if (!SWIG_IsOK(res7
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10102 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10106 arg8
= wxString_in_helper(obj7
);
10107 if (arg8
== NULL
) SWIG_fail
;
10112 if (!wxPyCheckForApp()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10120 if (temp5
) delete arg5
;
10129 if (temp5
) delete arg5
;
10139 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 PyObject
*resultobj
= 0;
10141 wxCheckListBox
*result
= 0 ;
10143 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10145 if (!wxPyCheckForApp()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxCheckListBox
*)new wxCheckListBox();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10158 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= 0;
10160 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10161 wxWindow
*arg2
= (wxWindow
*) 0 ;
10162 int arg3
= (int) -1 ;
10163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10167 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10168 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10169 long arg7
= (long) 0 ;
10170 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10171 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10172 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10173 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10183 bool temp6
= false ;
10188 bool temp9
= false ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 PyObject
* obj2
= 0 ;
10192 PyObject
* obj3
= 0 ;
10193 PyObject
* obj4
= 0 ;
10194 PyObject
* obj5
= 0 ;
10195 PyObject
* obj6
= 0 ;
10196 PyObject
* obj7
= 0 ;
10197 PyObject
* obj8
= 0 ;
10198 char * kwnames
[] = {
10199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10204 if (!SWIG_IsOK(res1
)) {
10205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10207 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res2
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10215 if (!SWIG_IsOK(ecode3
)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10218 arg3
= static_cast< int >(val3
);
10223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10234 if (! PySequence_Check(obj5
)) {
10235 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10238 arg6
= new wxArrayString
;
10240 int i
, len
=PySequence_Length(obj5
);
10241 for (i
=0; i
<len
; i
++) {
10242 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10243 wxString
* s
= wxString_in_helper(item
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10252 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10253 if (!SWIG_IsOK(ecode7
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10256 arg7
= static_cast< long >(val7
);
10259 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10260 if (!SWIG_IsOK(res8
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10266 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10270 arg9
= wxString_in_helper(obj8
);
10271 if (arg9
== NULL
) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 if (temp6
) delete arg6
;
10294 if (temp6
) delete arg6
;
10304 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
= 0;
10306 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10307 unsigned int arg2
;
10311 unsigned int val2
;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char * kwnames
[] = {
10316 (char *) "self",(char *) "index", NULL
10319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10324 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10325 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10329 arg2
= static_cast< unsigned int >(val2
);
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)(arg1
)->IsChecked(arg2
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10345 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10348 unsigned int arg2
;
10349 int arg3
= (int) true ;
10352 unsigned int val2
;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "index",(char *) "check", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10369 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10373 arg2
= static_cast< unsigned int >(val2
);
10375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10376 if (!SWIG_IsOK(ecode3
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10379 arg3
= static_cast< int >(val3
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->Check(arg2
,arg3
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_Py_Void();
10394 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10406 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10411 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10412 PyObject
*pyobj
= 0;
10416 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10418 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10425 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxColour
const &arg1_defvalue
= wxNullColour
;
10428 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10429 wxColour
const &arg2_defvalue
= wxNullColour
;
10430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10431 wxFont
const &arg3_defvalue
= wxNullFont
;
10432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10433 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10434 wxTextAttr
*result
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10464 if (!SWIG_IsOK(res3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10470 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10474 if (!SWIG_IsOK(ecode4
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10477 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10492 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10505 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10533 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxTextAttr
*arg1
= 0 ;
10550 wxTextAttr
*arg2
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "base",(char *) "overlay", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10572 if (!SWIG_IsOK(res2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10592 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10595 wxColour
*arg2
= 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "colText", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10610 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_Py_Void();
10628 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10631 wxColour
*arg2
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "colBack", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10646 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_Py_Void();
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 long arg3
= (long) wxTEXT_ATTR_FONT
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "font",(char *) "flags", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10687 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10689 if (!SWIG_IsOK(res2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10695 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10698 if (!SWIG_IsOK(ecode3
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10701 arg3
= static_cast< long >(val3
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_Py_Void();
10716 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10719 wxTextAttrAlignment arg2
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "alignment", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10735 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10740 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetAlignment(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_Py_Void();
10754 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= 0;
10756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10757 wxArrayInt
*arg2
= 0 ;
10760 bool temp2
= false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "tabs", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10772 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10774 if (! PySequence_Check(obj1
)) {
10775 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10778 arg2
= new wxArrayInt
;
10780 int i
, len
=PySequence_Length(obj1
);
10781 for (i
=0; i
<len
; i
++) {
10782 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10783 PyObject
* number
= PyNumber_Int(item
);
10785 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10788 arg2
->Add(PyInt_AS_LONG(number
));
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= SWIG_Py_Void();
10801 if (temp2
) delete arg2
;
10806 if (temp2
) delete arg2
;
10812 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= 0;
10814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10816 int arg3
= (int) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 PyObject
* obj2
= 0 ;
10826 char * kwnames
[] = {
10827 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10832 if (!SWIG_IsOK(res1
)) {
10833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10835 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10837 if (!SWIG_IsOK(ecode2
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10840 arg2
= static_cast< int >(val2
);
10842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10843 if (!SWIG_IsOK(ecode3
)) {
10844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10846 arg3
= static_cast< int >(val3
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->SetLeftIndent(arg2
,arg3
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_Py_Void();
10861 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "self",(char *) "indent", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10880 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10882 if (!SWIG_IsOK(ecode2
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10885 arg2
= static_cast< int >(val2
);
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->SetRightIndent(arg2
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_Py_Void();
10899 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= 0;
10901 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 char * kwnames
[] = {
10910 (char *) "self",(char *) "flags", NULL
10913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10915 if (!SWIG_IsOK(res1
)) {
10916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10918 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10920 if (!SWIG_IsOK(ecode2
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10923 arg2
= static_cast< long >(val2
);
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 (arg1
)->SetFlags(arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= SWIG_Py_Void();
10937 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10938 PyObject
*resultobj
= 0;
10939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10943 PyObject
*swig_obj
[1] ;
10945 if (!args
) SWIG_fail
;
10946 swig_obj
[0] = args
;
10947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10951 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10968 PyObject
*resultobj
= 0;
10969 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10973 PyObject
*swig_obj
[1] ;
10975 if (!args
) SWIG_fail
;
10976 swig_obj
[0] = args
;
10977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10981 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10997 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10998 PyObject
*resultobj
= 0;
10999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11003 PyObject
*swig_obj
[1] ;
11005 if (!args
) SWIG_fail
;
11006 swig_obj
[0] = args
;
11007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11011 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11028 PyObject
*resultobj
= 0;
11029 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11033 PyObject
*swig_obj
[1] ;
11035 if (!args
) SWIG_fail
;
11036 swig_obj
[0] = args
;
11037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11041 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11058 PyObject
*resultobj
= 0;
11059 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11063 PyObject
*swig_obj
[1] ;
11065 if (!args
) SWIG_fail
;
11066 swig_obj
[0] = args
;
11067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11071 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11087 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 PyObject
*resultobj
= 0;
11089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11093 PyObject
*swig_obj
[1] ;
11095 if (!args
) SWIG_fail
;
11096 swig_obj
[0] = args
;
11097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11101 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11118 PyObject
*resultobj
= 0;
11119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11123 PyObject
*swig_obj
[1] ;
11125 if (!args
) SWIG_fail
;
11126 swig_obj
[0] = args
;
11127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11128 if (!SWIG_IsOK(res1
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11131 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "flag", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11167 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11172 arg2
= static_cast< long >(val2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 PyObject
*resultobj
= 0;
11190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11191 wxColour
*result
= 0 ;
11194 PyObject
*swig_obj
[1] ;
11196 if (!args
) SWIG_fail
;
11197 swig_obj
[0] = args
;
11198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11202 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11207 result
= (wxColour
*) &_result_ref
;
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11219 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11222 wxColour
*result
= 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11233 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11238 result
= (wxColour
*) &_result_ref
;
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11250 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11251 PyObject
*resultobj
= 0;
11252 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11253 wxFont
*result
= 0 ;
11256 PyObject
*swig_obj
[1] ;
11258 if (!args
) SWIG_fail
;
11259 swig_obj
[0] = args
;
11260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11264 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11269 result
= (wxFont
*) &_result_ref
;
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 wxFont
* resultptr
= new wxFont(*result
);
11276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11284 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11285 PyObject
*resultobj
= 0;
11286 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11287 wxTextAttrAlignment result
;
11290 PyObject
*swig_obj
[1] ;
11292 if (!args
) SWIG_fail
;
11293 swig_obj
[0] = args
;
11294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11298 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_From_int(static_cast< int >(result
));
11312 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 PyObject
*resultobj
= 0;
11314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11315 wxArrayInt
*result
= 0 ;
11318 PyObject
*swig_obj
[1] ;
11320 if (!args
) SWIG_fail
;
11321 swig_obj
[0] = args
;
11322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11323 if (!SWIG_IsOK(res1
)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11326 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11331 result
= (wxArrayInt
*) &_result_ref
;
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= wxArrayInt2PyList_helper(*result
);
11345 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11346 PyObject
*resultobj
= 0;
11347 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11351 PyObject
*swig_obj
[1] ;
11353 if (!args
) SWIG_fail
;
11354 swig_obj
[0] = args
;
11355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11359 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_From_long(static_cast< long >(result
));
11373 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11387 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_From_long(static_cast< long >(result
));
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11487 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxTextAttr
*arg1
= 0 ;
11490 wxTextAttr
*arg2
= 0 ;
11491 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 PyObject
* obj2
= 0 ;
11502 char * kwnames
[] = {
11503 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11507 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11514 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11516 if (!SWIG_IsOK(res2
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11522 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11523 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11524 if (!SWIG_IsOK(res3
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11527 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11541 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11544 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11545 return SWIG_Py_Void();
11548 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11549 return SWIG_Python_InitShadowInstance(args
);
11552 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxWindow
*arg1
= (wxWindow
*) 0 ;
11555 int arg2
= (int) -1 ;
11556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11562 long arg6
= (long) 0 ;
11563 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11564 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11565 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11566 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11567 wxTextCtrl
*result
= 0 ;
11572 bool temp3
= false ;
11579 bool temp8
= false ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 PyObject
* obj3
= 0 ;
11584 PyObject
* obj4
= 0 ;
11585 PyObject
* obj5
= 0 ;
11586 PyObject
* obj6
= 0 ;
11587 PyObject
* obj7
= 0 ;
11588 char * kwnames
[] = {
11589 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11600 if (!SWIG_IsOK(ecode2
)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11603 arg2
= static_cast< int >(val2
);
11607 arg3
= wxString_in_helper(obj2
);
11608 if (arg3
== NULL
) SWIG_fail
;
11615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11625 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11626 if (!SWIG_IsOK(ecode6
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11629 arg6
= static_cast< long >(val6
);
11632 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11633 if (!SWIG_IsOK(res7
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11639 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11643 arg8
= wxString_in_helper(obj7
);
11644 if (arg8
== NULL
) SWIG_fail
;
11649 if (!wxPyCheckForApp()) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11678 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxTextCtrl
*result
= 0 ;
11682 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11684 if (!wxPyCheckForApp()) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (wxTextCtrl
*)new wxTextCtrl();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11697 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
= 0;
11699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11700 wxWindow
*arg2
= (wxWindow
*) 0 ;
11701 int arg3
= (int) -1 ;
11702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11708 long arg7
= (long) 0 ;
11709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11711 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11720 bool temp4
= false ;
11727 bool temp9
= false ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 PyObject
* obj2
= 0 ;
11731 PyObject
* obj3
= 0 ;
11732 PyObject
* obj4
= 0 ;
11733 PyObject
* obj5
= 0 ;
11734 PyObject
* obj6
= 0 ;
11735 PyObject
* obj7
= 0 ;
11736 PyObject
* obj8
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11746 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11748 if (!SWIG_IsOK(res2
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11754 if (!SWIG_IsOK(ecode3
)) {
11755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11757 arg3
= static_cast< int >(val3
);
11761 arg4
= wxString_in_helper(obj3
);
11762 if (arg4
== NULL
) SWIG_fail
;
11769 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11775 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11779 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11780 if (!SWIG_IsOK(ecode7
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11783 arg7
= static_cast< long >(val7
);
11786 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11787 if (!SWIG_IsOK(res8
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11793 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11797 arg9
= wxString_in_helper(obj8
);
11798 if (arg9
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11833 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11867 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11870 wxString
*arg2
= 0 ;
11873 bool temp2
= false ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "value", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11887 arg2
= wxString_in_helper(obj1
);
11888 if (arg2
== NULL
) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetValue((wxString
const &)*arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11912 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11926 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
= 0;
11944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11945 wxString
*arg2
= 0 ;
11948 bool temp2
= false ;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "value", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11962 arg2
= wxString_in_helper(obj1
);
11963 if (arg2
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_Py_Void();
11987 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 char * kwnames
[] = {
12003 (char *) "self",(char *) "from",(char *) "to", NULL
12006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12008 if (!SWIG_IsOK(res1
)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12012 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12013 if (!SWIG_IsOK(ecode2
)) {
12014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12016 arg2
= static_cast< long >(val2
);
12017 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12018 if (!SWIG_IsOK(ecode3
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12021 arg3
= static_cast< long >(val3
);
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12041 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char * kwnames
[] = {
12053 (char *) "self",(char *) "lineNo", NULL
12056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12061 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12063 if (!SWIG_IsOK(ecode2
)) {
12064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12066 arg2
= static_cast< long >(val2
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_From_int(static_cast< int >(result
));
12080 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
= 0;
12082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char * kwnames
[] = {
12092 (char *) "self",(char *) "lineNo", NULL
12095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12102 if (!SWIG_IsOK(ecode2
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12105 arg2
= static_cast< long >(val2
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12125 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 PyObject
*resultobj
= 0;
12127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12131 PyObject
*swig_obj
[1] ;
12133 if (!args
) SWIG_fail
;
12134 swig_obj
[0] = args
;
12135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12136 if (!SWIG_IsOK(res1
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12139 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int(static_cast< int >(result
));
12153 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 PyObject
*resultobj
= 0;
12155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12159 PyObject
*swig_obj
[1] ;
12161 if (!args
) SWIG_fail
;
12162 swig_obj
[0] = args
;
12163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12167 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12189 PyObject
*swig_obj
[1] ;
12191 if (!args
) SWIG_fail
;
12192 swig_obj
[0] = args
;
12193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12197 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12219 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12243 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12244 PyObject
*resultobj
= 0;
12245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12249 PyObject
*swig_obj
[1] ;
12251 if (!args
) SWIG_fail
;
12252 swig_obj
[0] = args
;
12253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12254 if (!SWIG_IsOK(res1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12257 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12273 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12276 long *arg2
= (long *) 0 ;
12277 long *arg3
= (long *) 0 ;
12281 int res2
= SWIG_TMPOBJ
;
12283 int res3
= SWIG_TMPOBJ
;
12284 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12302 if (SWIG_IsTmpObj(res2
)) {
12303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12305 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12308 if (SWIG_IsTmpObj(res3
)) {
12309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12320 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12326 PyObject
*swig_obj
[1] ;
12328 if (!args
) SWIG_fail
;
12329 swig_obj
[0] = args
;
12330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12354 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12355 PyObject
*resultobj
= 0;
12356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12359 PyObject
*swig_obj
[1] ;
12361 if (!args
) SWIG_fail
;
12362 swig_obj
[0] = args
;
12363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12364 if (!SWIG_IsOK(res1
)) {
12365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12367 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_Py_Void();
12381 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
= 0;
12383 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12386 wxString
*arg4
= 0 ;
12393 bool temp4
= false ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 PyObject
* obj2
= 0 ;
12397 PyObject
* obj3
= 0 ;
12398 char * kwnames
[] = {
12399 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12408 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12409 if (!SWIG_IsOK(ecode2
)) {
12410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12412 arg2
= static_cast< long >(val2
);
12413 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12414 if (!SWIG_IsOK(ecode3
)) {
12415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12417 arg3
= static_cast< long >(val3
);
12419 arg4
= wxString_in_helper(obj3
);
12420 if (arg4
== NULL
) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 PyObject
* obj2
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "from",(char *) "to", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12469 if (!SWIG_IsOK(ecode2
)) {
12470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12472 arg2
= static_cast< long >(val2
);
12473 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12474 if (!SWIG_IsOK(ecode3
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12477 arg3
= static_cast< long >(val3
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->Remove(arg2
,arg3
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12494 wxString
*arg2
= 0 ;
12495 int arg3
= (int) wxTEXT_TYPE_ANY
;
12499 bool temp2
= false ;
12502 PyObject
* obj0
= 0 ;
12503 PyObject
* obj1
= 0 ;
12504 PyObject
* obj2
= 0 ;
12505 char * kwnames
[] = {
12506 (char *) "self",(char *) "file",(char *) "fileType", NULL
12509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12514 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12516 arg2
= wxString_in_helper(obj1
);
12517 if (arg2
== NULL
) SWIG_fail
;
12521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12522 if (!SWIG_IsOK(ecode3
)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12525 arg3
= static_cast< int >(val3
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12553 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12554 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12555 int arg3
= (int) wxTEXT_TYPE_ANY
;
12559 bool temp2
= false ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 PyObject
* obj2
= 0 ;
12565 char * kwnames
[] = {
12566 (char *) "self",(char *) "file",(char *) "fileType", NULL
12569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12574 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12577 arg2
= wxString_in_helper(obj1
);
12578 if (arg2
== NULL
) SWIG_fail
;
12583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12584 if (!SWIG_IsOK(ecode3
)) {
12585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12587 arg3
= static_cast< int >(val3
);
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12612 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12625 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->MarkDirty();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12640 PyObject
*resultobj
= 0;
12641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->DiscardEdits();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_Py_Void();
12666 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
= 0;
12668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 char * kwnames
[] = {
12677 (char *) "self",(char *) "modified", NULL
12680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12685 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12687 if (!SWIG_IsOK(ecode2
)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12690 arg2
= static_cast< bool >(val2
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 (arg1
)->SetModified(arg2
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_Py_Void();
12704 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
= 0;
12706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12707 unsigned long arg2
;
12710 unsigned long val2
;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 char * kwnames
[] = {
12715 (char *) "self",(char *) "len", NULL
12718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12723 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12724 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12725 if (!SWIG_IsOK(ecode2
)) {
12726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12728 arg2
= static_cast< unsigned long >(val2
);
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 (arg1
)->SetMaxLength(arg2
);
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= SWIG_Py_Void();
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12745 wxString
*arg2
= 0 ;
12748 bool temp2
= false ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "text", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12760 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12762 arg2
= wxString_in_helper(obj1
);
12763 if (arg2
== NULL
) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 (arg1
)->WriteText((wxString
const &)*arg2
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_Py_Void();
12787 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
= 0;
12789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12790 wxString
*arg2
= 0 ;
12793 bool temp2
= false ;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "self",(char *) "text", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12805 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->AppendText((wxString
const &)*arg2
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_Py_Void();
12832 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= 0;
12834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12835 wxKeyEvent
*arg2
= 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char * kwnames
[] = {
12844 (char *) "self",(char *) "event", NULL
12847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12849 if (!SWIG_IsOK(res1
)) {
12850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12852 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12854 if (!SWIG_IsOK(res2
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12860 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12876 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
= 0;
12878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12881 wxTextAttr
*arg4
= 0 ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 PyObject
* obj2
= 0 ;
12894 PyObject
* obj3
= 0 ;
12895 char * kwnames
[] = {
12896 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12906 if (!SWIG_IsOK(ecode2
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12909 arg2
= static_cast< long >(val2
);
12910 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12911 if (!SWIG_IsOK(ecode3
)) {
12912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12914 arg3
= static_cast< long >(val3
);
12915 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12916 if (!SWIG_IsOK(res4
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12922 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12938 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= 0;
12940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12942 wxTextAttr
*arg3
= 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "self",(char *) "position",(char *) "style", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12967 arg2
= static_cast< long >(val2
);
12968 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12969 if (!SWIG_IsOK(res3
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12975 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12994 wxTextAttr
*arg2
= 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "style", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13013 if (!SWIG_IsOK(res2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13019 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13035 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13036 PyObject
*resultobj
= 0;
13037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13038 wxTextAttr
*result
= 0 ;
13041 PyObject
*swig_obj
[1] ;
13043 if (!args
) SWIG_fail
;
13044 swig_obj
[0] = args
;
13045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13046 if (!SWIG_IsOK(res1
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13054 result
= (wxTextAttr
*) &_result_ref
;
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13066 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "x",(char *) "y", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13090 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13092 if (!SWIG_IsOK(ecode2
)) {
13093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13095 arg2
= static_cast< long >(val2
);
13096 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13097 if (!SWIG_IsOK(ecode3
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13100 arg3
= static_cast< long >(val3
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_From_long(static_cast< long >(result
));
13114 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
= 0;
13116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13118 long *arg3
= (long *) 0 ;
13119 long *arg4
= (long *) 0 ;
13125 int res3
= SWIG_TMPOBJ
;
13127 int res4
= SWIG_TMPOBJ
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "pos", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13141 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13143 if (!SWIG_IsOK(ecode2
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13146 arg2
= static_cast< long >(val2
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_Py_Void();
13154 if (SWIG_IsTmpObj(res3
)) {
13155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13160 if (SWIG_IsTmpObj(res4
)) {
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13172 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
= 0;
13174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char * kwnames
[] = {
13183 (char *) "self",(char *) "pos", NULL
13186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13191 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13193 if (!SWIG_IsOK(ecode2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13196 arg2
= static_cast< long >(val2
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->ShowPosition(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_Py_Void();
13210 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
= 0;
13212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13213 wxPoint
*arg2
= 0 ;
13214 long *arg3
= (long *) 0 ;
13215 long *arg4
= (long *) 0 ;
13216 wxTextCtrlHitTestResult result
;
13221 int res3
= SWIG_TMPOBJ
;
13223 int res4
= SWIG_TMPOBJ
;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char * kwnames
[] = {
13227 (char *) "self",(char *) "pt", NULL
13232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_From_int(static_cast< int >(result
));
13249 if (SWIG_IsTmpObj(res3
)) {
13250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13255 if (SWIG_IsTmpObj(res4
)) {
13256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13258 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13267 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13270 wxPoint
*arg2
= 0 ;
13271 long *arg3
= (long *) 0 ;
13272 wxTextCtrlHitTestResult result
;
13277 int res3
= SWIG_TMPOBJ
;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char * kwnames
[] = {
13281 (char *) "self",(char *) "pt", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_From_int(static_cast< int >(result
));
13302 if (SWIG_IsTmpObj(res3
)) {
13303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13314 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13315 PyObject
*resultobj
= 0;
13316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13327 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_Py_Void();
13341 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13354 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13431 PyObject
*swig_obj
[1] ;
13433 if (!args
) SWIG_fail
;
13434 swig_obj
[0] = args
;
13435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13461 PyObject
*swig_obj
[1] ;
13463 if (!args
) SWIG_fail
;
13464 swig_obj
[0] = args
;
13465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13469 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13485 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13498 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13525 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_Py_Void();
13539 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13540 PyObject
*resultobj
= 0;
13541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13545 PyObject
*swig_obj
[1] ;
13547 if (!args
) SWIG_fail
;
13548 swig_obj
[0] = args
;
13549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13550 if (!SWIG_IsOK(res1
)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13553 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13570 PyObject
*resultobj
= 0;
13571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13575 PyObject
*swig_obj
[1] ;
13577 if (!args
) SWIG_fail
;
13578 swig_obj
[0] = args
;
13579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13599 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "self",(char *) "pos", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13615 if (!SWIG_IsOK(res1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13618 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13620 if (!SWIG_IsOK(ecode2
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13623 arg2
= static_cast< long >(val2
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 (arg1
)->SetInsertionPoint(arg2
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_Py_Void();
13637 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13638 PyObject
*resultobj
= 0;
13639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13642 PyObject
*swig_obj
[1] ;
13644 if (!args
) SWIG_fail
;
13645 swig_obj
[0] = args
;
13646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13647 if (!SWIG_IsOK(res1
)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->SetInsertionPointEnd();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_Py_Void();
13664 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13665 PyObject
*resultobj
= 0;
13666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13670 PyObject
*swig_obj
[1] ;
13672 if (!args
) SWIG_fail
;
13673 swig_obj
[0] = args
;
13674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_From_long(static_cast< long >(result
));
13692 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13693 PyObject
*resultobj
= 0;
13694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13698 PyObject
*swig_obj
[1] ;
13700 if (!args
) SWIG_fail
;
13701 swig_obj
[0] = args
;
13702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_From_long(static_cast< long >(result
));
13720 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "self",(char *) "from",(char *) "to", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13743 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13744 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13745 if (!SWIG_IsOK(ecode2
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13748 arg2
= static_cast< long >(val2
);
13749 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13750 if (!SWIG_IsOK(ecode3
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13753 arg3
= static_cast< long >(val3
);
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 (arg1
)->SetSelection(arg2
,arg3
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_Py_Void();
13767 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 PyObject
*resultobj
= 0;
13769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13772 PyObject
*swig_obj
[1] ;
13774 if (!args
) SWIG_fail
;
13775 swig_obj
[0] = args
;
13776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13780 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 (arg1
)->SelectAll();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_Py_Void();
13794 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
= 0;
13796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "self",(char *) "editable", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13810 if (!SWIG_IsOK(res1
)) {
13811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13813 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13815 if (!SWIG_IsOK(ecode2
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13818 arg2
= static_cast< bool >(val2
);
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetEditable(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_Py_Void();
13832 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
= 0;
13834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "check", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13851 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13852 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13853 if (!SWIG_IsOK(ecode2
)) {
13854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13856 arg2
= static_cast< bool >(val2
);
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->MacCheckSpelling(arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_Py_Void();
13870 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13871 PyObject
*resultobj
= 0;
13872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13875 PyObject
*swig_obj
[1] ;
13877 if (!args
) SWIG_fail
;
13878 swig_obj
[0] = args
;
13879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13880 if (!SWIG_IsOK(res1
)) {
13881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13883 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 (arg1
)->SendTextUpdatedEvent();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_Py_Void();
13897 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
= 0;
13899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13900 wxString
*arg2
= 0 ;
13903 bool temp2
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "text", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13942 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= 0;
13944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 char * kwnames
[] = {
13958 (char *) "self",(char *) "from",(char *) "to", NULL
13961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13966 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13968 if (!SWIG_IsOK(ecode2
)) {
13969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13971 arg2
= static_cast< long >(val2
);
13972 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13973 if (!SWIG_IsOK(ecode3
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13976 arg3
= static_cast< long >(val3
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13996 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13999 SwigValueWrapper
<wxVisualAttributes
> result
;
14002 PyObject
* obj0
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "variant", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14010 if (!SWIG_IsOK(ecode1
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14013 arg1
= static_cast< wxWindowVariant
>(val1
);
14016 if (!wxPyCheckForApp()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14029 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14032 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14033 return SWIG_Py_Void();
14036 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 return SWIG_Python_InitShadowInstance(args
);
14040 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
= 0;
14043 wxMouseEvent
*arg2
= 0 ;
14046 wxTextUrlEvent
*result
= 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 PyObject
* obj3
= 0 ;
14059 char * kwnames
[] = {
14060 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14065 if (!SWIG_IsOK(ecode1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14068 arg1
= static_cast< int >(val1
);
14069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14070 if (!SWIG_IsOK(res2
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14076 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14077 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14078 if (!SWIG_IsOK(ecode3
)) {
14079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14081 arg3
= static_cast< long >(val3
);
14082 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14083 if (!SWIG_IsOK(ecode4
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14086 arg4
= static_cast< long >(val4
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14100 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14102 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14103 wxMouseEvent
*result
= 0 ;
14106 PyObject
*swig_obj
[1] ;
14108 if (!args
) SWIG_fail
;
14109 swig_obj
[0] = args
;
14110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14114 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14119 result
= (wxMouseEvent
*) &_result_ref
;
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14131 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 PyObject
*resultobj
= 0;
14133 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14137 PyObject
*swig_obj
[1] ;
14139 if (!args
) SWIG_fail
;
14140 swig_obj
[0] = args
;
14141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14145 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_From_long(static_cast< long >(result
));
14159 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14161 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14173 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_From_long(static_cast< long >(result
));
14187 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14190 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14191 return SWIG_Py_Void();
14194 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 return SWIG_Python_InitShadowInstance(args
);
14198 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14199 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14204 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14205 PyObject
*pyobj
= 0;
14209 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14218 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxWindow
*arg1
= (wxWindow
*) 0 ;
14221 int arg2
= (int) -1 ;
14222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14226 long arg5
= (long) wxSB_HORIZONTAL
;
14227 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14228 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14229 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14231 wxScrollBar
*result
= 0 ;
14242 bool temp7
= false ;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 PyObject
* obj2
= 0 ;
14246 PyObject
* obj3
= 0 ;
14247 PyObject
* obj4
= 0 ;
14248 PyObject
* obj5
= 0 ;
14249 PyObject
* obj6
= 0 ;
14250 char * kwnames
[] = {
14251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14259 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14262 if (!SWIG_IsOK(ecode2
)) {
14263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14265 arg2
= static_cast< int >(val2
);
14270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14281 if (!SWIG_IsOK(ecode5
)) {
14282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14284 arg5
= static_cast< long >(val5
);
14287 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14288 if (!SWIG_IsOK(res6
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14294 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14298 arg7
= wxString_in_helper(obj6
);
14299 if (arg7
== NULL
) SWIG_fail
;
14304 if (!wxPyCheckForApp()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14325 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxScrollBar
*result
= 0 ;
14329 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14331 if (!wxPyCheckForApp()) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (wxScrollBar
*)new wxScrollBar();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14344 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= 0;
14346 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14347 wxWindow
*arg2
= (wxWindow
*) 0 ;
14348 int arg3
= (int) -1 ;
14349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14353 long arg6
= (long) wxSB_HORIZONTAL
;
14354 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14355 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14356 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14371 bool temp8
= false ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 PyObject
* obj2
= 0 ;
14375 PyObject
* obj3
= 0 ;
14376 PyObject
* obj4
= 0 ;
14377 PyObject
* obj5
= 0 ;
14378 PyObject
* obj6
= 0 ;
14379 PyObject
* obj7
= 0 ;
14380 char * kwnames
[] = {
14381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14389 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14391 if (!SWIG_IsOK(res2
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14397 if (!SWIG_IsOK(ecode3
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14400 arg3
= static_cast< int >(val3
);
14405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14415 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14416 if (!SWIG_IsOK(ecode6
)) {
14417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14419 arg6
= static_cast< long >(val6
);
14422 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14423 if (!SWIG_IsOK(res7
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14429 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14433 arg8
= wxString_in_helper(obj7
);
14434 if (arg8
== NULL
) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14462 PyObject
*resultobj
= 0;
14463 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14467 PyObject
*swig_obj
[1] ;
14469 if (!args
) SWIG_fail
;
14470 swig_obj
[0] = args
;
14471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14472 if (!SWIG_IsOK(res1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14475 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_From_int(static_cast< int >(result
));
14489 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14490 PyObject
*resultobj
= 0;
14491 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14495 PyObject
*swig_obj
[1] ;
14497 if (!args
) SWIG_fail
;
14498 swig_obj
[0] = args
;
14499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14503 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_From_int(static_cast< int >(result
));
14517 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14518 PyObject
*resultobj
= 0;
14519 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14523 PyObject
*swig_obj
[1] ;
14525 if (!args
) SWIG_fail
;
14526 swig_obj
[0] = args
;
14527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14531 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int(static_cast< int >(result
));
14545 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14559 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_From_int(static_cast< int >(result
));
14573 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14574 PyObject
*resultobj
= 0;
14575 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14579 PyObject
*swig_obj
[1] ;
14581 if (!args
) SWIG_fail
;
14582 swig_obj
[0] = args
;
14583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14584 if (!SWIG_IsOK(res1
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14587 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= 0;
14605 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "viewStart", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14622 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14624 if (!SWIG_IsOK(ecode2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14627 arg2
= static_cast< int >(val2
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->SetThumbPosition(arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_Py_Void();
14641 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= 0;
14643 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14644 SwigValueWrapper
<wxVisualAttributes
> result
;
14647 PyObject
* obj0
= 0 ;
14648 char * kwnames
[] = {
14649 (char *) "variant", NULL
14652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14655 if (!SWIG_IsOK(ecode1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14658 arg1
= static_cast< wxWindowVariant
>(val1
);
14661 if (!wxPyCheckForApp()) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14674 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14677 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14678 return SWIG_Py_Void();
14681 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 return SWIG_Python_InitShadowInstance(args
);
14685 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14686 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14691 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14692 PyObject
*pyobj
= 0;
14696 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14698 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14705 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14706 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14711 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14712 PyObject
*pyobj
= 0;
14716 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14718 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14725 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxWindow
*arg1
= (wxWindow
*) 0 ;
14728 int arg2
= (int) -1 ;
14729 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14730 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14731 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14732 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14733 long arg5
= (long) wxSP_HORIZONTAL
;
14734 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14735 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14736 wxSpinButton
*result
= 0 ;
14745 bool temp6
= false ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 PyObject
* obj4
= 0 ;
14751 PyObject
* obj5
= 0 ;
14752 char * kwnames
[] = {
14753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14764 if (!SWIG_IsOK(ecode2
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14767 arg2
= static_cast< int >(val2
);
14772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14782 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14783 if (!SWIG_IsOK(ecode5
)) {
14784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14786 arg5
= static_cast< long >(val5
);
14790 arg6
= wxString_in_helper(obj5
);
14791 if (arg6
== NULL
) SWIG_fail
;
14796 if (!wxPyCheckForApp()) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14817 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 PyObject
*resultobj
= 0;
14819 wxSpinButton
*result
= 0 ;
14821 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14823 if (!wxPyCheckForApp()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxSpinButton
*)new wxSpinButton();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14836 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
= 0;
14838 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14839 wxWindow
*arg2
= (wxWindow
*) 0 ;
14840 int arg3
= (int) -1 ;
14841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14845 long arg6
= (long) wxSP_HORIZONTAL
;
14846 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14859 bool temp7
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 PyObject
* obj3
= 0 ;
14864 PyObject
* obj4
= 0 ;
14865 PyObject
* obj5
= 0 ;
14866 PyObject
* obj6
= 0 ;
14867 char * kwnames
[] = {
14868 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14876 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14878 if (!SWIG_IsOK(res2
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14884 if (!SWIG_IsOK(ecode3
)) {
14885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14887 arg3
= static_cast< int >(val3
);
14892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14903 if (!SWIG_IsOK(ecode6
)) {
14904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14906 arg6
= static_cast< long >(val6
);
14910 arg7
= wxString_in_helper(obj6
);
14911 if (arg7
== NULL
) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14938 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14939 PyObject
*resultobj
= 0;
14940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14944 PyObject
*swig_obj
[1] ;
14946 if (!args
) SWIG_fail
;
14947 swig_obj
[0] = args
;
14948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14949 if (!SWIG_IsOK(res1
)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14952 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= SWIG_From_int(static_cast< int >(result
));
14966 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14967 PyObject
*resultobj
= 0;
14968 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14972 PyObject
*swig_obj
[1] ;
14974 if (!args
) SWIG_fail
;
14975 swig_obj
[0] = args
;
14976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14980 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= SWIG_From_int(static_cast< int >(result
));
14994 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14995 PyObject
*resultobj
= 0;
14996 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15000 PyObject
*swig_obj
[1] ;
15002 if (!args
) SWIG_fail
;
15003 swig_obj
[0] = args
;
15004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15008 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int(static_cast< int >(result
));
15022 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char * kwnames
[] = {
15033 (char *) "self",(char *) "val", NULL
15036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15038 if (!SWIG_IsOK(res1
)) {
15039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15041 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15043 if (!SWIG_IsOK(ecode2
)) {
15044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15046 arg2
= static_cast< int >(val2
);
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 (arg1
)->SetValue(arg2
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_Py_Void();
15060 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
= 0;
15062 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 PyObject
* obj1
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "self",(char *) "minVal", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15079 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15081 if (!SWIG_IsOK(ecode2
)) {
15082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15084 arg2
= static_cast< int >(val2
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 (arg1
)->SetMin(arg2
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_Py_Void();
15098 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "maxVal", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15117 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15119 if (!SWIG_IsOK(ecode2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15122 arg2
= static_cast< int >(val2
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetMax(arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_Py_Void();
15136 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
= 0;
15138 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char * kwnames
[] = {
15151 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15159 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15161 if (!SWIG_IsOK(ecode2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15164 arg2
= static_cast< int >(val2
);
15165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15166 if (!SWIG_IsOK(ecode3
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15169 arg3
= static_cast< int >(val3
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->SetRange(arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_Py_Void();
15183 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15197 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15216 SwigValueWrapper
<wxVisualAttributes
> result
;
15219 PyObject
* obj0
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "variant", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15227 if (!SWIG_IsOK(ecode1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15230 arg1
= static_cast< wxWindowVariant
>(val1
);
15233 if (!wxPyCheckForApp()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15246 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15249 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15250 return SWIG_Py_Void();
15253 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15254 return SWIG_Python_InitShadowInstance(args
);
15257 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
= 0;
15259 wxWindow
*arg1
= (wxWindow
*) 0 ;
15260 int arg2
= (int) -1 ;
15261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15267 long arg6
= (long) wxSP_ARROW_KEYS
;
15268 int arg7
= (int) 0 ;
15269 int arg8
= (int) 100 ;
15270 int arg9
= (int) 0 ;
15271 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15272 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15273 wxSpinCtrl
*result
= 0 ;
15278 bool temp3
= false ;
15289 bool temp10
= false ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 PyObject
* obj2
= 0 ;
15293 PyObject
* obj3
= 0 ;
15294 PyObject
* obj4
= 0 ;
15295 PyObject
* obj5
= 0 ;
15296 PyObject
* obj6
= 0 ;
15297 PyObject
* obj7
= 0 ;
15298 PyObject
* obj8
= 0 ;
15299 PyObject
* obj9
= 0 ;
15300 char * kwnames
[] = {
15301 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15312 if (!SWIG_IsOK(ecode2
)) {
15313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15315 arg2
= static_cast< int >(val2
);
15319 arg3
= wxString_in_helper(obj2
);
15320 if (arg3
== NULL
) SWIG_fail
;
15327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15338 if (!SWIG_IsOK(ecode6
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15341 arg6
= static_cast< long >(val6
);
15344 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15345 if (!SWIG_IsOK(ecode7
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15348 arg7
= static_cast< int >(val7
);
15351 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15352 if (!SWIG_IsOK(ecode8
)) {
15353 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15355 arg8
= static_cast< int >(val8
);
15358 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15359 if (!SWIG_IsOK(ecode9
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15362 arg9
= static_cast< int >(val9
);
15366 arg10
= wxString_in_helper(obj9
);
15367 if (arg10
== NULL
) SWIG_fail
;
15372 if (!wxPyCheckForApp()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15401 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 PyObject
*resultobj
= 0;
15403 wxSpinCtrl
*result
= 0 ;
15405 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15407 if (!wxPyCheckForApp()) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15420 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15423 wxWindow
*arg2
= (wxWindow
*) 0 ;
15424 int arg3
= (int) -1 ;
15425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15427 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15428 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15429 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15430 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15431 long arg7
= (long) wxSP_ARROW_KEYS
;
15432 int arg8
= (int) 0 ;
15433 int arg9
= (int) 100 ;
15434 int arg10
= (int) 0 ;
15435 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15436 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15444 bool temp4
= false ;
15455 bool temp11
= false ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 PyObject
* obj2
= 0 ;
15459 PyObject
* obj3
= 0 ;
15460 PyObject
* obj4
= 0 ;
15461 PyObject
* obj5
= 0 ;
15462 PyObject
* obj6
= 0 ;
15463 PyObject
* obj7
= 0 ;
15464 PyObject
* obj8
= 0 ;
15465 PyObject
* obj9
= 0 ;
15466 PyObject
* obj10
= 0 ;
15467 char * kwnames
[] = {
15468 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15476 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15478 if (!SWIG_IsOK(res2
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15484 if (!SWIG_IsOK(ecode3
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15487 arg3
= static_cast< int >(val3
);
15491 arg4
= wxString_in_helper(obj3
);
15492 if (arg4
== NULL
) SWIG_fail
;
15499 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15505 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15509 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15510 if (!SWIG_IsOK(ecode7
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15513 arg7
= static_cast< long >(val7
);
15516 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15517 if (!SWIG_IsOK(ecode8
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15520 arg8
= static_cast< int >(val8
);
15523 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15524 if (!SWIG_IsOK(ecode9
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15527 arg9
= static_cast< int >(val9
);
15530 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15531 if (!SWIG_IsOK(ecode10
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15534 arg10
= static_cast< int >(val10
);
15538 arg11
= wxString_in_helper(obj10
);
15539 if (arg11
== NULL
) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15576 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15580 PyObject
*swig_obj
[1] ;
15582 if (!args
) SWIG_fail
;
15583 swig_obj
[0] = args
;
15584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15588 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_From_int(static_cast< int >(result
));
15602 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= 0;
15604 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "self",(char *) "value", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15621 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15623 if (!SWIG_IsOK(ecode2
)) {
15624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15626 arg2
= static_cast< int >(val2
);
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 (arg1
)->SetValue(arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_Py_Void();
15640 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
= 0;
15642 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15643 wxString
*arg2
= 0 ;
15646 bool temp2
= false ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 char * kwnames
[] = {
15650 (char *) "self",(char *) "text", NULL
15653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15658 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15660 arg2
= wxString_in_helper(obj1
);
15661 if (arg2
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 (arg1
)->SetValue((wxString
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_Py_Void();
15685 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
= 0;
15687 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 char * kwnames
[] = {
15700 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15708 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15710 if (!SWIG_IsOK(ecode2
)) {
15711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15713 arg2
= static_cast< int >(val2
);
15714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15715 if (!SWIG_IsOK(ecode3
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15718 arg3
= static_cast< int >(val3
);
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 (arg1
)->SetRange(arg2
,arg3
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_Py_Void();
15732 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15738 PyObject
*swig_obj
[1] ;
15740 if (!args
) SWIG_fail
;
15741 swig_obj
[0] = args
;
15742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15746 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_From_int(static_cast< int >(result
));
15760 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15774 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_From_int(static_cast< int >(result
));
15788 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char * kwnames
[] = {
15803 (char *) "self",(char *) "from",(char *) "to", NULL
15806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15811 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15813 if (!SWIG_IsOK(ecode2
)) {
15814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15816 arg2
= static_cast< long >(val2
);
15817 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15818 if (!SWIG_IsOK(ecode3
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15821 arg3
= static_cast< long >(val3
);
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->SetSelection(arg2
,arg3
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_Py_Void();
15835 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
= 0;
15837 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15838 SwigValueWrapper
<wxVisualAttributes
> result
;
15841 PyObject
* obj0
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "variant", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15849 if (!SWIG_IsOK(ecode1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15852 arg1
= static_cast< wxWindowVariant
>(val1
);
15855 if (!wxPyCheckForApp()) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15868 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15871 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15872 return SWIG_Py_Void();
15875 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 return SWIG_Python_InitShadowInstance(args
);
15879 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
= 0;
15881 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15882 int arg2
= (int) 0 ;
15883 wxSpinEvent
*result
= 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char * kwnames
[] = {
15891 (char *) "commandType",(char *) "winid", NULL
15894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15896 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15897 if (!SWIG_IsOK(ecode1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15900 arg1
= static_cast< wxEventType
>(val1
);
15903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15904 if (!SWIG_IsOK(ecode2
)) {
15905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15907 arg2
= static_cast< int >(val2
);
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15922 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15923 PyObject
*resultobj
= 0;
15924 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15928 PyObject
*swig_obj
[1] ;
15930 if (!args
) SWIG_fail
;
15931 swig_obj
[0] = args
;
15932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15936 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_From_int(static_cast< int >(result
));
15950 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char * kwnames
[] = {
15961 (char *) "self",(char *) "pos", NULL
15964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15969 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15971 if (!SWIG_IsOK(ecode2
)) {
15972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15974 arg2
= static_cast< int >(val2
);
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->SetPosition(arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_Py_Void();
15988 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15991 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15992 return SWIG_Py_Void();
15995 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 return SWIG_Python_InitShadowInstance(args
);
15999 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16000 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16005 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16006 PyObject
*pyobj
= 0;
16010 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16012 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16019 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16020 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16025 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16026 PyObject
*pyobj
= 0;
16030 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16032 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16039 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
= 0;
16041 wxWindow
*arg1
= (wxWindow
*) 0 ;
16042 int arg2
= (int) -1 ;
16043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16049 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16050 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16051 int arg7
= (int) 0 ;
16052 long arg8
= (long) wxRA_HORIZONTAL
;
16053 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16054 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16055 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16056 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16057 wxRadioBox
*result
= 0 ;
16062 bool temp3
= false ;
16065 bool temp6
= false ;
16072 bool temp10
= false ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 PyObject
* obj2
= 0 ;
16076 PyObject
* obj3
= 0 ;
16077 PyObject
* obj4
= 0 ;
16078 PyObject
* obj5
= 0 ;
16079 PyObject
* obj6
= 0 ;
16080 PyObject
* obj7
= 0 ;
16081 PyObject
* obj8
= 0 ;
16082 PyObject
* obj9
= 0 ;
16083 char * kwnames
[] = {
16084 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16095 if (!SWIG_IsOK(ecode2
)) {
16096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16098 arg2
= static_cast< int >(val2
);
16102 arg3
= wxString_in_helper(obj2
);
16103 if (arg3
== NULL
) SWIG_fail
;
16110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16121 if (! PySequence_Check(obj5
)) {
16122 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16125 arg6
= new wxArrayString
;
16127 int i
, len
=PySequence_Length(obj5
);
16128 for (i
=0; i
<len
; i
++) {
16129 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16130 wxString
* s
= wxString_in_helper(item
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16139 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16140 if (!SWIG_IsOK(ecode7
)) {
16141 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16143 arg7
= static_cast< int >(val7
);
16146 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16147 if (!SWIG_IsOK(ecode8
)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16150 arg8
= static_cast< long >(val8
);
16153 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16154 if (!SWIG_IsOK(res9
)) {
16155 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16160 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16164 arg10
= wxString_in_helper(obj9
);
16165 if (arg10
== NULL
) SWIG_fail
;
16170 if (!wxPyCheckForApp()) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 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
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16182 if (temp6
) delete arg6
;
16195 if (temp6
) delete arg6
;
16205 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16206 PyObject
*resultobj
= 0;
16207 wxRadioBox
*result
= 0 ;
16209 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16211 if (!wxPyCheckForApp()) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxRadioBox
*)new wxRadioBox();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16224 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= 0;
16226 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16227 wxWindow
*arg2
= (wxWindow
*) 0 ;
16228 int arg3
= (int) -1 ;
16229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16235 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16236 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16237 int arg8
= (int) 0 ;
16238 long arg9
= (long) wxRA_HORIZONTAL
;
16239 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16240 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16241 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16242 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16250 bool temp4
= false ;
16253 bool temp7
= false ;
16260 bool temp11
= false ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 PyObject
* obj2
= 0 ;
16264 PyObject
* obj3
= 0 ;
16265 PyObject
* obj4
= 0 ;
16266 PyObject
* obj5
= 0 ;
16267 PyObject
* obj6
= 0 ;
16268 PyObject
* obj7
= 0 ;
16269 PyObject
* obj8
= 0 ;
16270 PyObject
* obj9
= 0 ;
16271 PyObject
* obj10
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16283 if (!SWIG_IsOK(res2
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16289 if (!SWIG_IsOK(ecode3
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16292 arg3
= static_cast< int >(val3
);
16296 arg4
= wxString_in_helper(obj3
);
16297 if (arg4
== NULL
) SWIG_fail
;
16304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16315 if (! PySequence_Check(obj6
)) {
16316 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16319 arg7
= new wxArrayString
;
16321 int i
, len
=PySequence_Length(obj6
);
16322 for (i
=0; i
<len
; i
++) {
16323 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16324 wxString
* s
= wxString_in_helper(item
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16333 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16334 if (!SWIG_IsOK(ecode8
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16337 arg8
= static_cast< int >(val8
);
16340 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16341 if (!SWIG_IsOK(ecode9
)) {
16342 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16344 arg9
= static_cast< long >(val9
);
16347 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16348 if (!SWIG_IsOK(res10
)) {
16349 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16354 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16358 arg11
= wxString_in_helper(obj10
);
16359 if (arg11
== NULL
) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 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
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 if (temp7
) delete arg7
;
16390 if (temp7
) delete arg7
;
16400 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "n", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16419 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16421 if (!SWIG_IsOK(ecode2
)) {
16422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16424 arg2
= static_cast< int >(val2
);
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 (arg1
)->SetSelection(arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_Py_Void();
16438 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16444 PyObject
*swig_obj
[1] ;
16446 if (!args
) SWIG_fail
;
16447 swig_obj
[0] = args
;
16448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16452 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_From_int(static_cast< int >(result
));
16466 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16467 PyObject
*resultobj
= 0;
16468 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16472 PyObject
*swig_obj
[1] ;
16474 if (!args
) SWIG_fail
;
16475 swig_obj
[0] = args
;
16476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16480 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16500 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16503 wxString
*arg2
= 0 ;
16507 bool temp2
= false ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 char * kwnames
[] = {
16511 (char *) "self",(char *) "s", NULL
16514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16516 if (!SWIG_IsOK(res1
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16519 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16521 arg2
= wxString_in_helper(obj1
);
16522 if (arg2
== NULL
) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16554 PyObject
*swig_obj
[1] ;
16556 if (!args
) SWIG_fail
;
16557 swig_obj
[0] = args
;
16558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16562 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16576 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16579 wxString
*arg2
= 0 ;
16583 bool temp2
= false ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "s", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16597 arg2
= wxString_in_helper(obj1
);
16598 if (arg2
== NULL
) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_From_int(static_cast< int >(result
));
16622 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 char * kwnames
[] = {
16634 (char *) "self",(char *) "n", NULL
16637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16639 if (!SWIG_IsOK(res1
)) {
16640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16642 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16644 if (!SWIG_IsOK(ecode2
)) {
16645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16647 arg2
= static_cast< int >(val2
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16667 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
= 0;
16669 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16671 wxString
*arg3
= 0 ;
16676 bool temp3
= false ;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 PyObject
* obj2
= 0 ;
16680 char * kwnames
[] = {
16681 (char *) "self",(char *) "n",(char *) "label", NULL
16684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16686 if (!SWIG_IsOK(res1
)) {
16687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16689 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16691 if (!SWIG_IsOK(ecode2
)) {
16692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16694 arg2
= static_cast< int >(val2
);
16696 arg3
= wxString_in_helper(obj2
);
16697 if (arg3
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_Py_Void();
16721 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16724 unsigned int arg2
;
16725 bool arg3
= (bool) true ;
16728 unsigned int val2
;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "self",(char *) "n",(char *) "enable", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16744 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16745 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16746 if (!SWIG_IsOK(ecode2
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16749 arg2
= static_cast< unsigned int >(val2
);
16751 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16752 if (!SWIG_IsOK(ecode3
)) {
16753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16755 arg3
= static_cast< bool >(val3
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->Enable(arg2
,arg3
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_Py_Void();
16770 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
= 0;
16772 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16773 unsigned int arg2
;
16774 bool arg3
= (bool) true ;
16777 unsigned int val2
;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 PyObject
* obj2
= 0 ;
16784 char * kwnames
[] = {
16785 (char *) "self",(char *) "n",(char *) "show", NULL
16788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16793 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16794 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16795 if (!SWIG_IsOK(ecode2
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16798 arg2
= static_cast< unsigned int >(val2
);
16800 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16801 if (!SWIG_IsOK(ecode3
)) {
16802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16804 arg3
= static_cast< bool >(val3
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->Show(arg2
,arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_Py_Void();
16819 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16822 unsigned int arg2
;
16826 unsigned int val2
;
16828 PyObject
* obj0
= 0 ;
16829 PyObject
* obj1
= 0 ;
16830 char * kwnames
[] = {
16831 (char *) "self",(char *) "n", NULL
16834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16836 if (!SWIG_IsOK(res1
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16839 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16840 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16841 if (!SWIG_IsOK(ecode2
)) {
16842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16844 arg2
= static_cast< unsigned int >(val2
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16860 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16863 unsigned int arg2
;
16867 unsigned int val2
;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "n", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16880 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16881 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16882 if (!SWIG_IsOK(ecode2
)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16885 arg2
= static_cast< unsigned int >(val2
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16901 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16902 PyObject
*resultobj
= 0;
16903 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16904 unsigned int result
;
16907 PyObject
*swig_obj
[1] ;
16909 if (!args
) SWIG_fail
;
16910 swig_obj
[0] = args
;
16911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16912 if (!SWIG_IsOK(res1
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16915 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16929 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16930 PyObject
*resultobj
= 0;
16931 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16932 unsigned int result
;
16935 PyObject
*swig_obj
[1] ;
16937 if (!args
) SWIG_fail
;
16938 swig_obj
[0] = args
;
16939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16943 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16957 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= 0;
16959 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 PyObject
* obj2
= 0 ;
16975 PyObject
* obj3
= 0 ;
16976 char * kwnames
[] = {
16977 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16985 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16987 if (!SWIG_IsOK(ecode2
)) {
16988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16990 arg2
= static_cast< int >(val2
);
16991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16992 if (!SWIG_IsOK(ecode3
)) {
16993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16995 arg3
= static_cast< wxDirection
>(val3
);
16996 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16997 if (!SWIG_IsOK(ecode4
)) {
16998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17000 arg4
= static_cast< long >(val4
);
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= SWIG_From_int(static_cast< int >(result
));
17014 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
= 0;
17016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17017 unsigned int arg2
;
17018 wxString
*arg3
= 0 ;
17021 unsigned int val2
;
17023 bool temp3
= false ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 PyObject
* obj2
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "item",(char *) "text", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17036 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17037 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17038 if (!SWIG_IsOK(ecode2
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17041 arg2
= static_cast< unsigned int >(val2
);
17043 arg3
= wxString_in_helper(obj2
);
17044 if (arg3
== NULL
) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_Py_Void();
17068 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= 0;
17070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17071 unsigned int arg2
;
17072 wxToolTip
*result
= 0 ;
17075 unsigned int val2
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "self",(char *) "item", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17088 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17089 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17090 if (!SWIG_IsOK(ecode2
)) {
17091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17093 arg2
= static_cast< unsigned int >(val2
);
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17109 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
= 0;
17111 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17112 unsigned int arg2
;
17113 wxString
*arg3
= 0 ;
17116 unsigned int val2
;
17118 bool temp3
= false ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 char * kwnames
[] = {
17123 (char *) "self",(char *) "n",(char *) "helpText", NULL
17126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17128 if (!SWIG_IsOK(res1
)) {
17129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17131 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17132 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17133 if (!SWIG_IsOK(ecode2
)) {
17134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17136 arg2
= static_cast< unsigned int >(val2
);
17138 arg3
= wxString_in_helper(obj2
);
17139 if (arg3
== NULL
) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_Py_Void();
17163 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= 0;
17165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17166 unsigned int arg2
;
17170 unsigned int val2
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "n", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17183 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17184 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17185 if (!SWIG_IsOK(ecode2
)) {
17186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17188 arg2
= static_cast< unsigned int >(val2
);
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17208 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17211 SwigValueWrapper
<wxVisualAttributes
> result
;
17214 PyObject
* obj0
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "variant", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17222 if (!SWIG_IsOK(ecode1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17225 arg1
= static_cast< wxWindowVariant
>(val1
);
17228 if (!wxPyCheckForApp()) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17241 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17244 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17245 return SWIG_Py_Void();
17248 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17249 return SWIG_Python_InitShadowInstance(args
);
17252 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
= 0;
17254 wxWindow
*arg1
= (wxWindow
*) 0 ;
17255 int arg2
= (int) -1 ;
17256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17262 long arg6
= (long) 0 ;
17263 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17264 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17265 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17266 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17267 wxRadioButton
*result
= 0 ;
17272 bool temp3
= false ;
17279 bool temp8
= false ;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 PyObject
* obj2
= 0 ;
17283 PyObject
* obj3
= 0 ;
17284 PyObject
* obj4
= 0 ;
17285 PyObject
* obj5
= 0 ;
17286 PyObject
* obj6
= 0 ;
17287 PyObject
* obj7
= 0 ;
17288 char * kwnames
[] = {
17289 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17300 if (!SWIG_IsOK(ecode2
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17303 arg2
= static_cast< int >(val2
);
17307 arg3
= wxString_in_helper(obj2
);
17308 if (arg3
== NULL
) SWIG_fail
;
17315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17325 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17326 if (!SWIG_IsOK(ecode6
)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17329 arg6
= static_cast< long >(val6
);
17332 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17333 if (!SWIG_IsOK(res7
)) {
17334 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17339 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17343 arg8
= wxString_in_helper(obj7
);
17344 if (arg8
== NULL
) SWIG_fail
;
17349 if (!wxPyCheckForApp()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17378 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17379 PyObject
*resultobj
= 0;
17380 wxRadioButton
*result
= 0 ;
17382 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17384 if (!wxPyCheckForApp()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (wxRadioButton
*)new wxRadioButton();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17397 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
= 0;
17399 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17400 wxWindow
*arg2
= (wxWindow
*) 0 ;
17401 int arg3
= (int) -1 ;
17402 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17403 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17404 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17405 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17406 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17407 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17408 long arg7
= (long) 0 ;
17409 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17410 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17411 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17412 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17420 bool temp4
= false ;
17427 bool temp9
= false ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 PyObject
* obj5
= 0 ;
17434 PyObject
* obj6
= 0 ;
17435 PyObject
* obj7
= 0 ;
17436 PyObject
* obj8
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17446 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17448 if (!SWIG_IsOK(res2
)) {
17449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17454 if (!SWIG_IsOK(ecode3
)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17457 arg3
= static_cast< int >(val3
);
17461 arg4
= wxString_in_helper(obj3
);
17462 if (arg4
== NULL
) SWIG_fail
;
17469 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17475 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17479 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17480 if (!SWIG_IsOK(ecode7
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17483 arg7
= static_cast< long >(val7
);
17486 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17487 if (!SWIG_IsOK(res8
)) {
17488 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17493 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17497 arg9
= wxString_in_helper(obj8
);
17498 if (arg9
== NULL
) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17534 PyObject
*resultobj
= 0;
17535 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17539 PyObject
*swig_obj
[1] ;
17541 if (!args
) SWIG_fail
;
17542 swig_obj
[0] = args
;
17543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17544 if (!SWIG_IsOK(res1
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17547 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (bool)(arg1
)->GetValue();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
= 0;
17565 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 char * kwnames
[] = {
17574 (char *) "self",(char *) "value", NULL
17577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17579 if (!SWIG_IsOK(res1
)) {
17580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17582 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17584 if (!SWIG_IsOK(ecode2
)) {
17585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17587 arg2
= static_cast< bool >(val2
);
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 (arg1
)->SetValue(arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= SWIG_Py_Void();
17601 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
= 0;
17603 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17604 SwigValueWrapper
<wxVisualAttributes
> result
;
17607 PyObject
* obj0
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "variant", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17614 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17615 if (!SWIG_IsOK(ecode1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17618 arg1
= static_cast< wxWindowVariant
>(val1
);
17621 if (!wxPyCheckForApp()) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17634 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17637 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17638 return SWIG_Py_Void();
17641 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 return SWIG_Python_InitShadowInstance(args
);
17645 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17646 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17651 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17652 PyObject
*pyobj
= 0;
17656 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17658 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17665 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxWindow
*arg1
= (wxWindow
*) 0 ;
17668 int arg2
= (int) -1 ;
17669 int arg3
= (int) 0 ;
17670 int arg4
= (int) 0 ;
17671 int arg5
= (int) 100 ;
17672 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17673 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17674 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17675 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17676 long arg8
= (long) wxSL_HORIZONTAL
;
17677 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17678 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17679 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17680 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17681 wxSlider
*result
= 0 ;
17698 bool temp10
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 PyObject
* obj4
= 0 ;
17704 PyObject
* obj5
= 0 ;
17705 PyObject
* obj6
= 0 ;
17706 PyObject
* obj7
= 0 ;
17707 PyObject
* obj8
= 0 ;
17708 PyObject
* obj9
= 0 ;
17709 char * kwnames
[] = {
17710 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17715 if (!SWIG_IsOK(res1
)) {
17716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17718 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17721 if (!SWIG_IsOK(ecode2
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17724 arg2
= static_cast< int >(val2
);
17727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17728 if (!SWIG_IsOK(ecode3
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17731 arg3
= static_cast< int >(val3
);
17734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17735 if (!SWIG_IsOK(ecode4
)) {
17736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17738 arg4
= static_cast< int >(val4
);
17741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17742 if (!SWIG_IsOK(ecode5
)) {
17743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17745 arg5
= static_cast< int >(val5
);
17750 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17756 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17761 if (!SWIG_IsOK(ecode8
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17764 arg8
= static_cast< long >(val8
);
17767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17768 if (!SWIG_IsOK(res9
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17778 arg10
= wxString_in_helper(obj9
);
17779 if (arg10
== NULL
) SWIG_fail
;
17784 if (!wxPyCheckForApp()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17805 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17806 PyObject
*resultobj
= 0;
17807 wxSlider
*result
= 0 ;
17809 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17811 if (!wxPyCheckForApp()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxSlider
*)new wxSlider();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17824 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxSlider
*arg1
= (wxSlider
*) 0 ;
17827 wxWindow
*arg2
= (wxWindow
*) 0 ;
17828 int arg3
= (int) -1 ;
17829 int arg4
= (int) 0 ;
17830 int arg5
= (int) 0 ;
17831 int arg6
= (int) 100 ;
17832 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17833 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17834 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17835 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17836 long arg9
= (long) wxSL_HORIZONTAL
;
17837 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17838 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17839 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17840 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17860 bool temp11
= false ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 PyObject
* obj4
= 0 ;
17866 PyObject
* obj5
= 0 ;
17867 PyObject
* obj6
= 0 ;
17868 PyObject
* obj7
= 0 ;
17869 PyObject
* obj8
= 0 ;
17870 PyObject
* obj9
= 0 ;
17871 PyObject
* obj10
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17881 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17883 if (!SWIG_IsOK(res2
)) {
17884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17889 if (!SWIG_IsOK(ecode3
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17892 arg3
= static_cast< int >(val3
);
17895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17896 if (!SWIG_IsOK(ecode4
)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17899 arg4
= static_cast< int >(val4
);
17902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17903 if (!SWIG_IsOK(ecode5
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17906 arg5
= static_cast< int >(val5
);
17909 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17910 if (!SWIG_IsOK(ecode6
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17913 arg6
= static_cast< int >(val6
);
17918 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17924 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17928 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17929 if (!SWIG_IsOK(ecode9
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17932 arg9
= static_cast< long >(val9
);
17935 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17936 if (!SWIG_IsOK(res10
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17942 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17946 arg11
= wxString_in_helper(obj10
);
17947 if (arg11
== NULL
) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17974 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 PyObject
*resultobj
= 0;
17976 wxSlider
*arg1
= (wxSlider
*) 0 ;
17980 PyObject
*swig_obj
[1] ;
17982 if (!args
) SWIG_fail
;
17983 swig_obj
[0] = args
;
17984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17985 if (!SWIG_IsOK(res1
)) {
17986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17988 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_From_int(static_cast< int >(result
));
18002 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
= 0;
18004 wxSlider
*arg1
= (wxSlider
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char * kwnames
[] = {
18013 (char *) "self",(char *) "value", NULL
18016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18018 if (!SWIG_IsOK(res1
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18021 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18023 if (!SWIG_IsOK(ecode2
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18026 arg2
= static_cast< int >(val2
);
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetValue(arg2
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= SWIG_Py_Void();
18040 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
= 0;
18042 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18063 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18065 if (!SWIG_IsOK(ecode2
)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18068 arg2
= static_cast< int >(val2
);
18069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18070 if (!SWIG_IsOK(ecode3
)) {
18071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18073 arg3
= static_cast< int >(val3
);
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->SetRange(arg2
,arg3
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_Py_Void();
18087 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18088 PyObject
*resultobj
= 0;
18089 wxSlider
*arg1
= (wxSlider
*) 0 ;
18093 PyObject
*swig_obj
[1] ;
18095 if (!args
) SWIG_fail
;
18096 swig_obj
[0] = args
;
18097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18101 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_From_int(static_cast< int >(result
));
18115 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18116 PyObject
*resultobj
= 0;
18117 wxSlider
*arg1
= (wxSlider
*) 0 ;
18121 PyObject
*swig_obj
[1] ;
18123 if (!args
) SWIG_fail
;
18124 swig_obj
[0] = args
;
18125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18126 if (!SWIG_IsOK(res1
)) {
18127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18129 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_From_int(static_cast< int >(result
));
18143 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxSlider
*arg1
= (wxSlider
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "self",(char *) "minValue", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18162 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18167 arg2
= static_cast< int >(val2
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetMin(arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18181 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
= 0;
18183 wxSlider
*arg1
= (wxSlider
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char * kwnames
[] = {
18192 (char *) "self",(char *) "maxValue", NULL
18195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18200 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18202 if (!SWIG_IsOK(ecode2
)) {
18203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18205 arg2
= static_cast< int >(val2
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetMax(arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_Py_Void();
18219 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
= 0;
18221 wxSlider
*arg1
= (wxSlider
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char * kwnames
[] = {
18230 (char *) "self",(char *) "lineSize", NULL
18233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18235 if (!SWIG_IsOK(res1
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18238 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18240 if (!SWIG_IsOK(ecode2
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18243 arg2
= static_cast< int >(val2
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetLineSize(arg2
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 char * kwnames
[] = {
18268 (char *) "self",(char *) "pageSize", NULL
18271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18276 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18278 if (!SWIG_IsOK(ecode2
)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18281 arg2
= static_cast< int >(val2
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->SetPageSize(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_Py_Void();
18295 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18296 PyObject
*resultobj
= 0;
18297 wxSlider
*arg1
= (wxSlider
*) 0 ;
18301 PyObject
*swig_obj
[1] ;
18303 if (!args
) SWIG_fail
;
18304 swig_obj
[0] = args
;
18305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18309 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_From_int(static_cast< int >(result
));
18323 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18324 PyObject
*resultobj
= 0;
18325 wxSlider
*arg1
= (wxSlider
*) 0 ;
18329 PyObject
*swig_obj
[1] ;
18331 if (!args
) SWIG_fail
;
18332 swig_obj
[0] = args
;
18333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18337 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_From_int(static_cast< int >(result
));
18351 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= 0;
18353 wxSlider
*arg1
= (wxSlider
*) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "lenPixels", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18370 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18372 if (!SWIG_IsOK(ecode2
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18375 arg2
= static_cast< int >(val2
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetThumbLength(arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_Py_Void();
18389 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18390 PyObject
*resultobj
= 0;
18391 wxSlider
*arg1
= (wxSlider
*) 0 ;
18395 PyObject
*swig_obj
[1] ;
18397 if (!args
) SWIG_fail
;
18398 swig_obj
[0] = args
;
18399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18403 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_From_int(static_cast< int >(result
));
18417 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxSlider
*arg1
= (wxSlider
*) 0 ;
18421 int arg3
= (int) 1 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "n",(char *) "pos", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18440 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18442 if (!SWIG_IsOK(ecode2
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18445 arg2
= static_cast< int >(val2
);
18447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18448 if (!SWIG_IsOK(ecode3
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18451 arg3
= static_cast< int >(val3
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetTickFreq(arg2
,arg3
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxSlider
*arg1
= (wxSlider
*) 0 ;
18472 PyObject
*swig_obj
[1] ;
18474 if (!args
) SWIG_fail
;
18475 swig_obj
[0] = args
;
18476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18480 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_From_int(static_cast< int >(result
));
18494 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18495 PyObject
*resultobj
= 0;
18496 wxSlider
*arg1
= (wxSlider
*) 0 ;
18499 PyObject
*swig_obj
[1] ;
18501 if (!args
) SWIG_fail
;
18502 swig_obj
[0] = args
;
18503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18507 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->ClearTicks();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_Py_Void();
18521 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= 0;
18523 wxSlider
*arg1
= (wxSlider
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char * kwnames
[] = {
18532 (char *) "self",(char *) "tickPos", NULL
18535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18537 if (!SWIG_IsOK(res1
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18540 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18542 if (!SWIG_IsOK(ecode2
)) {
18543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18545 arg2
= static_cast< int >(val2
);
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 (arg1
)->SetTick(arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_Py_Void();
18559 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18560 PyObject
*resultobj
= 0;
18561 wxSlider
*arg1
= (wxSlider
*) 0 ;
18564 PyObject
*swig_obj
[1] ;
18566 if (!args
) SWIG_fail
;
18567 swig_obj
[0] = args
;
18568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18572 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->ClearSel();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_Py_Void();
18586 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18587 PyObject
*resultobj
= 0;
18588 wxSlider
*arg1
= (wxSlider
*) 0 ;
18592 PyObject
*swig_obj
[1] ;
18594 if (!args
) SWIG_fail
;
18595 swig_obj
[0] = args
;
18596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18600 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_From_int(static_cast< int >(result
));
18614 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18615 PyObject
*resultobj
= 0;
18616 wxSlider
*arg1
= (wxSlider
*) 0 ;
18620 PyObject
*swig_obj
[1] ;
18622 if (!args
) SWIG_fail
;
18623 swig_obj
[0] = args
;
18624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18628 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_From_int(static_cast< int >(result
));
18642 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
= 0;
18644 wxSlider
*arg1
= (wxSlider
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 PyObject
* obj2
= 0 ;
18656 char * kwnames
[] = {
18657 (char *) "self",(char *) "min",(char *) "max", NULL
18660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18662 if (!SWIG_IsOK(res1
)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18665 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18667 if (!SWIG_IsOK(ecode2
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18670 arg2
= static_cast< int >(val2
);
18671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18672 if (!SWIG_IsOK(ecode3
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18675 arg3
= static_cast< int >(val3
);
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->SetSelection(arg2
,arg3
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_Py_Void();
18689 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18692 SwigValueWrapper
<wxVisualAttributes
> result
;
18695 PyObject
* obj0
= 0 ;
18696 char * kwnames
[] = {
18697 (char *) "variant", NULL
18700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18703 if (!SWIG_IsOK(ecode1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18706 arg1
= static_cast< wxWindowVariant
>(val1
);
18709 if (!wxPyCheckForApp()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18722 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18725 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18726 return SWIG_Py_Void();
18729 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18730 return SWIG_Python_InitShadowInstance(args
);
18733 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18734 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18739 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18740 PyObject
*pyobj
= 0;
18744 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18746 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18753 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
= 0;
18755 wxWindow
*arg1
= (wxWindow
*) 0 ;
18756 int arg2
= (int) -1 ;
18757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18763 long arg6
= (long) 0 ;
18764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18766 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18768 wxToggleButton
*result
= 0 ;
18773 bool temp3
= false ;
18780 bool temp8
= false ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 PyObject
* obj2
= 0 ;
18784 PyObject
* obj3
= 0 ;
18785 PyObject
* obj4
= 0 ;
18786 PyObject
* obj5
= 0 ;
18787 PyObject
* obj6
= 0 ;
18788 PyObject
* obj7
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18801 if (!SWIG_IsOK(ecode2
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18804 arg2
= static_cast< int >(val2
);
18808 arg3
= wxString_in_helper(obj2
);
18809 if (arg3
== NULL
) SWIG_fail
;
18816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18827 if (!SWIG_IsOK(ecode6
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18830 arg6
= static_cast< long >(val6
);
18833 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18834 if (!SWIG_IsOK(res7
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18840 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18844 arg8
= wxString_in_helper(obj7
);
18845 if (arg8
== NULL
) SWIG_fail
;
18850 if (!wxPyCheckForApp()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18879 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxToggleButton
*result
= 0 ;
18883 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18885 if (!wxPyCheckForApp()) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (wxToggleButton
*)new wxToggleButton();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18898 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18901 wxWindow
*arg2
= (wxWindow
*) 0 ;
18902 int arg3
= (int) -1 ;
18903 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18904 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18905 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18906 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18907 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18908 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18909 long arg7
= (long) 0 ;
18910 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18911 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18912 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18913 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18921 bool temp4
= false ;
18928 bool temp9
= false ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 PyObject
* obj2
= 0 ;
18932 PyObject
* obj3
= 0 ;
18933 PyObject
* obj4
= 0 ;
18934 PyObject
* obj5
= 0 ;
18935 PyObject
* obj6
= 0 ;
18936 PyObject
* obj7
= 0 ;
18937 PyObject
* obj8
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18947 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18949 if (!SWIG_IsOK(res2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18955 if (!SWIG_IsOK(ecode3
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18958 arg3
= static_cast< int >(val3
);
18962 arg4
= wxString_in_helper(obj3
);
18963 if (arg4
== NULL
) SWIG_fail
;
18970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18976 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18980 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18981 if (!SWIG_IsOK(ecode7
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18984 arg7
= static_cast< long >(val7
);
18987 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18988 if (!SWIG_IsOK(res8
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18994 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18998 arg9
= wxString_in_helper(obj8
);
18999 if (arg9
== NULL
) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "value", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19053 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19055 if (!SWIG_IsOK(ecode2
)) {
19056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19058 arg2
= static_cast< bool >(val2
);
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->SetValue(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_Py_Void();
19072 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19073 PyObject
*resultobj
= 0;
19074 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19078 PyObject
*swig_obj
[1] ;
19080 if (!args
) SWIG_fail
;
19081 swig_obj
[0] = args
;
19082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19086 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19102 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
= 0;
19104 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19105 SwigValueWrapper
<wxVisualAttributes
> result
;
19108 PyObject
* obj0
= 0 ;
19109 char * kwnames
[] = {
19110 (char *) "variant", NULL
19113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19115 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19116 if (!SWIG_IsOK(ecode1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19119 arg1
= static_cast< wxWindowVariant
>(val1
);
19122 if (!wxPyCheckForApp()) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19135 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19138 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19139 return SWIG_Py_Void();
19142 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19143 return SWIG_Python_InitShadowInstance(args
);
19146 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19147 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19152 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19153 PyObject
*pyobj
= 0;
19157 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19159 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19167 PyObject
*resultobj
= 0;
19168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19172 PyObject
*swig_obj
[1] ;
19174 if (!args
) SWIG_fail
;
19175 swig_obj
[0] = args
;
19176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19180 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19194 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19198 wxWindow
*result
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "n", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19214 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19215 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19216 if (!SWIG_IsOK(ecode2
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19219 arg2
= static_cast< size_t >(val2
);
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= wxPyMake_wxObject(result
, 0);
19235 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19236 PyObject
*resultobj
= 0;
19237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19238 wxWindow
*result
= 0 ;
19241 PyObject
*swig_obj
[1] ;
19243 if (!args
) SWIG_fail
;
19244 swig_obj
[0] = args
;
19245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19246 if (!SWIG_IsOK(res1
)) {
19247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19249 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= wxPyMake_wxObject(result
, 0);
19265 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 PyObject
*resultobj
= 0;
19267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19271 PyObject
*swig_obj
[1] ;
19273 if (!args
) SWIG_fail
;
19274 swig_obj
[0] = args
;
19275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19279 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_From_int(static_cast< int >(result
));
19293 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 wxString
*arg3
= 0 ;
19303 bool temp3
= false ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 char * kwnames
[] = {
19308 (char *) "self",(char *) "n",(char *) "strText", NULL
19311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19316 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19317 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19318 if (!SWIG_IsOK(ecode2
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19321 arg2
= static_cast< size_t >(val2
);
19323 arg3
= wxString_in_helper(obj2
);
19324 if (arg3
== NULL
) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19350 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
= 0;
19352 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char * kwnames
[] = {
19362 (char *) "self",(char *) "n", NULL
19365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19371 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19372 if (!SWIG_IsOK(ecode2
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19375 arg2
= static_cast< size_t >(val2
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19395 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
= 0;
19397 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19398 wxImageList
*arg2
= (wxImageList
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "imageList", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19414 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19416 if (!SWIG_IsOK(res2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19419 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->SetImageList(arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19436 wxImageList
*arg2
= (wxImageList
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char * kwnames
[] = {
19443 (char *) "self",(char *) "imageList", NULL
19446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19451 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19452 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19453 if (!SWIG_IsOK(res2
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->AssignImageList(arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_Py_Void();
19469 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19472 wxImageList
*result
= 0 ;
19475 PyObject
*swig_obj
[1] ;
19477 if (!args
) SWIG_fail
;
19478 swig_obj
[0] = args
;
19479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19499 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
= 0;
19501 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "self",(char *) "n", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19519 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19520 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19521 if (!SWIG_IsOK(ecode2
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19524 arg2
= static_cast< size_t >(val2
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_From_int(static_cast< int >(result
));
19538 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 PyObject
* obj2
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "n",(char *) "imageId", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19562 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19564 if (!SWIG_IsOK(ecode2
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19567 arg2
= static_cast< size_t >(val2
);
19568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19569 if (!SWIG_IsOK(ecode3
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19572 arg3
= static_cast< int >(val3
);
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19588 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "size", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19606 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19609 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_Py_Void();
19624 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= 0;
19626 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "sizePage", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19643 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19664 unsigned int result
;
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_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19689 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19692 unsigned int arg2
;
19695 unsigned int val2
;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "internalBorder", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",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_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19708 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19710 if (!SWIG_IsOK(ecode2
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19713 arg2
= static_cast< unsigned int >(val2
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->SetInternalBorder(arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_Py_Void();
19727 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(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_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19741 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
= 0;
19759 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "self",(char *) "margin", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19776 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19778 if (!SWIG_IsOK(ecode2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19781 arg2
= static_cast< int >(val2
);
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->SetControlMargin(arg2
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19796 PyObject
*resultobj
= 0;
19797 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19801 PyObject
*swig_obj
[1] ;
19803 if (!args
) SWIG_fail
;
19804 swig_obj
[0] = args
;
19805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19809 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_From_int(static_cast< int >(result
));
19823 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "fit", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19842 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19844 if (!SWIG_IsOK(ecode2
)) {
19845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19847 arg2
= static_cast< bool >(val2
);
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->SetFitToCurrentPage(arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_Py_Void();
19861 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19862 PyObject
*resultobj
= 0;
19863 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19867 PyObject
*swig_obj
[1] ;
19869 if (!args
) SWIG_fail
;
19870 swig_obj
[0] = args
;
19871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19875 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19892 PyObject
*resultobj
= 0;
19893 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19894 wxSizer
*result
= 0 ;
19897 PyObject
*swig_obj
[1] ;
19899 if (!args
) SWIG_fail
;
19900 swig_obj
[0] = args
;
19901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19905 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19921 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
= 0;
19923 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char * kwnames
[] = {
19933 (char *) "self",(char *) "n", NULL
19936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19938 if (!SWIG_IsOK(res1
)) {
19939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19941 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19942 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19943 if (!SWIG_IsOK(ecode2
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19946 arg2
= static_cast< size_t >(val2
);
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)(arg1
)->DeletePage(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19962 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
= 0;
19964 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "self",(char *) "n", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19982 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19983 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19984 if (!SWIG_IsOK(ecode2
)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19987 arg2
= static_cast< size_t >(val2
);
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (bool)(arg1
)->RemovePage(arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20003 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20004 PyObject
*resultobj
= 0;
20005 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20009 PyObject
*swig_obj
[1] ;
20011 if (!args
) SWIG_fail
;
20012 swig_obj
[0] = args
;
20013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20017 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)(arg1
)->DeleteAllPages();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
= 0;
20035 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20036 wxWindow
*arg2
= (wxWindow
*) 0 ;
20037 wxString
*arg3
= 0 ;
20038 bool arg4
= (bool) false ;
20039 int arg5
= (int) -1 ;
20045 bool temp3
= false ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 PyObject
* obj3
= 0 ;
20054 PyObject
* obj4
= 0 ;
20055 char * kwnames
[] = {
20056 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20061 if (!SWIG_IsOK(res1
)) {
20062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20064 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20066 if (!SWIG_IsOK(res2
)) {
20067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20071 arg3
= wxString_in_helper(obj2
);
20072 if (arg3
== NULL
) SWIG_fail
;
20076 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20077 if (!SWIG_IsOK(ecode4
)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20080 arg4
= static_cast< bool >(val4
);
20083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20084 if (!SWIG_IsOK(ecode5
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20087 arg5
= static_cast< int >(val5
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
= 0;
20114 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20116 wxWindow
*arg3
= (wxWindow
*) 0 ;
20117 wxString
*arg4
= 0 ;
20118 bool arg5
= (bool) false ;
20119 int arg6
= (int) -1 ;
20127 bool temp4
= false ;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 PyObject
* obj2
= 0 ;
20135 PyObject
* obj3
= 0 ;
20136 PyObject
* obj4
= 0 ;
20137 PyObject
* obj5
= 0 ;
20138 char * kwnames
[] = {
20139 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20147 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20148 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20149 if (!SWIG_IsOK(ecode2
)) {
20150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20152 arg2
= static_cast< size_t >(val2
);
20153 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20154 if (!SWIG_IsOK(res3
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20157 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20159 arg4
= wxString_in_helper(obj3
);
20160 if (arg4
== NULL
) SWIG_fail
;
20164 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20165 if (!SWIG_IsOK(ecode5
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20168 arg5
= static_cast< bool >(val5
);
20171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20172 if (!SWIG_IsOK(ecode6
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20175 arg6
= static_cast< int >(val6
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20200 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char * kwnames
[] = {
20212 (char *) "self",(char *) "n", NULL
20215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20220 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20221 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20222 if (!SWIG_IsOK(ecode2
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20225 arg2
= static_cast< size_t >(val2
);
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (int)(arg1
)->SetSelection(arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_From_int(static_cast< int >(result
));
20239 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= 0;
20241 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char * kwnames
[] = {
20251 (char *) "self",(char *) "n", NULL
20254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20256 if (!SWIG_IsOK(res1
)) {
20257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20259 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20260 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20261 if (!SWIG_IsOK(ecode2
)) {
20262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20264 arg2
= static_cast< size_t >(val2
);
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (int)(arg1
)->ChangeSelection(arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_From_int(static_cast< int >(result
));
20278 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
= 0;
20280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20281 bool arg2
= (bool) true ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char * kwnames
[] = {
20289 (char *) "self",(char *) "forward", NULL
20292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20297 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20300 if (!SWIG_IsOK(ecode2
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20303 arg2
= static_cast< bool >(val2
);
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->AdvanceSelection(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= SWIG_Py_Void();
20318 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20321 wxPoint
*arg2
= 0 ;
20322 long *arg3
= (long *) 0 ;
20328 int res3
= SWIG_TMPOBJ
;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "pt", NULL
20336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20338 if (!SWIG_IsOK(res1
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20341 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_From_int(static_cast< int >(result
));
20353 if (SWIG_IsTmpObj(res3
)) {
20354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20365 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
= 0;
20367 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20368 SwigValueWrapper
<wxVisualAttributes
> result
;
20371 PyObject
* obj0
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "variant", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20379 if (!SWIG_IsOK(ecode1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20382 arg1
= static_cast< wxWindowVariant
>(val1
);
20385 if (!wxPyCheckForApp()) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20398 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20402 return SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20408 int arg2
= (int) 0 ;
20409 int arg3
= (int) -1 ;
20410 int arg4
= (int) -1 ;
20411 wxBookCtrlBaseEvent
*result
= 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 PyObject
* obj2
= 0 ;
20423 PyObject
* obj3
= 0 ;
20424 char * kwnames
[] = {
20425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20431 if (!SWIG_IsOK(ecode1
)) {
20432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20434 arg1
= static_cast< wxEventType
>(val1
);
20437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20438 if (!SWIG_IsOK(ecode2
)) {
20439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20441 arg2
= static_cast< int >(val2
);
20444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20448 arg3
= static_cast< int >(val3
);
20451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20452 if (!SWIG_IsOK(ecode4
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20455 arg4
= static_cast< int >(val4
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20470 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 PyObject
*resultobj
= 0;
20472 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20476 PyObject
*swig_obj
[1] ;
20478 if (!args
) SWIG_fail
;
20479 swig_obj
[0] = args
;
20480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20481 if (!SWIG_IsOK(res1
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20484 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_From_int(static_cast< int >(result
));
20498 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "nSel", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20517 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20519 if (!SWIG_IsOK(ecode2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20522 arg2
= static_cast< int >(val2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetSelection(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 PyObject
*resultobj
= 0;
20538 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20542 PyObject
*swig_obj
[1] ;
20544 if (!args
) SWIG_fail
;
20545 swig_obj
[0] = args
;
20546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20550 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_From_int(static_cast< int >(result
));
20564 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
= 0;
20566 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "self",(char *) "nOldSel", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20583 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20585 if (!SWIG_IsOK(ecode2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20588 arg2
= static_cast< int >(val2
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetOldSelection(arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_Py_Void();
20602 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20605 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20606 return SWIG_Py_Void();
20609 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 return SWIG_Python_InitShadowInstance(args
);
20613 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxWindow
*arg1
= (wxWindow
*) 0 ;
20616 int arg2
= (int) -1 ;
20617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20621 long arg5
= (long) 0 ;
20622 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20624 wxNotebook
*result
= 0 ;
20633 bool temp6
= false ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 PyObject
* obj2
= 0 ;
20637 PyObject
* obj3
= 0 ;
20638 PyObject
* obj4
= 0 ;
20639 PyObject
* obj5
= 0 ;
20640 char * kwnames
[] = {
20641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20649 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20652 if (!SWIG_IsOK(ecode2
)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20655 arg2
= static_cast< int >(val2
);
20660 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20666 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20670 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20671 if (!SWIG_IsOK(ecode5
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20674 arg5
= static_cast< long >(val5
);
20678 arg6
= wxString_in_helper(obj5
);
20679 if (arg6
== NULL
) SWIG_fail
;
20684 if (!wxPyCheckForApp()) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20705 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20706 PyObject
*resultobj
= 0;
20707 wxNotebook
*result
= 0 ;
20709 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20711 if (!wxPyCheckForApp()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (wxNotebook
*)new wxNotebook();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20724 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= 0;
20726 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20727 wxWindow
*arg2
= (wxWindow
*) 0 ;
20728 int arg3
= (int) -1 ;
20729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20733 long arg6
= (long) 0 ;
20734 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20747 bool temp7
= false ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 PyObject
* obj3
= 0 ;
20752 PyObject
* obj4
= 0 ;
20753 PyObject
* obj5
= 0 ;
20754 PyObject
* obj6
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20764 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20766 if (!SWIG_IsOK(res2
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20772 if (!SWIG_IsOK(ecode3
)) {
20773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20775 arg3
= static_cast< int >(val3
);
20780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20790 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20791 if (!SWIG_IsOK(ecode6
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20794 arg6
= static_cast< long >(val6
);
20798 arg7
= wxString_in_helper(obj6
);
20799 if (arg7
== NULL
) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20826 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20840 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_From_int(static_cast< int >(result
));
20854 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "padding", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20872 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20890 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "self",(char *) "sz", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20908 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20911 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_Py_Void();
20926 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20940 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20954 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20957 SwigValueWrapper
<wxVisualAttributes
> result
;
20960 PyObject
* obj0
= 0 ;
20961 char * kwnames
[] = {
20962 (char *) "variant", NULL
20965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20968 if (!SWIG_IsOK(ecode1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20971 arg1
= static_cast< wxWindowVariant
>(val1
);
20974 if (!wxPyCheckForApp()) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20987 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
= 0;
20989 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char * kwnames
[] = {
20999 (char *) "self",(char *) "nPage", NULL
21002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21007 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21009 if (!SWIG_IsOK(ecode2
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21012 arg2
= static_cast< int >(val2
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21028 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21032 int arg3
= (int) -1 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21051 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21053 if (!SWIG_IsOK(ecode2
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21056 arg2
= static_cast< int >(val2
);
21058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21059 if (!SWIG_IsOK(ecode3
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21062 arg3
= static_cast< int >(val3
);
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_Py_Void();
21077 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21080 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21081 return SWIG_Py_Void();
21084 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21085 return SWIG_Python_InitShadowInstance(args
);
21088 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
= 0;
21090 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21091 int arg2
= (int) 0 ;
21092 int arg3
= (int) -1 ;
21093 int arg4
= (int) -1 ;
21094 wxNotebookEvent
*result
= 0 ;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 PyObject
* obj2
= 0 ;
21106 PyObject
* obj3
= 0 ;
21107 char * kwnames
[] = {
21108 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21114 if (!SWIG_IsOK(ecode1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21117 arg1
= static_cast< wxEventType
>(val1
);
21120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21121 if (!SWIG_IsOK(ecode2
)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21124 arg2
= static_cast< int >(val2
);
21127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21128 if (!SWIG_IsOK(ecode3
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21131 arg3
= static_cast< int >(val3
);
21134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21135 if (!SWIG_IsOK(ecode4
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21138 arg4
= static_cast< int >(val4
);
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21153 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21157 return SWIG_Py_Void();
21160 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 return SWIG_Python_InitShadowInstance(args
);
21164 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
= 0;
21166 wxWindow
*arg1
= (wxWindow
*) 0 ;
21167 int arg2
= (int) -1 ;
21168 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21169 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21170 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21171 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21172 long arg5
= (long) 0 ;
21173 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21174 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21175 wxListbook
*result
= 0 ;
21184 bool temp6
= false ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 PyObject
* obj2
= 0 ;
21188 PyObject
* obj3
= 0 ;
21189 PyObject
* obj4
= 0 ;
21190 PyObject
* obj5
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21203 if (!SWIG_IsOK(ecode2
)) {
21204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21206 arg2
= static_cast< int >(val2
);
21211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21221 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21222 if (!SWIG_IsOK(ecode5
)) {
21223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21225 arg5
= static_cast< long >(val5
);
21229 arg6
= wxString_in_helper(obj5
);
21230 if (arg6
== NULL
) SWIG_fail
;
21235 if (!wxPyCheckForApp()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21256 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21257 PyObject
*resultobj
= 0;
21258 wxListbook
*result
= 0 ;
21260 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21262 if (!wxPyCheckForApp()) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (wxListbook
*)new wxListbook();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21275 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= 0;
21277 wxListbook
*arg1
= (wxListbook
*) 0 ;
21278 wxWindow
*arg2
= (wxWindow
*) 0 ;
21279 int arg3
= (int) -1 ;
21280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21284 long arg6
= (long) 0 ;
21285 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21298 bool temp7
= false ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 PyObject
* obj2
= 0 ;
21302 PyObject
* obj3
= 0 ;
21303 PyObject
* obj4
= 0 ;
21304 PyObject
* obj5
= 0 ;
21305 PyObject
* obj6
= 0 ;
21306 char * kwnames
[] = {
21307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21315 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21317 if (!SWIG_IsOK(res2
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21323 if (!SWIG_IsOK(ecode3
)) {
21324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21326 arg3
= static_cast< int >(val3
);
21331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21341 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21342 if (!SWIG_IsOK(ecode6
)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21345 arg6
= static_cast< long >(val6
);
21349 arg7
= wxString_in_helper(obj6
);
21350 if (arg7
== NULL
) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21377 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21378 PyObject
*resultobj
= 0;
21379 wxListbook
*arg1
= (wxListbook
*) 0 ;
21380 wxListView
*result
= 0 ;
21383 PyObject
*swig_obj
[1] ;
21385 if (!args
) SWIG_fail
;
21386 swig_obj
[0] = args
;
21387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21391 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (wxListView
*)(arg1
)->GetListView();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21405 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21408 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21409 return SWIG_Py_Void();
21412 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 return SWIG_Python_InitShadowInstance(args
);
21416 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
= 0;
21418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21419 int arg2
= (int) 0 ;
21420 int arg3
= (int) -1 ;
21421 int arg4
= (int) -1 ;
21422 wxListbookEvent
*result
= 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 PyObject
* obj3
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21442 if (!SWIG_IsOK(ecode1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21445 arg1
= static_cast< wxEventType
>(val1
);
21448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21449 if (!SWIG_IsOK(ecode2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21452 arg2
= static_cast< int >(val2
);
21455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21456 if (!SWIG_IsOK(ecode3
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21459 arg3
= static_cast< int >(val3
);
21462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21463 if (!SWIG_IsOK(ecode4
)) {
21464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21466 arg4
= static_cast< int >(val4
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21481 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21484 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21485 return SWIG_Py_Void();
21488 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21489 return SWIG_Python_InitShadowInstance(args
);
21492 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
= 0;
21494 wxWindow
*arg1
= (wxWindow
*) 0 ;
21496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21500 long arg5
= (long) 0 ;
21501 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21503 wxChoicebook
*result
= 0 ;
21512 bool temp6
= false ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 PyObject
* obj3
= 0 ;
21517 PyObject
* obj4
= 0 ;
21518 PyObject
* obj5
= 0 ;
21519 char * kwnames
[] = {
21520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21525 if (!SWIG_IsOK(res1
)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21530 if (!SWIG_IsOK(ecode2
)) {
21531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21533 arg2
= static_cast< int >(val2
);
21537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21543 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21547 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21548 if (!SWIG_IsOK(ecode5
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21551 arg5
= static_cast< long >(val5
);
21555 arg6
= wxString_in_helper(obj5
);
21556 if (arg6
== NULL
) SWIG_fail
;
21561 if (!wxPyCheckForApp()) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21582 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21583 PyObject
*resultobj
= 0;
21584 wxChoicebook
*result
= 0 ;
21586 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21588 if (!wxPyCheckForApp()) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (wxChoicebook
*)new wxChoicebook();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21601 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
= 0;
21603 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21604 wxWindow
*arg2
= (wxWindow
*) 0 ;
21606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21610 long arg6
= (long) 0 ;
21611 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21624 bool temp7
= false ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 PyObject
* obj3
= 0 ;
21629 PyObject
* obj4
= 0 ;
21630 PyObject
* obj5
= 0 ;
21631 PyObject
* obj6
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21641 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21643 if (!SWIG_IsOK(res2
)) {
21644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21648 if (!SWIG_IsOK(ecode3
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21651 arg3
= static_cast< int >(val3
);
21655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21665 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21666 if (!SWIG_IsOK(ecode6
)) {
21667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21669 arg6
= static_cast< long >(val6
);
21673 arg7
= wxString_in_helper(obj6
);
21674 if (arg7
== NULL
) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21701 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21702 PyObject
*resultobj
= 0;
21703 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21704 wxChoice
*result
= 0 ;
21707 PyObject
*swig_obj
[1] ;
21709 if (!args
) SWIG_fail
;
21710 swig_obj
[0] = args
;
21711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21715 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21729 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21732 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21733 return SWIG_Py_Void();
21736 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21737 return SWIG_Python_InitShadowInstance(args
);
21740 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
= 0;
21742 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21743 int arg2
= (int) 0 ;
21744 int arg3
= (int) -1 ;
21745 int arg4
= (int) -1 ;
21746 wxChoicebookEvent
*result
= 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 PyObject
* obj2
= 0 ;
21758 PyObject
* obj3
= 0 ;
21759 char * kwnames
[] = {
21760 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21766 if (!SWIG_IsOK(ecode1
)) {
21767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21769 arg1
= static_cast< wxEventType
>(val1
);
21772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21773 if (!SWIG_IsOK(ecode2
)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21776 arg2
= static_cast< int >(val2
);
21779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21780 if (!SWIG_IsOK(ecode3
)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21783 arg3
= static_cast< int >(val3
);
21786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21787 if (!SWIG_IsOK(ecode4
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21790 arg4
= static_cast< int >(val4
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21805 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21808 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21809 return SWIG_Py_Void();
21812 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 return SWIG_Python_InitShadowInstance(args
);
21816 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21824 long arg5
= (long) wxBK_DEFAULT
;
21825 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21826 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21827 wxTreebook
*result
= 0 ;
21836 bool temp6
= false ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21840 PyObject
* obj3
= 0 ;
21841 PyObject
* obj4
= 0 ;
21842 PyObject
* obj5
= 0 ;
21843 char * kwnames
[] = {
21844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21854 if (!SWIG_IsOK(ecode2
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21857 arg2
= static_cast< int >(val2
);
21861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21871 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21872 if (!SWIG_IsOK(ecode5
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21875 arg5
= static_cast< long >(val5
);
21879 arg6
= wxString_in_helper(obj5
);
21880 if (arg6
== NULL
) SWIG_fail
;
21885 if (!wxPyCheckForApp()) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21906 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxTreebook
*result
= 0 ;
21910 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21912 if (!wxPyCheckForApp()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (wxTreebook
*)new wxTreebook();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21925 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= 0;
21927 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21928 wxWindow
*arg2
= (wxWindow
*) 0 ;
21930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21934 long arg6
= (long) wxBK_DEFAULT
;
21935 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21948 bool temp7
= false ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 PyObject
* obj2
= 0 ;
21952 PyObject
* obj3
= 0 ;
21953 PyObject
* obj4
= 0 ;
21954 PyObject
* obj5
= 0 ;
21955 PyObject
* obj6
= 0 ;
21956 char * kwnames
[] = {
21957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21965 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21967 if (!SWIG_IsOK(res2
)) {
21968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21972 if (!SWIG_IsOK(ecode3
)) {
21973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21975 arg3
= static_cast< int >(val3
);
21979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21989 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21990 if (!SWIG_IsOK(ecode6
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21993 arg6
= static_cast< long >(val6
);
21997 arg7
= wxString_in_helper(obj6
);
21998 if (arg7
== NULL
) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
= 0;
22027 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22029 wxWindow
*arg3
= (wxWindow
*) 0 ;
22030 wxString
*arg4
= 0 ;
22031 bool arg5
= (bool) false ;
22032 int arg6
= (int) wxNOT_FOUND
;
22040 bool temp4
= false ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 PyObject
* obj2
= 0 ;
22048 PyObject
* obj3
= 0 ;
22049 PyObject
* obj4
= 0 ;
22050 PyObject
* obj5
= 0 ;
22051 char * kwnames
[] = {
22052 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22060 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22061 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22062 if (!SWIG_IsOK(ecode2
)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22065 arg2
= static_cast< size_t >(val2
);
22066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22067 if (!SWIG_IsOK(res3
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22070 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22072 arg4
= wxString_in_helper(obj3
);
22073 if (arg4
== NULL
) SWIG_fail
;
22077 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22078 if (!SWIG_IsOK(ecode5
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22081 arg5
= static_cast< bool >(val5
);
22084 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22085 if (!SWIG_IsOK(ecode6
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22088 arg6
= static_cast< int >(val6
);
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
= 0;
22115 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22116 wxWindow
*arg2
= (wxWindow
*) 0 ;
22117 wxString
*arg3
= 0 ;
22118 bool arg4
= (bool) false ;
22119 int arg5
= (int) wxNOT_FOUND
;
22125 bool temp3
= false ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 PyObject
* obj3
= 0 ;
22134 PyObject
* obj4
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22144 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22146 if (!SWIG_IsOK(res2
)) {
22147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22151 arg3
= wxString_in_helper(obj2
);
22152 if (arg3
== NULL
) SWIG_fail
;
22156 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22157 if (!SWIG_IsOK(ecode4
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22160 arg4
= static_cast< bool >(val4
);
22163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22164 if (!SWIG_IsOK(ecode5
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22167 arg5
= static_cast< int >(val5
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char * kwnames
[] = {
22204 (char *) "self",(char *) "pos", NULL
22207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22212 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22213 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22214 if (!SWIG_IsOK(ecode2
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22217 arg2
= static_cast< size_t >(val2
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= 0;
22235 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22237 bool arg3
= (bool) true ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char * kwnames
[] = {
22249 (char *) "self",(char *) "pos",(char *) "expand", NULL
22252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22254 if (!SWIG_IsOK(res1
)) {
22255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22257 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22258 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22259 if (!SWIG_IsOK(ecode2
)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22262 arg2
= static_cast< size_t >(val2
);
22264 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22265 if (!SWIG_IsOK(ecode3
)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22268 arg3
= static_cast< bool >(val3
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char * kwnames
[] = {
22297 (char *) "self",(char *) "pos", NULL
22300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22302 if (!SWIG_IsOK(res1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22305 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22307 if (!SWIG_IsOK(ecode2
)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22310 arg2
= static_cast< size_t >(val2
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)(arg1
)->CollapseNode(arg2
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22326 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= 0;
22328 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char * kwnames
[] = {
22338 (char *) "self",(char *) "pos", NULL
22341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22346 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22347 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22348 if (!SWIG_IsOK(ecode2
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22351 arg2
= static_cast< size_t >(val2
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_From_int(static_cast< int >(result
));
22365 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22366 PyObject
*resultobj
= 0;
22367 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22368 wxPyTreeCtrl
*result
= 0 ;
22371 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22379 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22395 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22398 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22399 return SWIG_Py_Void();
22402 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22403 return SWIG_Python_InitShadowInstance(args
);
22406 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
= 0;
22408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22409 int arg2
= (int) 0 ;
22410 int arg3
= (int) wxNOT_FOUND
;
22411 int arg4
= (int) wxNOT_FOUND
;
22412 wxTreebookEvent
*result
= 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 PyObject
* obj2
= 0 ;
22424 PyObject
* obj3
= 0 ;
22425 char * kwnames
[] = {
22426 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22432 if (!SWIG_IsOK(ecode1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22435 arg1
= static_cast< wxEventType
>(val1
);
22438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22439 if (!SWIG_IsOK(ecode2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22442 arg2
= static_cast< int >(val2
);
22445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22446 if (!SWIG_IsOK(ecode3
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22449 arg3
= static_cast< int >(val3
);
22452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22453 if (!SWIG_IsOK(ecode4
)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22456 arg4
= static_cast< int >(val4
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22471 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22475 return SWIG_Py_Void();
22478 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 return SWIG_Python_InitShadowInstance(args
);
22482 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxWindow
*arg1
= (wxWindow
*) 0 ;
22486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22488 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22489 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22490 long arg5
= (long) wxBK_DEFAULT
;
22491 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22492 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22493 wxToolbook
*result
= 0 ;
22502 bool temp6
= false ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 PyObject
* obj3
= 0 ;
22507 PyObject
* obj4
= 0 ;
22508 PyObject
* obj5
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22515 if (!SWIG_IsOK(res1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22518 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22520 if (!SWIG_IsOK(ecode2
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22523 arg2
= static_cast< int >(val2
);
22527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22537 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22538 if (!SWIG_IsOK(ecode5
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22541 arg5
= static_cast< long >(val5
);
22545 arg6
= wxString_in_helper(obj5
);
22546 if (arg6
== NULL
) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22571 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22572 PyObject
*resultobj
= 0;
22573 wxToolbook
*result
= 0 ;
22575 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (wxToolbook
*)new wxToolbook();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22589 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
= 0;
22591 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22592 wxWindow
*arg2
= (wxWindow
*) 0 ;
22594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22598 long arg6
= (long) 0 ;
22599 wxString
const &arg7_defvalue
= wxEmptyString
;
22600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22612 bool temp7
= false ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 PyObject
* obj2
= 0 ;
22616 PyObject
* obj3
= 0 ;
22617 PyObject
* obj4
= 0 ;
22618 PyObject
* obj5
= 0 ;
22619 PyObject
* obj6
= 0 ;
22620 char * kwnames
[] = {
22621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22626 if (!SWIG_IsOK(res1
)) {
22627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22629 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22631 if (!SWIG_IsOK(res2
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22636 if (!SWIG_IsOK(ecode3
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22639 arg3
= static_cast< int >(val3
);
22643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22653 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22654 if (!SWIG_IsOK(ecode6
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22657 arg6
= static_cast< long >(val6
);
22661 arg7
= wxString_in_helper(obj6
);
22662 if (arg7
== NULL
) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22689 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22690 PyObject
*resultobj
= 0;
22691 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22692 wxToolBarBase
*result
= 0 ;
22695 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22703 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22719 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22720 PyObject
*resultobj
= 0;
22721 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22724 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22732 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_Py_Void();
22746 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22749 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22750 return SWIG_Py_Void();
22753 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 return SWIG_Python_InitShadowInstance(args
);
22757 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
= 0;
22759 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22760 int arg2
= (int) 0 ;
22761 int arg3
= (int) wxNOT_FOUND
;
22762 int arg4
= (int) wxNOT_FOUND
;
22763 wxToolbookEvent
*result
= 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 PyObject
* obj3
= 0 ;
22776 char * kwnames
[] = {
22777 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22783 if (!SWIG_IsOK(ecode1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22786 arg1
= static_cast< wxEventType
>(val1
);
22789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22790 if (!SWIG_IsOK(ecode2
)) {
22791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22793 arg2
= static_cast< int >(val2
);
22796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22797 if (!SWIG_IsOK(ecode3
)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22800 arg3
= static_cast< int >(val3
);
22803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22804 if (!SWIG_IsOK(ecode4
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22807 arg4
= static_cast< int >(val4
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22822 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22825 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22826 return SWIG_Py_Void();
22829 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 return SWIG_Python_InitShadowInstance(args
);
22833 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22834 PyObject
*resultobj
= 0;
22835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22839 PyObject
*swig_obj
[1] ;
22841 if (!args
) SWIG_fail
;
22842 swig_obj
[0] = args
;
22843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22847 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (int)(arg1
)->GetId();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_From_int(static_cast< int >(result
));
22861 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22864 wxControl
*result
= 0 ;
22867 PyObject
*swig_obj
[1] ;
22869 if (!args
) SWIG_fail
;
22870 swig_obj
[0] = args
;
22871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22875 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (wxControl
*)(arg1
)->GetControl();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= wxPyMake_wxObject(result
, 0);
22891 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22894 wxToolBarBase
*result
= 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22905 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22921 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 PyObject
*resultobj
= 0;
22923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22935 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (int)(arg1
)->IsButton();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_From_int(static_cast< int >(result
));
22949 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22955 PyObject
*swig_obj
[1] ;
22957 if (!args
) SWIG_fail
;
22958 swig_obj
[0] = args
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22963 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (int)(arg1
)->IsControl();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_From_int(static_cast< int >(result
));
22977 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22991 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (int)(arg1
)->IsSeparator();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_From_int(static_cast< int >(result
));
23005 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 PyObject
*resultobj
= 0;
23007 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23011 PyObject
*swig_obj
[1] ;
23013 if (!args
) SWIG_fail
;
23014 swig_obj
[0] = args
;
23015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23016 if (!SWIG_IsOK(res1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23019 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (int)(arg1
)->GetStyle();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_From_int(static_cast< int >(result
));
23033 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 PyObject
*resultobj
= 0;
23035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23047 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (wxItemKind
)(arg1
)->GetKind();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_From_int(static_cast< int >(result
));
23061 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23075 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (bool)(arg1
)->IsEnabled();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23091 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23105 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)(arg1
)->IsToggled();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23127 PyObject
*swig_obj
[1] ;
23129 if (!args
) SWIG_fail
;
23130 swig_obj
[0] = args
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23135 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (bool)(arg1
)->CanBeToggled();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23151 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23152 PyObject
*resultobj
= 0;
23153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23154 wxBitmap
*result
= 0 ;
23157 PyObject
*swig_obj
[1] ;
23159 if (!args
) SWIG_fail
;
23160 swig_obj
[0] = args
;
23161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23162 if (!SWIG_IsOK(res1
)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23165 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23170 result
= (wxBitmap
*) &_result_ref
;
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 wxBitmap
* resultptr
= new wxBitmap(*result
);
23177 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23185 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23186 PyObject
*resultobj
= 0;
23187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23188 wxBitmap
*result
= 0 ;
23191 PyObject
*swig_obj
[1] ;
23193 if (!args
) SWIG_fail
;
23194 swig_obj
[0] = args
;
23195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23199 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23204 result
= (wxBitmap
*) &_result_ref
;
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 wxBitmap
* resultptr
= new wxBitmap(*result
);
23211 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23219 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23220 PyObject
*resultobj
= 0;
23221 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23225 PyObject
*swig_obj
[1] ;
23227 if (!args
) SWIG_fail
;
23228 swig_obj
[0] = args
;
23229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23233 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (arg1
)->GetBitmap();
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23247 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23248 PyObject
*resultobj
= 0;
23249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23253 PyObject
*swig_obj
[1] ;
23255 if (!args
) SWIG_fail
;
23256 swig_obj
[0] = args
;
23257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23258 if (!SWIG_IsOK(res1
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23261 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (arg1
)->GetLabel();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23281 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23282 PyObject
*resultobj
= 0;
23283 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23287 PyObject
*swig_obj
[1] ;
23289 if (!args
) SWIG_fail
;
23290 swig_obj
[0] = args
;
23291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23295 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (arg1
)->GetShortHelp();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23315 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 PyObject
*resultobj
= 0;
23317 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23321 PyObject
*swig_obj
[1] ;
23323 if (!args
) SWIG_fail
;
23324 swig_obj
[0] = args
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23329 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (arg1
)->GetLongHelp();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23349 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
= 0;
23351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "self",(char *) "enable", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23369 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23371 if (!SWIG_IsOK(ecode2
)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23374 arg2
= static_cast< bool >(val2
);
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)(arg1
)->Enable(arg2
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23390 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 PyObject
*resultobj
= 0;
23392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23395 PyObject
*swig_obj
[1] ;
23397 if (!args
) SWIG_fail
;
23398 swig_obj
[0] = args
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23403 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_Py_Void();
23417 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
= 0;
23419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char * kwnames
[] = {
23429 (char *) "self",(char *) "toggle", NULL
23432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23437 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23439 if (!SWIG_IsOK(ecode2
)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23442 arg2
= static_cast< bool >(val2
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (bool)(arg1
)->SetToggle(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23458 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23461 wxString
*arg2
= 0 ;
23465 bool temp2
= false ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "help", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23477 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23479 arg2
= wxString_in_helper(obj1
);
23480 if (arg2
== NULL
) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23506 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
= 0;
23508 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23509 wxString
*arg2
= 0 ;
23513 bool temp2
= false ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char * kwnames
[] = {
23517 (char *) "self",(char *) "help", NULL
23520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23525 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23527 arg2
= wxString_in_helper(obj1
);
23528 if (arg2
== NULL
) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23554 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
= 0;
23556 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23557 wxBitmap
*arg2
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "bmp", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23573 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23575 if (!SWIG_IsOK(res2
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23581 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_Py_Void();
23595 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23598 wxBitmap
*arg2
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "bmp", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23614 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23616 if (!SWIG_IsOK(res2
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23636 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
= 0;
23638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23639 wxString
*arg2
= 0 ;
23642 bool temp2
= false ;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char * kwnames
[] = {
23646 (char *) "self",(char *) "label", NULL
23649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23651 if (!SWIG_IsOK(res1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23654 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23656 arg2
= wxString_in_helper(obj1
);
23657 if (arg2
== NULL
) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetLabel((wxString
const &)*arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_Py_Void();
23681 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 PyObject
*resultobj
= 0;
23683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23686 PyObject
*swig_obj
[1] ;
23688 if (!args
) SWIG_fail
;
23689 swig_obj
[0] = args
;
23690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23691 if (!SWIG_IsOK(res1
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23694 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_Py_Void();
23708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= 0;
23710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23711 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "tbar", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23727 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23729 if (!SWIG_IsOK(res2
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23732 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 (arg1
)->Attach(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_Py_Void();
23746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 PyObject
*resultobj
= 0;
23748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23749 PyObject
*result
= 0 ;
23752 PyObject
*swig_obj
[1] ;
23754 if (!args
) SWIG_fail
;
23755 swig_obj
[0] = args
;
23756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23760 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= result
;
23774 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
= 0;
23776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23777 PyObject
*arg2
= (PyObject
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char * kwnames
[] = {
23783 (char *) "self",(char *) "clientData", NULL
23786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23788 if (!SWIG_IsOK(res1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23791 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= SWIG_Py_Void();
23806 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23809 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23810 return SWIG_Py_Void();
23813 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23817 wxString
*arg3
= 0 ;
23818 wxBitmap
*arg4
= 0 ;
23819 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23820 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23821 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23822 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23824 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23826 PyObject
*arg9
= (PyObject
*) NULL
;
23827 wxToolBarToolBase
*result
= 0 ;
23832 bool temp3
= false ;
23839 bool temp7
= false ;
23840 bool temp8
= false ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 PyObject
* obj2
= 0 ;
23844 PyObject
* obj3
= 0 ;
23845 PyObject
* obj4
= 0 ;
23846 PyObject
* obj5
= 0 ;
23847 PyObject
* obj6
= 0 ;
23848 PyObject
* obj7
= 0 ;
23849 PyObject
* obj8
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23864 arg2
= static_cast< int >(val2
);
23866 arg3
= wxString_in_helper(obj2
);
23867 if (arg3
== NULL
) SWIG_fail
;
23870 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23871 if (!SWIG_IsOK(res4
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23877 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23879 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23880 if (!SWIG_IsOK(res5
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23886 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23889 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23890 if (!SWIG_IsOK(ecode6
)) {
23891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23893 arg6
= static_cast< wxItemKind
>(val6
);
23897 arg7
= wxString_in_helper(obj6
);
23898 if (arg7
== NULL
) SWIG_fail
;
23904 arg8
= wxString_in_helper(obj7
);
23905 if (arg8
== NULL
) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23951 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
= 0;
23953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23956 wxString
*arg4
= 0 ;
23957 wxBitmap
*arg5
= 0 ;
23958 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23959 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23960 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23961 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23962 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23963 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23964 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23965 PyObject
*arg10
= (PyObject
*) NULL
;
23966 wxToolBarToolBase
*result
= 0 ;
23973 bool temp4
= false ;
23980 bool temp8
= false ;
23981 bool temp9
= false ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 PyObject
* obj2
= 0 ;
23985 PyObject
* obj3
= 0 ;
23986 PyObject
* obj4
= 0 ;
23987 PyObject
* obj5
= 0 ;
23988 PyObject
* obj6
= 0 ;
23989 PyObject
* obj7
= 0 ;
23990 PyObject
* obj8
= 0 ;
23991 PyObject
* obj9
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24001 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24006 arg2
= static_cast< size_t >(val2
);
24007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24008 if (!SWIG_IsOK(ecode3
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24011 arg3
= static_cast< int >(val3
);
24013 arg4
= wxString_in_helper(obj3
);
24014 if (arg4
== NULL
) SWIG_fail
;
24017 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24018 if (!SWIG_IsOK(res5
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24024 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24026 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24027 if (!SWIG_IsOK(res6
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24033 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24036 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24037 if (!SWIG_IsOK(ecode7
)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24040 arg7
= static_cast< wxItemKind
>(val7
);
24044 arg8
= wxString_in_helper(obj7
);
24045 if (arg8
== NULL
) SWIG_fail
;
24051 arg9
= wxString_in_helper(obj8
);
24052 if (arg9
== NULL
) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24098 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= 0;
24100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24101 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24102 wxToolBarToolBase
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "self",(char *) "tool", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24118 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24120 if (!SWIG_IsOK(res2
)) {
24121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24123 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24139 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24143 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24144 wxToolBarToolBase
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 char * kwnames
[] = {
24155 (char *) "self",(char *) "pos",(char *) "tool", NULL
24158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24160 if (!SWIG_IsOK(res1
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24163 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24165 if (!SWIG_IsOK(ecode2
)) {
24166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24168 arg2
= static_cast< size_t >(val2
);
24169 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24170 if (!SWIG_IsOK(res3
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24173 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24189 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
= 0;
24191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24192 wxControl
*arg2
= (wxControl
*) 0 ;
24193 wxString
const &arg3_defvalue
= wxEmptyString
;
24194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24195 wxToolBarToolBase
*result
= 0 ;
24200 bool temp3
= false ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 PyObject
* obj2
= 0 ;
24204 char * kwnames
[] = {
24205 (char *) "self",(char *) "control",(char *) "label", NULL
24208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24210 if (!SWIG_IsOK(res1
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24215 if (!SWIG_IsOK(res2
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24218 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24221 arg3
= wxString_in_helper(obj2
);
24222 if (arg3
== NULL
) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24249 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24253 wxControl
*arg3
= (wxControl
*) 0 ;
24254 wxString
const &arg4_defvalue
= wxEmptyString
;
24255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24256 wxToolBarToolBase
*result
= 0 ;
24263 bool temp4
= false ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 PyObject
* obj2
= 0 ;
24267 PyObject
* obj3
= 0 ;
24268 char * kwnames
[] = {
24269 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24277 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24278 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24279 if (!SWIG_IsOK(ecode2
)) {
24280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24282 arg2
= static_cast< size_t >(val2
);
24283 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24284 if (!SWIG_IsOK(res3
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24287 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24290 arg4
= wxString_in_helper(obj3
);
24291 if (arg4
== NULL
) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24318 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24322 wxControl
*result
= 0 ;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char * kwnames
[] = {
24330 (char *) "self",(char *) "id", NULL
24333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24335 if (!SWIG_IsOK(res1
)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24338 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24340 if (!SWIG_IsOK(ecode2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24343 arg2
= static_cast< int >(val2
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= wxPyMake_wxObject(result
, 0);
24359 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24360 PyObject
*resultobj
= 0;
24361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24362 wxToolBarToolBase
*result
= 0 ;
24365 PyObject
*swig_obj
[1] ;
24367 if (!args
) SWIG_fail
;
24368 swig_obj
[0] = args
;
24369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24373 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24389 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
= 0;
24391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24393 wxToolBarToolBase
*result
= 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 char * kwnames
[] = {
24401 (char *) "self",(char *) "pos", NULL
24404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24409 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24410 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24411 if (!SWIG_IsOK(ecode2
)) {
24412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24414 arg2
= static_cast< size_t >(val2
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24430 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
= 0;
24432 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24434 wxToolBarToolBase
*result
= 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "id", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24450 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24455 arg2
= static_cast< int >(val2
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24471 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "pos", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24491 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24492 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24496 arg2
= static_cast< size_t >(val2
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24512 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char * kwnames
[] = {
24524 (char *) "self",(char *) "id", NULL
24527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24529 if (!SWIG_IsOK(res1
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24532 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24534 if (!SWIG_IsOK(ecode2
)) {
24535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24537 arg2
= static_cast< int >(val2
);
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (bool)(arg1
)->DeleteTool(arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24553 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24558 PyObject
*swig_obj
[1] ;
24560 if (!args
) SWIG_fail
;
24561 swig_obj
[0] = args
;
24562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->ClearTools();
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_Py_Void();
24580 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24581 PyObject
*resultobj
= 0;
24582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24586 PyObject
*swig_obj
[1] ;
24588 if (!args
) SWIG_fail
;
24589 swig_obj
[0] = args
;
24590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24591 if (!SWIG_IsOK(res1
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24594 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (bool)(arg1
)->Realize();
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 PyObject
* obj2
= 0 ;
24624 char * kwnames
[] = {
24625 (char *) "self",(char *) "id",(char *) "enable", NULL
24628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24633 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24635 if (!SWIG_IsOK(ecode2
)) {
24636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24638 arg2
= static_cast< int >(val2
);
24639 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24640 if (!SWIG_IsOK(ecode3
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24643 arg3
= static_cast< bool >(val3
);
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->EnableTool(arg2
,arg3
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_Py_Void();
24657 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 PyObject
* obj2
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "id",(char *) "toggle", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24685 arg2
= static_cast< int >(val2
);
24686 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24687 if (!SWIG_IsOK(ecode3
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24690 arg3
= static_cast< bool >(val3
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 (arg1
)->ToggleTool(arg2
,arg3
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_Py_Void();
24704 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 PyObject
* obj2
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "self",(char *) "id",(char *) "toggle", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24727 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24729 if (!SWIG_IsOK(ecode2
)) {
24730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24732 arg2
= static_cast< int >(val2
);
24733 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24734 if (!SWIG_IsOK(ecode3
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24737 arg3
= static_cast< bool >(val3
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 (arg1
)->SetToggle(arg2
,arg3
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_Py_Void();
24751 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= 0;
24753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24755 PyObject
*result
= 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char * kwnames
[] = {
24763 (char *) "self",(char *) "id", NULL
24766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24771 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24773 if (!SWIG_IsOK(ecode2
)) {
24774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24776 arg2
= static_cast< int >(val2
);
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= result
;
24790 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
= 0;
24792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24794 PyObject
*arg3
= (PyObject
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 PyObject
* obj2
= 0 ;
24802 char * kwnames
[] = {
24803 (char *) "self",(char *) "id",(char *) "clientData", NULL
24806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24808 if (!SWIG_IsOK(res1
)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24811 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24813 if (!SWIG_IsOK(ecode2
)) {
24814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24816 arg2
= static_cast< int >(val2
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_Py_Void();
24831 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char * kwnames
[] = {
24843 (char *) "self",(char *) "id", NULL
24846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24848 if (!SWIG_IsOK(res1
)) {
24849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24851 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24853 if (!SWIG_IsOK(ecode2
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24856 arg2
= static_cast< int >(val2
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_From_int(static_cast< int >(result
));
24870 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
= 0;
24872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char * kwnames
[] = {
24882 (char *) "self",(char *) "id", NULL
24885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24890 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24892 if (!SWIG_IsOK(ecode2
)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24895 arg2
= static_cast< int >(val2
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (bool)(arg1
)->GetToolState(arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24911 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
= 0;
24913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 char * kwnames
[] = {
24923 (char *) "self",(char *) "id", NULL
24926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24931 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24933 if (!SWIG_IsOK(ecode2
)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24936 arg2
= static_cast< int >(val2
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24952 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24956 wxString
*arg3
= 0 ;
24961 bool temp3
= false ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 PyObject
* obj2
= 0 ;
24965 char * kwnames
[] = {
24966 (char *) "self",(char *) "id",(char *) "helpString", NULL
24969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24974 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24976 if (!SWIG_IsOK(ecode2
)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24979 arg2
= static_cast< int >(val2
);
24981 arg3
= wxString_in_helper(obj2
);
24982 if (arg3
== NULL
) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= SWIG_Py_Void();
25006 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
= 0;
25008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char * kwnames
[] = {
25018 (char *) "self",(char *) "id", NULL
25021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25026 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25028 if (!SWIG_IsOK(ecode2
)) {
25029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25031 arg2
= static_cast< int >(val2
);
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (arg1
)->GetToolShortHelp(arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25051 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
= 0;
25053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25055 wxString
*arg3
= 0 ;
25060 bool temp3
= false ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 PyObject
* obj2
= 0 ;
25064 char * kwnames
[] = {
25065 (char *) "self",(char *) "id",(char *) "helpString", NULL
25068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25073 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25075 if (!SWIG_IsOK(ecode2
)) {
25076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25078 arg2
= static_cast< int >(val2
);
25080 arg3
= wxString_in_helper(obj2
);
25081 if (arg3
== NULL
) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_Py_Void();
25105 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 char * kwnames
[] = {
25117 (char *) "self",(char *) "id", NULL
25120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25125 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25127 if (!SWIG_IsOK(ecode2
)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25130 arg2
= static_cast< int >(val2
);
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (arg1
)->GetToolLongHelp(arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25150 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 PyObject
* obj2
= 0 ;
25164 char * kwnames
[] = {
25165 (char *) "self",(char *) "x",(char *) "y", NULL
25168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25175 if (!SWIG_IsOK(ecode2
)) {
25176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25178 arg2
= static_cast< int >(val2
);
25179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25180 if (!SWIG_IsOK(ecode3
)) {
25181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25183 arg3
= static_cast< int >(val3
);
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 (arg1
)->SetMargins(arg2
,arg3
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_Py_Void();
25197 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
= 0;
25199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char * kwnames
[] = {
25207 (char *) "self",(char *) "size", NULL
25210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25215 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char * kwnames
[] = {
25244 (char *) "self",(char *) "packing", NULL
25247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25249 if (!SWIG_IsOK(res1
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25252 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25254 if (!SWIG_IsOK(ecode2
)) {
25255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25257 arg2
= static_cast< int >(val2
);
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->SetToolPacking(arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
= 0;
25273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char * kwnames
[] = {
25282 (char *) "self",(char *) "separation", NULL
25285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25292 if (!SWIG_IsOK(ecode2
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25295 arg2
= static_cast< int >(val2
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->SetToolSeparation(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_Py_Void();
25309 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 PyObject
*resultobj
= 0;
25311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25315 PyObject
*swig_obj
[1] ;
25317 if (!args
) SWIG_fail
;
25318 swig_obj
[0] = args
;
25319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25320 if (!SWIG_IsOK(res1
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25323 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (arg1
)->GetToolMargins();
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25337 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25338 PyObject
*resultobj
= 0;
25339 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25343 PyObject
*swig_obj
[1] ;
25345 if (!args
) SWIG_fail
;
25346 swig_obj
[0] = args
;
25347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (arg1
)->GetMargins();
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25365 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25379 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (int)(arg1
)->GetToolPacking();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_From_int(static_cast< int >(result
));
25393 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25399 PyObject
*swig_obj
[1] ;
25401 if (!args
) SWIG_fail
;
25402 swig_obj
[0] = args
;
25403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25407 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (int)(arg1
)->GetToolSeparation();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_int(static_cast< int >(result
));
25421 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char * kwnames
[] = {
25432 (char *) "self",(char *) "nRows", NULL
25435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25437 if (!SWIG_IsOK(res1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25442 if (!SWIG_IsOK(ecode2
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25445 arg2
= static_cast< int >(val2
);
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->SetRows(arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_Py_Void();
25459 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
= 0;
25461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 PyObject
* obj2
= 0 ;
25473 char * kwnames
[] = {
25474 (char *) "self",(char *) "rows",(char *) "cols", NULL
25477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25484 if (!SWIG_IsOK(ecode2
)) {
25485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25487 arg2
= static_cast< int >(val2
);
25488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25489 if (!SWIG_IsOK(ecode3
)) {
25490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25492 arg3
= static_cast< int >(val3
);
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= SWIG_Py_Void();
25506 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25507 PyObject
*resultobj
= 0;
25508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25512 PyObject
*swig_obj
[1] ;
25514 if (!args
) SWIG_fail
;
25515 swig_obj
[0] = args
;
25516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (int)(arg1
)->GetMaxRows();
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_From_int(static_cast< int >(result
));
25534 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25535 PyObject
*resultobj
= 0;
25536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25540 PyObject
*swig_obj
[1] ;
25542 if (!args
) SWIG_fail
;
25543 swig_obj
[0] = args
;
25544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25545 if (!SWIG_IsOK(res1
)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25548 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (int)(arg1
)->GetMaxCols();
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_From_int(static_cast< int >(result
));
25562 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= 0;
25564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "size", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25580 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_Py_Void();
25598 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25599 PyObject
*resultobj
= 0;
25600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25604 PyObject
*swig_obj
[1] ;
25606 if (!args
) SWIG_fail
;
25607 swig_obj
[0] = args
;
25608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25612 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (arg1
)->GetToolBitmapSize();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25626 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 PyObject
*resultobj
= 0;
25628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25632 PyObject
*swig_obj
[1] ;
25634 if (!args
) SWIG_fail
;
25635 swig_obj
[0] = args
;
25636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25637 if (!SWIG_IsOK(res1
)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25640 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (arg1
)->GetToolSize();
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25654 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
= 0;
25656 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25659 wxToolBarToolBase
*result
= 0 ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 PyObject
* obj2
= 0 ;
25669 char * kwnames
[] = {
25670 (char *) "self",(char *) "x",(char *) "y", NULL
25673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25678 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25680 if (!SWIG_IsOK(ecode2
)) {
25681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25683 arg2
= static_cast< int >(val2
);
25684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25685 if (!SWIG_IsOK(ecode3
)) {
25686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25688 arg3
= static_cast< int >(val3
);
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25704 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
= 0;
25706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25708 wxToolBarToolBase
*result
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "toolid", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25724 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25726 if (!SWIG_IsOK(ecode2
)) {
25727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25729 arg2
= static_cast< int >(val2
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25745 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25746 PyObject
*resultobj
= 0;
25747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25751 PyObject
*swig_obj
[1] ;
25753 if (!args
) SWIG_fail
;
25754 swig_obj
[0] = args
;
25755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25759 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (bool)(arg1
)->IsVertical();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25775 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25776 PyObject
*resultobj
= 0;
25777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25781 PyObject
*swig_obj
[1] ;
25783 if (!args
) SWIG_fail
;
25784 swig_obj
[0] = args
;
25785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25789 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25803 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25806 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25807 return SWIG_Py_Void();
25810 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
= 0;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25813 int arg2
= (int) -1 ;
25814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25818 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25819 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25820 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25821 wxToolBar
*result
= 0 ;
25830 bool temp6
= false ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 PyObject
* obj3
= 0 ;
25835 PyObject
* obj4
= 0 ;
25836 PyObject
* obj5
= 0 ;
25837 char * kwnames
[] = {
25838 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25843 if (!SWIG_IsOK(res1
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25849 if (!SWIG_IsOK(ecode2
)) {
25850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25852 arg2
= static_cast< int >(val2
);
25857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25868 if (!SWIG_IsOK(ecode5
)) {
25869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25871 arg5
= static_cast< long >(val5
);
25875 arg6
= wxString_in_helper(obj5
);
25876 if (arg6
== NULL
) SWIG_fail
;
25881 if (!wxPyCheckForApp()) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25902 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 PyObject
*resultobj
= 0;
25904 wxToolBar
*result
= 0 ;
25906 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25908 if (!wxPyCheckForApp()) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= (wxToolBar
*)new wxToolBar();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25921 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
= 0;
25923 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25924 wxWindow
*arg2
= (wxWindow
*) 0 ;
25925 int arg3
= (int) -1 ;
25926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25930 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25931 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25944 bool temp7
= false ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 PyObject
* obj3
= 0 ;
25949 PyObject
* obj4
= 0 ;
25950 PyObject
* obj5
= 0 ;
25951 PyObject
* obj6
= 0 ;
25952 char * kwnames
[] = {
25953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25961 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25963 if (!SWIG_IsOK(res2
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25969 if (!SWIG_IsOK(ecode3
)) {
25970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25972 arg3
= static_cast< int >(val3
);
25977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25987 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25988 if (!SWIG_IsOK(ecode6
)) {
25989 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25991 arg6
= static_cast< long >(val6
);
25995 arg7
= wxString_in_helper(obj6
);
25996 if (arg7
== NULL
) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26023 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
= 0;
26025 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26027 wxBitmap
*arg3
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 PyObject
* obj2
= 0 ;
26037 char * kwnames
[] = {
26038 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26046 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26048 if (!SWIG_IsOK(ecode2
)) {
26049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26051 arg2
= static_cast< int >(val2
);
26052 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26053 if (!SWIG_IsOK(res3
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26059 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 resultobj
= SWIG_Py_Void();
26073 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
= 0;
26075 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26077 wxBitmap
*arg3
= 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 PyObject
* obj2
= 0 ;
26087 char * kwnames
[] = {
26088 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26093 if (!SWIG_IsOK(res1
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26096 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26098 if (!SWIG_IsOK(ecode2
)) {
26099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26101 arg2
= static_cast< int >(val2
);
26102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26103 if (!SWIG_IsOK(res3
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26109 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_Py_Void();
26123 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
= 0;
26125 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26126 SwigValueWrapper
<wxVisualAttributes
> result
;
26129 PyObject
* obj0
= 0 ;
26130 char * kwnames
[] = {
26131 (char *) "variant", NULL
26134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26137 if (!SWIG_IsOK(ecode1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26140 arg1
= static_cast< wxWindowVariant
>(val1
);
26143 if (!wxPyCheckForApp()) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26156 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26159 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26160 return SWIG_Py_Void();
26163 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26164 return SWIG_Python_InitShadowInstance(args
);
26167 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26168 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26173 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26174 PyObject
*pyobj
= 0;
26178 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26180 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26187 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
= 0;
26189 wxColour
const &arg1_defvalue
= wxNullColour
;
26190 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26191 wxColour
const &arg2_defvalue
= wxNullColour
;
26192 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26193 wxFont
const &arg3_defvalue
= wxNullFont
;
26194 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26195 wxListItemAttr
*result
= 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 PyObject
* obj2
= 0 ;
26203 char * kwnames
[] = {
26204 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26211 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26221 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26222 if (!SWIG_IsOK(res3
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26228 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26243 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 PyObject
*resultobj
= 0;
26245 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26256 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_Py_Void();
26271 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
= 0;
26273 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26274 wxColour
*arg2
= 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 char * kwnames
[] = {
26281 (char *) "self",(char *) "colText", NULL
26284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26289 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_Py_Void();
26307 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
= 0;
26309 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26310 wxColour
*arg2
= 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char * kwnames
[] = {
26317 (char *) "self",(char *) "colBack", NULL
26320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26325 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26343 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
= 0;
26345 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "font", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26362 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26364 if (!SWIG_IsOK(res2
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26370 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 (arg1
)->SetFont((wxFont
const &)*arg2
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26398 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (bool)(arg1
)->HasTextColour();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26414 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 PyObject
*resultobj
= 0;
26416 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26420 PyObject
*swig_obj
[1] ;
26422 if (!args
) SWIG_fail
;
26423 swig_obj
[0] = args
;
26424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26428 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (bool)(arg1
)->HasBackgroundColour();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26444 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26445 PyObject
*resultobj
= 0;
26446 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26450 PyObject
*swig_obj
[1] ;
26452 if (!args
) SWIG_fail
;
26453 swig_obj
[0] = args
;
26454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26455 if (!SWIG_IsOK(res1
)) {
26456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26458 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 result
= (bool)(arg1
)->HasFont();
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26474 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26475 PyObject
*resultobj
= 0;
26476 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26480 PyObject
*swig_obj
[1] ;
26482 if (!args
) SWIG_fail
;
26483 swig_obj
[0] = args
;
26484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26485 if (!SWIG_IsOK(res1
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26488 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= (arg1
)->GetTextColour();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26502 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26503 PyObject
*resultobj
= 0;
26504 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26508 PyObject
*swig_obj
[1] ;
26510 if (!args
) SWIG_fail
;
26511 swig_obj
[0] = args
;
26512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26513 if (!SWIG_IsOK(res1
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26516 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (arg1
)->GetBackgroundColour();
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26530 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26531 PyObject
*resultobj
= 0;
26532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26536 PyObject
*swig_obj
[1] ;
26538 if (!args
) SWIG_fail
;
26539 swig_obj
[0] = args
;
26540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26544 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (arg1
)->GetFont();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26558 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
= 0;
26560 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26561 wxListItemAttr
*arg2
= 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char * kwnames
[] = {
26569 (char *) "self",(char *) "source", NULL
26572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26577 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26579 if (!SWIG_IsOK(res2
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26585 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26604 PyObject
*swig_obj
[1] ;
26606 if (!args
) SWIG_fail
;
26607 swig_obj
[0] = args
;
26608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26612 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 wxListItemAttr_Destroy(arg1
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26629 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26630 return SWIG_Py_Void();
26633 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 return SWIG_Python_InitShadowInstance(args
);
26637 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26638 PyObject
*resultobj
= 0;
26639 wxListItem
*result
= 0 ;
26641 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (wxListItem
*)new wxListItem();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26655 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26656 PyObject
*resultobj
= 0;
26657 wxListItem
*arg1
= (wxListItem
*) 0 ;
26660 PyObject
*swig_obj
[1] ;
26662 if (!args
) SWIG_fail
;
26663 swig_obj
[0] = args
;
26664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26668 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_Py_Void();
26683 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 PyObject
*resultobj
= 0;
26685 wxListItem
*arg1
= (wxListItem
*) 0 ;
26688 PyObject
*swig_obj
[1] ;
26690 if (!args
) SWIG_fail
;
26691 swig_obj
[0] = args
;
26692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26696 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_Py_Void();
26710 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 PyObject
*resultobj
= 0;
26712 wxListItem
*arg1
= (wxListItem
*) 0 ;
26715 PyObject
*swig_obj
[1] ;
26717 if (!args
) SWIG_fail
;
26718 swig_obj
[0] = args
;
26719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->ClearAttributes();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxListItem
*arg1
= (wxListItem
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "mask", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26756 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26757 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26761 arg2
= static_cast< long >(val2
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->SetMask(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxListItem
*arg1
= (wxListItem
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char * kwnames
[] = {
26786 (char *) "self",(char *) "id", NULL
26789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26795 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26796 if (!SWIG_IsOK(ecode2
)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26799 arg2
= static_cast< long >(val2
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 (arg1
)->SetId(arg2
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_Py_Void();
26813 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxListItem
*arg1
= (wxListItem
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "col", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26832 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26834 if (!SWIG_IsOK(ecode2
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26837 arg2
= static_cast< int >(val2
);
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->SetColumn(arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxListItem
*arg1
= (wxListItem
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "state", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26870 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26875 arg2
= static_cast< long >(val2
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->SetState(arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_Py_Void();
26889 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= 0;
26891 wxListItem
*arg1
= (wxListItem
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "stateMask", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26908 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26909 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26910 if (!SWIG_IsOK(ecode2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26913 arg2
= static_cast< long >(val2
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 (arg1
)->SetStateMask(arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_Py_Void();
26927 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxListItem
*arg1
= (wxListItem
*) 0 ;
26930 wxString
*arg2
= 0 ;
26933 bool temp2
= false ;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 char * kwnames
[] = {
26937 (char *) "self",(char *) "text", NULL
26940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26942 if (!SWIG_IsOK(res1
)) {
26943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26945 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26947 arg2
= wxString_in_helper(obj1
);
26948 if (arg2
== NULL
) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 (arg1
)->SetText((wxString
const &)*arg2
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_Py_Void();
26972 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
= 0;
26974 wxListItem
*arg1
= (wxListItem
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char * kwnames
[] = {
26983 (char *) "self",(char *) "image", NULL
26986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26991 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26993 if (!SWIG_IsOK(ecode2
)) {
26994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26996 arg2
= static_cast< int >(val2
);
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 (arg1
)->SetImage(arg2
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= SWIG_Py_Void();
27010 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
= 0;
27012 wxListItem
*arg1
= (wxListItem
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char * kwnames
[] = {
27021 (char *) "self",(char *) "data", NULL
27024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27026 if (!SWIG_IsOK(res1
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27030 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27031 if (!SWIG_IsOK(ecode2
)) {
27032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27034 arg2
= static_cast< long >(val2
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 (arg1
)->SetData(arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxListItem
*arg1
= (wxListItem
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char * kwnames
[] = {
27059 (char *) "self",(char *) "width", NULL
27062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27064 if (!SWIG_IsOK(res1
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27067 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27069 if (!SWIG_IsOK(ecode2
)) {
27070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27072 arg2
= static_cast< int >(val2
);
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 (arg1
)->SetWidth(arg2
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_Py_Void();
27086 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
= 0;
27088 wxListItem
*arg1
= (wxListItem
*) 0 ;
27089 wxListColumnFormat arg2
;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char * kwnames
[] = {
27097 (char *) "self",(char *) "align", NULL
27100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27105 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27107 if (!SWIG_IsOK(ecode2
)) {
27108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27110 arg2
= static_cast< wxListColumnFormat
>(val2
);
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 (arg1
)->SetAlign(arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
= 0;
27126 wxListItem
*arg1
= (wxListItem
*) 0 ;
27127 wxColour
*arg2
= 0 ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 char * kwnames
[] = {
27134 (char *) "self",(char *) "colText", NULL
27137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27142 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_Py_Void();
27160 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
= 0;
27162 wxListItem
*arg1
= (wxListItem
*) 0 ;
27163 wxColour
*arg2
= 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char * kwnames
[] = {
27170 (char *) "self",(char *) "colBack", NULL
27173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= SWIG_Py_Void();
27196 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
= 0;
27198 wxListItem
*arg1
= (wxListItem
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char * kwnames
[] = {
27207 (char *) "self",(char *) "font", NULL
27210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27212 if (!SWIG_IsOK(res1
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27215 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27217 if (!SWIG_IsOK(res2
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27223 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 (arg1
)->SetFont((wxFont
const &)*arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= SWIG_Py_Void();
27237 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27238 PyObject
*resultobj
= 0;
27239 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 PyObject
*swig_obj
[1] ;
27245 if (!args
) SWIG_fail
;
27246 swig_obj
[0] = args
;
27247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (long)(arg1
)->GetMask();
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_From_long(static_cast< long >(result
));
27265 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxListItem
*arg1
= (wxListItem
*) 0 ;
27271 PyObject
*swig_obj
[1] ;
27273 if (!args
) SWIG_fail
;
27274 swig_obj
[0] = args
;
27275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27279 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= (long)(arg1
)->GetId();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= SWIG_From_long(static_cast< long >(result
));
27293 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27294 PyObject
*resultobj
= 0;
27295 wxListItem
*arg1
= (wxListItem
*) 0 ;
27299 PyObject
*swig_obj
[1] ;
27301 if (!args
) SWIG_fail
;
27302 swig_obj
[0] = args
;
27303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27307 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (int)(arg1
)->GetColumn();
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_From_int(static_cast< int >(result
));
27321 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27322 PyObject
*resultobj
= 0;
27323 wxListItem
*arg1
= (wxListItem
*) 0 ;
27327 PyObject
*swig_obj
[1] ;
27329 if (!args
) SWIG_fail
;
27330 swig_obj
[0] = args
;
27331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27332 if (!SWIG_IsOK(res1
)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27335 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= (long)(arg1
)->GetState();
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_From_long(static_cast< long >(result
));
27349 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxListItem
*arg1
= (wxListItem
*) 0 ;
27352 wxString
*result
= 0 ;
27355 PyObject
*swig_obj
[1] ;
27357 if (!args
) SWIG_fail
;
27358 swig_obj
[0] = args
;
27359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27363 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 wxString
const &_result_ref
= (arg1
)->GetText();
27368 result
= (wxString
*) &_result_ref
;
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27386 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27388 wxListItem
*arg1
= (wxListItem
*) 0 ;
27392 PyObject
*swig_obj
[1] ;
27394 if (!args
) SWIG_fail
;
27395 swig_obj
[0] = args
;
27396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27400 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (int)(arg1
)->GetImage();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_From_int(static_cast< int >(result
));
27414 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (long)(arg1
)->GetData();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_From_long(static_cast< long >(result
));
27442 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxListItem
*arg1
= (wxListItem
*) 0 ;
27448 PyObject
*swig_obj
[1] ;
27450 if (!args
) SWIG_fail
;
27451 swig_obj
[0] = args
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27456 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (int)(arg1
)->GetWidth();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_From_int(static_cast< int >(result
));
27470 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxListItem
*arg1
= (wxListItem
*) 0 ;
27473 wxListColumnFormat result
;
27476 PyObject
*swig_obj
[1] ;
27478 if (!args
) SWIG_fail
;
27479 swig_obj
[0] = args
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27484 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_From_int(static_cast< int >(result
));
27498 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxListItem
*arg1
= (wxListItem
*) 0 ;
27501 wxListItemAttr
*result
= 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27512 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27526 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27527 PyObject
*resultobj
= 0;
27528 wxListItem
*arg1
= (wxListItem
*) 0 ;
27532 PyObject
*swig_obj
[1] ;
27534 if (!args
) SWIG_fail
;
27535 swig_obj
[0] = args
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (bool)(arg1
)->HasAttributes();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27556 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27557 PyObject
*resultobj
= 0;
27558 wxListItem
*arg1
= (wxListItem
*) 0 ;
27562 PyObject
*swig_obj
[1] ;
27564 if (!args
) SWIG_fail
;
27565 swig_obj
[0] = args
;
27566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27570 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27584 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 PyObject
*resultobj
= 0;
27586 wxListItem
*arg1
= (wxListItem
*) 0 ;
27590 PyObject
*swig_obj
[1] ;
27592 if (!args
) SWIG_fail
;
27593 swig_obj
[0] = args
;
27594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27598 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27612 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27613 PyObject
*resultobj
= 0;
27614 wxListItem
*arg1
= (wxListItem
*) 0 ;
27618 PyObject
*swig_obj
[1] ;
27620 if (!args
) SWIG_fail
;
27621 swig_obj
[0] = args
;
27622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27626 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= ((wxListItem
const *)arg1
)->GetFont();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27640 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27641 PyObject
*resultobj
= 0;
27642 wxListItem
*arg1
= (wxListItem
*) 0 ;
27648 PyObject
*swig_obj
[2] ;
27650 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27652 if (!SWIG_IsOK(res1
)) {
27653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27655 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27656 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27657 if (!SWIG_IsOK(ecode2
)) {
27658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27660 arg2
= static_cast< long >(val2
);
27661 if (arg1
) (arg1
)->m_mask
= arg2
;
27663 resultobj
= SWIG_Py_Void();
27670 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxListItem
*arg1
= (wxListItem
*) 0 ;
27676 PyObject
*swig_obj
[1] ;
27678 if (!args
) SWIG_fail
;
27679 swig_obj
[0] = args
;
27680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27681 if (!SWIG_IsOK(res1
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27684 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27685 result
= (long) ((arg1
)->m_mask
);
27686 resultobj
= SWIG_From_long(static_cast< long >(result
));
27693 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27694 PyObject
*resultobj
= 0;
27695 wxListItem
*arg1
= (wxListItem
*) 0 ;
27701 PyObject
*swig_obj
[2] ;
27703 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27708 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27709 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27710 if (!SWIG_IsOK(ecode2
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27713 arg2
= static_cast< long >(val2
);
27714 if (arg1
) (arg1
)->m_itemId
= arg2
;
27716 resultobj
= SWIG_Py_Void();
27723 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27724 PyObject
*resultobj
= 0;
27725 wxListItem
*arg1
= (wxListItem
*) 0 ;
27729 PyObject
*swig_obj
[1] ;
27731 if (!args
) SWIG_fail
;
27732 swig_obj
[0] = args
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27737 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27738 result
= (long) ((arg1
)->m_itemId
);
27739 resultobj
= SWIG_From_long(static_cast< long >(result
));
27746 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27747 PyObject
*resultobj
= 0;
27748 wxListItem
*arg1
= (wxListItem
*) 0 ;
27754 PyObject
*swig_obj
[2] ;
27756 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27761 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27762 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27763 if (!SWIG_IsOK(ecode2
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27766 arg2
= static_cast< int >(val2
);
27767 if (arg1
) (arg1
)->m_col
= arg2
;
27769 resultobj
= SWIG_Py_Void();
27776 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxListItem
*arg1
= (wxListItem
*) 0 ;
27782 PyObject
*swig_obj
[1] ;
27784 if (!args
) SWIG_fail
;
27785 swig_obj
[0] = args
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27790 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27791 result
= (int) ((arg1
)->m_col
);
27792 resultobj
= SWIG_From_int(static_cast< int >(result
));
27799 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 PyObject
*resultobj
= 0;
27801 wxListItem
*arg1
= (wxListItem
*) 0 ;
27807 PyObject
*swig_obj
[2] ;
27809 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27814 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27815 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27816 if (!SWIG_IsOK(ecode2
)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27819 arg2
= static_cast< long >(val2
);
27820 if (arg1
) (arg1
)->m_state
= arg2
;
27822 resultobj
= SWIG_Py_Void();
27829 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListItem
*arg1
= (wxListItem
*) 0 ;
27835 PyObject
*swig_obj
[1] ;
27837 if (!args
) SWIG_fail
;
27838 swig_obj
[0] = args
;
27839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27843 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27844 result
= (long) ((arg1
)->m_state
);
27845 resultobj
= SWIG_From_long(static_cast< long >(result
));
27852 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27853 PyObject
*resultobj
= 0;
27854 wxListItem
*arg1
= (wxListItem
*) 0 ;
27860 PyObject
*swig_obj
[2] ;
27862 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27867 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27868 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27869 if (!SWIG_IsOK(ecode2
)) {
27870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27872 arg2
= static_cast< long >(val2
);
27873 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27875 resultobj
= SWIG_Py_Void();
27882 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListItem
*arg1
= (wxListItem
*) 0 ;
27888 PyObject
*swig_obj
[1] ;
27890 if (!args
) SWIG_fail
;
27891 swig_obj
[0] = args
;
27892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27896 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27897 result
= (long) ((arg1
)->m_stateMask
);
27898 resultobj
= SWIG_From_long(static_cast< long >(result
));
27905 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListItem
*arg1
= (wxListItem
*) 0 ;
27908 wxString
*arg2
= (wxString
*) 0 ;
27911 bool temp2
= false ;
27912 PyObject
*swig_obj
[2] ;
27914 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27916 if (!SWIG_IsOK(res1
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27921 arg2
= wxString_in_helper(swig_obj
[1]);
27922 if (arg2
== NULL
) SWIG_fail
;
27925 if (arg1
) (arg1
)->m_text
= *arg2
;
27927 resultobj
= SWIG_Py_Void();
27942 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxListItem
*arg1
= (wxListItem
*) 0 ;
27945 wxString
*result
= 0 ;
27948 PyObject
*swig_obj
[1] ;
27950 if (!args
) SWIG_fail
;
27951 swig_obj
[0] = args
;
27952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27956 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27957 result
= (wxString
*)& ((arg1
)->m_text
);
27960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27971 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27972 PyObject
*resultobj
= 0;
27973 wxListItem
*arg1
= (wxListItem
*) 0 ;
27979 PyObject
*swig_obj
[2] ;
27981 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27987 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27988 if (!SWIG_IsOK(ecode2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27991 arg2
= static_cast< int >(val2
);
27992 if (arg1
) (arg1
)->m_image
= arg2
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxListItem
*arg1
= (wxListItem
*) 0 ;
28007 PyObject
*swig_obj
[1] ;
28009 if (!args
) SWIG_fail
;
28010 swig_obj
[0] = args
;
28011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28012 if (!SWIG_IsOK(res1
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28015 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28016 result
= (int) ((arg1
)->m_image
);
28017 resultobj
= SWIG_From_int(static_cast< int >(result
));
28024 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28025 PyObject
*resultobj
= 0;
28026 wxListItem
*arg1
= (wxListItem
*) 0 ;
28032 PyObject
*swig_obj
[2] ;
28034 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28039 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28040 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28041 if (!SWIG_IsOK(ecode2
)) {
28042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28044 arg2
= static_cast< long >(val2
);
28045 if (arg1
) (arg1
)->m_data
= arg2
;
28047 resultobj
= SWIG_Py_Void();
28054 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28055 PyObject
*resultobj
= 0;
28056 wxListItem
*arg1
= (wxListItem
*) 0 ;
28060 PyObject
*swig_obj
[1] ;
28062 if (!args
) SWIG_fail
;
28063 swig_obj
[0] = args
;
28064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28068 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28069 result
= (long) ((arg1
)->m_data
);
28070 resultobj
= SWIG_From_long(static_cast< long >(result
));
28077 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28078 PyObject
*resultobj
= 0;
28079 wxListItem
*arg1
= (wxListItem
*) 0 ;
28085 PyObject
*swig_obj
[2] ;
28087 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28092 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28093 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28094 if (!SWIG_IsOK(ecode2
)) {
28095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28097 arg2
= static_cast< int >(val2
);
28098 if (arg1
) (arg1
)->m_format
= arg2
;
28100 resultobj
= SWIG_Py_Void();
28107 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28108 PyObject
*resultobj
= 0;
28109 wxListItem
*arg1
= (wxListItem
*) 0 ;
28113 PyObject
*swig_obj
[1] ;
28115 if (!args
) SWIG_fail
;
28116 swig_obj
[0] = args
;
28117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28118 if (!SWIG_IsOK(res1
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28121 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28122 result
= (int) ((arg1
)->m_format
);
28123 resultobj
= SWIG_From_int(static_cast< int >(result
));
28130 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 PyObject
*resultobj
= 0;
28132 wxListItem
*arg1
= (wxListItem
*) 0 ;
28138 PyObject
*swig_obj
[2] ;
28140 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28145 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28146 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28147 if (!SWIG_IsOK(ecode2
)) {
28148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28150 arg2
= static_cast< int >(val2
);
28151 if (arg1
) (arg1
)->m_width
= arg2
;
28153 resultobj
= SWIG_Py_Void();
28160 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28161 PyObject
*resultobj
= 0;
28162 wxListItem
*arg1
= (wxListItem
*) 0 ;
28166 PyObject
*swig_obj
[1] ;
28168 if (!args
) SWIG_fail
;
28169 swig_obj
[0] = args
;
28170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28174 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28175 result
= (int) ((arg1
)->m_width
);
28176 resultobj
= SWIG_From_int(static_cast< int >(result
));
28183 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28186 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28187 return SWIG_Py_Void();
28190 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 return SWIG_Python_InitShadowInstance(args
);
28194 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
= 0;
28196 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28197 int arg2
= (int) 0 ;
28198 wxListEvent
*result
= 0 ;
28203 PyObject
* obj0
= 0 ;
28204 PyObject
* obj1
= 0 ;
28205 char * kwnames
[] = {
28206 (char *) "commandType",(char *) "id", NULL
28209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28212 if (!SWIG_IsOK(ecode1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28215 arg1
= static_cast< wxEventType
>(val1
);
28218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28219 if (!SWIG_IsOK(ecode2
)) {
28220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28222 arg2
= static_cast< int >(val2
);
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28237 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28238 PyObject
*resultobj
= 0;
28239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28245 PyObject
*swig_obj
[2] ;
28247 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28252 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28253 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28254 if (!SWIG_IsOK(ecode2
)) {
28255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28257 arg2
= static_cast< int >(val2
);
28258 if (arg1
) (arg1
)->m_code
= arg2
;
28260 resultobj
= SWIG_Py_Void();
28267 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28273 PyObject
*swig_obj
[1] ;
28275 if (!args
) SWIG_fail
;
28276 swig_obj
[0] = args
;
28277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28281 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28282 result
= (int) ((arg1
)->m_code
);
28283 resultobj
= SWIG_From_int(static_cast< int >(result
));
28290 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28291 PyObject
*resultobj
= 0;
28292 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28298 PyObject
*swig_obj
[2] ;
28300 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28302 if (!SWIG_IsOK(res1
)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28305 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28306 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28307 if (!SWIG_IsOK(ecode2
)) {
28308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28310 arg2
= static_cast< long >(val2
);
28311 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28313 resultobj
= SWIG_Py_Void();
28320 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 PyObject
*resultobj
= 0;
28322 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28334 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28335 result
= (long) ((arg1
)->m_oldItemIndex
);
28336 resultobj
= SWIG_From_long(static_cast< long >(result
));
28343 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28351 PyObject
*swig_obj
[2] ;
28353 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28359 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28360 if (!SWIG_IsOK(ecode2
)) {
28361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28363 arg2
= static_cast< long >(val2
);
28364 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28366 resultobj
= SWIG_Py_Void();
28373 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28374 PyObject
*resultobj
= 0;
28375 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28379 PyObject
*swig_obj
[1] ;
28381 if (!args
) SWIG_fail
;
28382 swig_obj
[0] = args
;
28383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28387 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28388 result
= (long) ((arg1
)->m_itemIndex
);
28389 resultobj
= SWIG_From_long(static_cast< long >(result
));
28396 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28397 PyObject
*resultobj
= 0;
28398 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28404 PyObject
*swig_obj
[2] ;
28406 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28408 if (!SWIG_IsOK(res1
)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28411 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28412 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28413 if (!SWIG_IsOK(ecode2
)) {
28414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28416 arg2
= static_cast< int >(val2
);
28417 if (arg1
) (arg1
)->m_col
= arg2
;
28419 resultobj
= SWIG_Py_Void();
28426 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28427 PyObject
*resultobj
= 0;
28428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28432 PyObject
*swig_obj
[1] ;
28434 if (!args
) SWIG_fail
;
28435 swig_obj
[0] = args
;
28436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28440 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28441 result
= (int) ((arg1
)->m_col
);
28442 resultobj
= SWIG_From_int(static_cast< int >(result
));
28449 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 PyObject
*resultobj
= 0;
28451 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28452 wxPoint
*arg2
= (wxPoint
*) 0 ;
28457 PyObject
*swig_obj
[2] ;
28459 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28461 if (!SWIG_IsOK(res1
)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28464 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28465 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28466 if (!SWIG_IsOK(res2
)) {
28467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28469 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28470 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28472 resultobj
= SWIG_Py_Void();
28479 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 PyObject
*resultobj
= 0;
28481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28482 wxPoint
*result
= 0 ;
28485 PyObject
*swig_obj
[1] ;
28487 if (!args
) SWIG_fail
;
28488 swig_obj
[0] = args
;
28489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28493 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28494 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28502 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28505 wxListItem
*result
= 0 ;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28517 result
= (wxListItem
*)& ((arg1
)->m_item
);
28519 resultobj
= wxPyMake_wxObject(result
, 0);
28527 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28528 PyObject
*resultobj
= 0;
28529 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28533 PyObject
*swig_obj
[1] ;
28535 if (!args
) SWIG_fail
;
28536 swig_obj
[0] = args
;
28537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28538 if (!SWIG_IsOK(res1
)) {
28539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28541 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (int)(arg1
)->GetKeyCode();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_From_int(static_cast< int >(result
));
28555 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28561 PyObject
*swig_obj
[1] ;
28563 if (!args
) SWIG_fail
;
28564 swig_obj
[0] = args
;
28565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28566 if (!SWIG_IsOK(res1
)) {
28567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28569 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 result
= (long)(arg1
)->GetIndex();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_From_long(static_cast< long >(result
));
28583 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28584 PyObject
*resultobj
= 0;
28585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28589 PyObject
*swig_obj
[1] ;
28591 if (!args
) SWIG_fail
;
28592 swig_obj
[0] = args
;
28593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28594 if (!SWIG_IsOK(res1
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28597 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (int)(arg1
)->GetColumn();
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_From_int(static_cast< int >(result
));
28611 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28612 PyObject
*resultobj
= 0;
28613 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28617 PyObject
*swig_obj
[1] ;
28619 if (!args
) SWIG_fail
;
28620 swig_obj
[0] = args
;
28621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28625 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (arg1
)->GetPoint();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28639 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28642 wxString
*result
= 0 ;
28645 PyObject
*swig_obj
[1] ;
28647 if (!args
) SWIG_fail
;
28648 swig_obj
[0] = args
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28653 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 wxString
const &_result_ref
= (arg1
)->GetLabel();
28658 result
= (wxString
*) &_result_ref
;
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28676 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28677 PyObject
*resultobj
= 0;
28678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28679 wxString
*result
= 0 ;
28682 PyObject
*swig_obj
[1] ;
28684 if (!args
) SWIG_fail
;
28685 swig_obj
[0] = args
;
28686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28690 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 wxString
const &_result_ref
= (arg1
)->GetText();
28695 result
= (wxString
*) &_result_ref
;
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28704 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28713 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28714 PyObject
*resultobj
= 0;
28715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28719 PyObject
*swig_obj
[1] ;
28721 if (!args
) SWIG_fail
;
28722 swig_obj
[0] = args
;
28723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28727 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (int)(arg1
)->GetImage();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_From_int(static_cast< int >(result
));
28741 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28742 PyObject
*resultobj
= 0;
28743 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28747 PyObject
*swig_obj
[1] ;
28749 if (!args
) SWIG_fail
;
28750 swig_obj
[0] = args
;
28751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28752 if (!SWIG_IsOK(res1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28755 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (long)(arg1
)->GetData();
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_From_long(static_cast< long >(result
));
28769 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28770 PyObject
*resultobj
= 0;
28771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28775 PyObject
*swig_obj
[1] ;
28777 if (!args
) SWIG_fail
;
28778 swig_obj
[0] = args
;
28779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28783 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (long)(arg1
)->GetMask();
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_From_long(static_cast< long >(result
));
28797 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28798 PyObject
*resultobj
= 0;
28799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28800 wxListItem
*result
= 0 ;
28803 PyObject
*swig_obj
[1] ;
28805 if (!args
) SWIG_fail
;
28806 swig_obj
[0] = args
;
28807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28808 if (!SWIG_IsOK(res1
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28811 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28816 result
= (wxListItem
*) &_result_ref
;
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28828 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 PyObject
*resultobj
= 0;
28830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28834 PyObject
*swig_obj
[1] ;
28836 if (!args
) SWIG_fail
;
28837 swig_obj
[0] = args
;
28838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28842 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (long)(arg1
)->GetCacheFrom();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_From_long(static_cast< long >(result
));
28856 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28857 PyObject
*resultobj
= 0;
28858 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28862 PyObject
*swig_obj
[1] ;
28864 if (!args
) SWIG_fail
;
28865 swig_obj
[0] = args
;
28866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28867 if (!SWIG_IsOK(res1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28870 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (long)(arg1
)->GetCacheTo();
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_From_long(static_cast< long >(result
));
28884 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28885 PyObject
*resultobj
= 0;
28886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28890 PyObject
*swig_obj
[1] ;
28892 if (!args
) SWIG_fail
;
28893 swig_obj
[0] = args
;
28894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28898 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28914 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "editCancelled", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28933 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28935 if (!SWIG_IsOK(ecode2
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28938 arg2
= static_cast< bool >(val2
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 (arg1
)->SetEditCanceled(arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_Py_Void();
28952 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28955 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28956 return SWIG_Py_Void();
28959 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28960 return SWIG_Python_InitShadowInstance(args
);
28963 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
= 0;
28965 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 int arg2
= (int) -1 ;
28967 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28968 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28969 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28970 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28971 long arg5
= (long) wxLC_ICON
;
28972 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28973 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28974 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28975 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28976 wxPyListCtrl
*result
= 0 ;
28987 bool temp7
= false ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 PyObject
* obj2
= 0 ;
28991 PyObject
* obj3
= 0 ;
28992 PyObject
* obj4
= 0 ;
28993 PyObject
* obj5
= 0 ;
28994 PyObject
* obj6
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29007 if (!SWIG_IsOK(ecode2
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29010 arg2
= static_cast< int >(val2
);
29015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29025 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29026 if (!SWIG_IsOK(ecode5
)) {
29027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29029 arg5
= static_cast< long >(val5
);
29032 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29033 if (!SWIG_IsOK(res6
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29039 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29043 arg7
= wxString_in_helper(obj6
);
29044 if (arg7
== NULL
) SWIG_fail
;
29049 if (!wxPyCheckForApp()) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29070 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 PyObject
*resultobj
= 0;
29072 wxPyListCtrl
*result
= 0 ;
29074 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29076 if (!wxPyCheckForApp()) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29089 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
= 0;
29091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29092 wxWindow
*arg2
= (wxWindow
*) 0 ;
29093 int arg3
= (int) -1 ;
29094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29098 long arg6
= (long) wxLC_ICON
;
29099 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29100 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29101 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29102 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29116 bool temp8
= false ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 PyObject
* obj3
= 0 ;
29121 PyObject
* obj4
= 0 ;
29122 PyObject
* obj5
= 0 ;
29123 PyObject
* obj6
= 0 ;
29124 PyObject
* obj7
= 0 ;
29125 char * kwnames
[] = {
29126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29134 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29136 if (!SWIG_IsOK(res2
)) {
29137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29142 if (!SWIG_IsOK(ecode3
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29145 arg3
= static_cast< int >(val3
);
29150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29161 if (!SWIG_IsOK(ecode6
)) {
29162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29164 arg6
= static_cast< long >(val6
);
29167 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29168 if (!SWIG_IsOK(res7
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29174 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29178 arg8
= wxString_in_helper(obj7
);
29179 if (arg8
== NULL
) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29206 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
= 0;
29208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29209 PyObject
*arg2
= (PyObject
*) 0 ;
29210 PyObject
*arg3
= (PyObject
*) 0 ;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 char * kwnames
[] = {
29217 (char *) "self",(char *) "self",(char *) "_class", NULL
29220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29225 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_Py_Void();
29241 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
= 0;
29243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29245 wxListItem
*result
= 0 ;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 char * kwnames
[] = {
29253 (char *) "self",(char *) "col", NULL
29256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29258 if (!SWIG_IsOK(res1
)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29263 if (!SWIG_IsOK(ecode2
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29266 arg2
= static_cast< int >(val2
);
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= wxPyMake_wxObject(result
, 0);
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29286 wxListItem
*arg3
= 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 PyObject
* obj2
= 0 ;
29297 char * kwnames
[] = {
29298 (char *) "self",(char *) "col",(char *) "item", NULL
29301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29306 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29308 if (!SWIG_IsOK(ecode2
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29311 arg2
= static_cast< int >(val2
);
29312 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29313 if (!SWIG_IsOK(res3
)) {
29314 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29319 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29335 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 char * kwnames
[] = {
29347 (char *) "self",(char *) "col", NULL
29350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29352 if (!SWIG_IsOK(res1
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29355 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29357 if (!SWIG_IsOK(ecode2
)) {
29358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29360 arg2
= static_cast< int >(val2
);
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= SWIG_From_int(static_cast< int >(result
));
29374 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
= 0;
29376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29386 PyObject
* obj0
= 0 ;
29387 PyObject
* obj1
= 0 ;
29388 PyObject
* obj2
= 0 ;
29389 char * kwnames
[] = {
29390 (char *) "self",(char *) "col",(char *) "width", NULL
29393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29398 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29400 if (!SWIG_IsOK(ecode2
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29403 arg2
= static_cast< int >(val2
);
29404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29405 if (!SWIG_IsOK(ecode3
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29408 arg3
= static_cast< int >(val3
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29425 PyObject
*resultobj
= 0;
29426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29430 PyObject
*swig_obj
[1] ;
29432 if (!args
) SWIG_fail
;
29433 swig_obj
[0] = args
;
29434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29438 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= SWIG_From_int(static_cast< int >(result
));
29452 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29453 PyObject
*resultobj
= 0;
29454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29458 PyObject
*swig_obj
[1] ;
29460 if (!args
) SWIG_fail
;
29461 swig_obj
[0] = args
;
29462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29463 if (!SWIG_IsOK(res1
)) {
29464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29466 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29480 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29481 PyObject
*resultobj
= 0;
29482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29483 wxTextCtrl
*result
= 0 ;
29486 PyObject
*swig_obj
[1] ;
29488 if (!args
) SWIG_fail
;
29489 swig_obj
[0] = args
;
29490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29494 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= wxPyMake_wxObject(result
, 0);
29510 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29514 int arg3
= (int) 0 ;
29515 wxListItem
*result
= 0 ;
29522 PyObject
* obj0
= 0 ;
29523 PyObject
* obj1
= 0 ;
29524 PyObject
* obj2
= 0 ;
29525 char * kwnames
[] = {
29526 (char *) "self",(char *) "itemId",(char *) "col", NULL
29529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29531 if (!SWIG_IsOK(res1
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29534 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29536 if (!SWIG_IsOK(ecode2
)) {
29537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29539 arg2
= static_cast< long >(val2
);
29541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29542 if (!SWIG_IsOK(ecode3
)) {
29543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29545 arg3
= static_cast< int >(val3
);
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= wxPyMake_wxObject(result
, 0);
29562 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
= 0;
29564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29565 wxListItem
*arg2
= 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 char * kwnames
[] = {
29574 (char *) "self",(char *) "info", NULL
29577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29582 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29584 if (!SWIG_IsOK(res2
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29590 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (bool)(arg1
)->SetItem(*arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29606 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29611 wxString
*arg4
= 0 ;
29612 int arg5
= (int) -1 ;
29620 bool temp4
= false ;
29623 PyObject
* obj0
= 0 ;
29624 PyObject
* obj1
= 0 ;
29625 PyObject
* obj2
= 0 ;
29626 PyObject
* obj3
= 0 ;
29627 PyObject
* obj4
= 0 ;
29628 char * kwnames
[] = {
29629 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29637 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29639 if (!SWIG_IsOK(ecode2
)) {
29640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29642 arg2
= static_cast< long >(val2
);
29643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29644 if (!SWIG_IsOK(ecode3
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29647 arg3
= static_cast< int >(val3
);
29649 arg4
= wxString_in_helper(obj3
);
29650 if (arg4
== NULL
) SWIG_fail
;
29654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29655 if (!SWIG_IsOK(ecode5
)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29658 arg5
= static_cast< int >(val5
);
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= SWIG_From_long(static_cast< long >(result
));
29681 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 PyObject
* obj2
= 0 ;
29696 char * kwnames
[] = {
29697 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29705 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29706 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29707 if (!SWIG_IsOK(ecode2
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29710 arg2
= static_cast< long >(val2
);
29711 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29712 if (!SWIG_IsOK(ecode3
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29715 arg3
= static_cast< long >(val3
);
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_From_int(static_cast< int >(result
));
29729 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
= 0;
29731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 PyObject
* obj2
= 0 ;
29747 PyObject
* obj3
= 0 ;
29748 char * kwnames
[] = {
29749 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29754 if (!SWIG_IsOK(res1
)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29757 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29759 if (!SWIG_IsOK(ecode2
)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29762 arg2
= static_cast< long >(val2
);
29763 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29764 if (!SWIG_IsOK(ecode3
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29767 arg3
= static_cast< long >(val3
);
29768 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29769 if (!SWIG_IsOK(ecode4
)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29772 arg4
= static_cast< long >(val4
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29788 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
= 0;
29790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29793 int arg4
= (int) -1 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 PyObject
* obj2
= 0 ;
29806 PyObject
* obj3
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29818 if (!SWIG_IsOK(ecode2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29821 arg2
= static_cast< long >(val2
);
29822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29823 if (!SWIG_IsOK(ecode3
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29826 arg3
= static_cast< int >(val3
);
29828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29829 if (!SWIG_IsOK(ecode4
)) {
29830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29832 arg4
= static_cast< int >(val4
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29849 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
= 0;
29851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 PyObject
* obj2
= 0 ;
29867 PyObject
* obj3
= 0 ;
29868 char * kwnames
[] = {
29869 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29874 if (!SWIG_IsOK(res1
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29877 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29879 if (!SWIG_IsOK(ecode2
)) {
29880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29882 arg2
= static_cast< long >(val2
);
29883 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29884 if (!SWIG_IsOK(ecode3
)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29887 arg3
= static_cast< long >(val3
);
29888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29889 if (!SWIG_IsOK(ecode4
)) {
29890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29892 arg4
= static_cast< int >(val4
);
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29908 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= 0;
29910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "item", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29933 arg2
= static_cast< long >(val2
);
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29953 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29957 wxString
*arg3
= 0 ;
29962 bool temp3
= false ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 PyObject
* obj2
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "self",(char *) "item",(char *) "str", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29976 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29977 if (!SWIG_IsOK(ecode2
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29980 arg2
= static_cast< long >(val2
);
29982 arg3
= wxString_in_helper(obj2
);
29983 if (arg3
== NULL
) SWIG_fail
;
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_Py_Void();
30007 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= 0;
30009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "self",(char *) "item", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30029 if (!SWIG_IsOK(ecode2
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30032 arg2
= static_cast< long >(val2
);
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_From_long(static_cast< long >(result
));
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "item",(char *) "data", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30070 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30072 if (!SWIG_IsOK(ecode2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30075 arg2
= static_cast< long >(val2
);
30076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30077 if (!SWIG_IsOK(ecode3
)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30080 arg3
= static_cast< long >(val3
);
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30096 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char * kwnames
[] = {
30108 (char *) "self",(char *) "item", NULL
30111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30113 if (!SWIG_IsOK(res1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30116 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30117 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30118 if (!SWIG_IsOK(ecode2
)) {
30119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30121 arg2
= static_cast< long >(val2
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30135 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30139 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 PyObject
* obj2
= 0 ;
30150 char * kwnames
[] = {
30151 (char *) "self",(char *) "item",(char *) "code", NULL
30154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30156 if (!SWIG_IsOK(res1
)) {
30157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30159 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30161 if (!SWIG_IsOK(ecode2
)) {
30162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30164 arg2
= static_cast< long >(val2
);
30166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30167 if (!SWIG_IsOK(ecode3
)) {
30168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30170 arg3
= static_cast< int >(val3
);
30173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30174 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30185 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
= 0;
30187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30189 wxPoint
*arg3
= 0 ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 PyObject
* obj2
= 0 ;
30199 char * kwnames
[] = {
30200 (char *) "self",(char *) "item",(char *) "pos", NULL
30203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30205 if (!SWIG_IsOK(res1
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30208 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30209 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30210 if (!SWIG_IsOK(ecode2
)) {
30211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30213 arg2
= static_cast< long >(val2
);
30216 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30233 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30234 PyObject
*resultobj
= 0;
30235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30239 PyObject
*swig_obj
[1] ;
30241 if (!args
) SWIG_fail
;
30242 swig_obj
[0] = args
;
30243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 resultobj
= SWIG_From_int(static_cast< int >(result
));
30261 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30262 PyObject
*resultobj
= 0;
30263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30267 PyObject
*swig_obj
[1] ;
30269 if (!args
) SWIG_fail
;
30270 swig_obj
[0] = args
;
30271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30275 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_From_int(static_cast< int >(result
));
30289 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30290 PyObject
*resultobj
= 0;
30291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30295 PyObject
*swig_obj
[1] ;
30297 if (!args
) SWIG_fail
;
30298 swig_obj
[0] = args
;
30299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30300 if (!SWIG_IsOK(res1
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30317 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
= 0;
30319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30321 bool arg3
= (bool) false ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 PyObject
* obj2
= 0 ;
30331 char * kwnames
[] = {
30332 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30337 if (!SWIG_IsOK(res1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30340 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30342 if (!SWIG_IsOK(ecode2
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30345 arg2
= static_cast< int >(val2
);
30347 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30348 if (!SWIG_IsOK(ecode3
)) {
30349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30351 arg3
= static_cast< bool >(val3
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->SetItemSpacing(arg2
,arg3
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30372 PyObject
*swig_obj
[1] ;
30374 if (!args
) SWIG_fail
;
30375 swig_obj
[0] = args
;
30376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30380 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_From_int(static_cast< int >(result
));
30394 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30400 PyObject
*swig_obj
[1] ;
30402 if (!args
) SWIG_fail
;
30403 swig_obj
[0] = args
;
30404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30405 if (!SWIG_IsOK(res1
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30422 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30425 wxColour
*arg2
= 0 ;
30429 PyObject
* obj0
= 0 ;
30430 PyObject
* obj1
= 0 ;
30431 char * kwnames
[] = {
30432 (char *) "self",(char *) "col", NULL
30435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30437 if (!SWIG_IsOK(res1
)) {
30438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= SWIG_Py_Void();
30458 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30459 PyObject
*resultobj
= 0;
30460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30464 PyObject
*swig_obj
[1] ;
30466 if (!args
) SWIG_fail
;
30467 swig_obj
[0] = args
;
30468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_From_long(static_cast< long >(result
));
30486 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30490 bool arg3
= (bool) true ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 PyObject
* obj2
= 0 ;
30500 char * kwnames
[] = {
30501 (char *) "self",(char *) "style",(char *) "add", NULL
30504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30506 if (!SWIG_IsOK(res1
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30509 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30511 if (!SWIG_IsOK(ecode2
)) {
30512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30514 arg2
= static_cast< long >(val2
);
30516 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30517 if (!SWIG_IsOK(ecode3
)) {
30518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30520 arg3
= static_cast< bool >(val3
);
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 (arg1
)->SetSingleStyle(arg2
,arg3
);
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= SWIG_Py_Void();
30535 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
= 0;
30537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30539 int arg3
= (int) wxLIST_NEXT_ALL
;
30540 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 PyObject
* obj2
= 0 ;
30553 PyObject
* obj3
= 0 ;
30554 char * kwnames
[] = {
30555 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30560 if (!SWIG_IsOK(res1
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30563 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30565 if (!SWIG_IsOK(ecode2
)) {
30566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30568 arg2
= static_cast< long >(val2
);
30570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30571 if (!SWIG_IsOK(ecode3
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30574 arg3
= static_cast< int >(val3
);
30577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30578 if (!SWIG_IsOK(ecode4
)) {
30579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30581 arg4
= static_cast< int >(val4
);
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_From_long(static_cast< long >(result
));
30596 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= 0;
30598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30600 wxImageList
*result
= 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 char * kwnames
[] = {
30608 (char *) "self",(char *) "which", NULL
30611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30613 if (!SWIG_IsOK(res1
)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30616 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30618 if (!SWIG_IsOK(ecode2
)) {
30619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30621 arg2
= static_cast< int >(val2
);
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30637 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30640 wxImageList
*arg2
= (wxImageList
*) 0 ;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 PyObject
* obj2
= 0 ;
30651 char * kwnames
[] = {
30652 (char *) "self",(char *) "imageList",(char *) "which", NULL
30655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30662 if (!SWIG_IsOK(res2
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30665 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30667 if (!SWIG_IsOK(ecode3
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30670 arg3
= static_cast< int >(val3
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->SetImageList(arg2
,arg3
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
= 0;
30686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30687 wxImageList
*arg2
= (wxImageList
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 char * kwnames
[] = {
30698 (char *) "self",(char *) "imageList",(char *) "which", NULL
30701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) 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_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30707 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30708 if (!SWIG_IsOK(res2
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30712 if (!SWIG_IsOK(ecode3
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30715 arg3
= static_cast< int >(val3
);
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->AssignImageList(arg2
,arg3
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_Py_Void();
30729 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30730 PyObject
*resultobj
= 0;
30731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30735 PyObject
*swig_obj
[1] ;
30737 if (!args
) SWIG_fail
;
30738 swig_obj
[0] = args
;
30739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30740 if (!SWIG_IsOK(res1
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30743 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30759 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30760 PyObject
*resultobj
= 0;
30761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30765 PyObject
*swig_obj
[1] ;
30767 if (!args
) SWIG_fail
;
30768 swig_obj
[0] = args
;
30769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30770 if (!SWIG_IsOK(res1
)) {
30771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30773 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30789 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
= 0;
30791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "item", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30813 arg2
= static_cast< long >(val2
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 (arg1
)->RefreshItem(arg2
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_Py_Void();
30827 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30828 PyObject
*resultobj
= 0;
30829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30852 if (!SWIG_IsOK(ecode2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30855 arg2
= static_cast< long >(val2
);
30856 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30857 if (!SWIG_IsOK(ecode3
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30860 arg3
= static_cast< long >(val3
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->RefreshItems(arg2
,arg3
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_Py_Void();
30874 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
= 0;
30876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30877 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 char * kwnames
[] = {
30886 (char *) "self",(char *) "flag", NULL
30889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30891 if (!SWIG_IsOK(res1
)) {
30892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30894 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30897 if (!SWIG_IsOK(ecode2
)) {
30898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30900 arg2
= static_cast< int >(val2
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)(arg1
)->Arrange(arg2
);
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30917 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
= 0;
30919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 char * kwnames
[] = {
30929 (char *) "self",(char *) "item", NULL
30932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30937 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30939 if (!SWIG_IsOK(ecode2
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30942 arg2
= static_cast< long >(val2
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)(arg1
)->DeleteItem(arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30958 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30959 PyObject
*resultobj
= 0;
30960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30964 PyObject
*swig_obj
[1] ;
30966 if (!args
) SWIG_fail
;
30967 swig_obj
[0] = args
;
30968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30969 if (!SWIG_IsOK(res1
)) {
30970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30972 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= (bool)(arg1
)->DeleteAllItems();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30988 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
= 0;
30990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 char * kwnames
[] = {
31000 (char *) "self",(char *) "col", NULL
31003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31005 if (!SWIG_IsOK(res1
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31008 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31010 if (!SWIG_IsOK(ecode2
)) {
31011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31013 arg2
= static_cast< int >(val2
);
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31029 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31030 PyObject
*resultobj
= 0;
31031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31035 PyObject
*swig_obj
[1] ;
31037 if (!args
) SWIG_fail
;
31038 swig_obj
[0] = args
;
31039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31040 if (!SWIG_IsOK(res1
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31043 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (bool)(arg1
)->DeleteAllColumns();
31047 wxPyEndAllowThreads(__tstate
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31059 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31060 PyObject
*resultobj
= 0;
31061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31064 PyObject
*swig_obj
[1] ;
31066 if (!args
) SWIG_fail
;
31067 swig_obj
[0] = args
;
31068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31072 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->ClearAll();
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= 0;
31088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char * kwnames
[] = {
31097 (char *) "self",(char *) "item", NULL
31100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31102 if (!SWIG_IsOK(res1
)) {
31103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31106 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31107 if (!SWIG_IsOK(ecode2
)) {
31108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31110 arg2
= static_cast< long >(val2
);
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 (arg1
)->EditLabel(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= SWIG_Py_Void();
31124 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31125 PyObject
*resultobj
= 0;
31126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 char * kwnames
[] = {
31136 (char *) "self",(char *) "item", NULL
31139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31141 if (!SWIG_IsOK(res1
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31144 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31146 if (!SWIG_IsOK(ecode2
)) {
31147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31149 arg2
= static_cast< long >(val2
);
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31165 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31169 wxString
*arg3
= 0 ;
31170 bool arg4
= (bool) false ;
31176 bool temp3
= false ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 PyObject
* obj2
= 0 ;
31182 PyObject
* obj3
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31192 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31194 if (!SWIG_IsOK(ecode2
)) {
31195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31197 arg2
= static_cast< long >(val2
);
31199 arg3
= wxString_in_helper(obj2
);
31200 if (arg3
== NULL
) SWIG_fail
;
31204 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31205 if (!SWIG_IsOK(ecode4
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31208 arg4
= static_cast< bool >(val4
);
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31216 resultobj
= SWIG_From_long(static_cast< long >(result
));
31231 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= 0;
31233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 PyObject
* obj2
= 0 ;
31246 char * kwnames
[] = {
31247 (char *) "self",(char *) "start",(char *) "data", NULL
31250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31252 if (!SWIG_IsOK(res1
)) {
31253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31256 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31257 if (!SWIG_IsOK(ecode2
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31260 arg2
= static_cast< long >(val2
);
31261 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31262 if (!SWIG_IsOK(ecode3
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31265 arg3
= static_cast< long >(val3
);
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_From_long(static_cast< long >(result
));
31279 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
= 0;
31281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31283 wxPoint
*arg3
= 0 ;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 PyObject
* obj2
= 0 ;
31296 PyObject
* obj3
= 0 ;
31297 char * kwnames
[] = {
31298 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31306 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31308 if (!SWIG_IsOK(ecode2
)) {
31309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31311 arg2
= static_cast< long >(val2
);
31314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31317 if (!SWIG_IsOK(ecode4
)) {
31318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31320 arg4
= static_cast< int >(val4
);
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_From_long(static_cast< long >(result
));
31334 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
= 0;
31336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31337 wxPoint
*arg2
= 0 ;
31344 int res3
= SWIG_TMPOBJ
;
31345 PyObject
* obj0
= 0 ;
31346 PyObject
* obj1
= 0 ;
31347 char * kwnames
[] = {
31348 (char *) "self",(char *) "point", NULL
31352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31354 if (!SWIG_IsOK(res1
)) {
31355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31357 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31368 resultobj
= SWIG_From_long(static_cast< long >(result
));
31369 if (SWIG_IsTmpObj(res3
)) {
31370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31372 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31381 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31384 wxPoint
*arg2
= 0 ;
31386 long *arg4
= (long *) 0 ;
31392 int res3
= SWIG_TMPOBJ
;
31394 int res4
= SWIG_TMPOBJ
;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "point", NULL
31403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31405 if (!SWIG_IsOK(res1
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_From_long(static_cast< long >(result
));
31420 if (SWIG_IsTmpObj(res3
)) {
31421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31423 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31426 if (SWIG_IsTmpObj(res4
)) {
31427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31429 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31438 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
= 0;
31440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31441 wxListItem
*arg2
= 0 ;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 char * kwnames
[] = {
31450 (char *) "self",(char *) "info", NULL
31453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31455 if (!SWIG_IsOK(res1
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31458 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31460 if (!SWIG_IsOK(res2
)) {
31461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31466 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (long)(arg1
)->InsertItem(*arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= SWIG_From_long(static_cast< long >(result
));
31480 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
= 0;
31482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31484 wxString
*arg3
= 0 ;
31485 int arg4
= (int) -1 ;
31491 bool temp3
= false ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 PyObject
* obj2
= 0 ;
31497 PyObject
* obj3
= 0 ;
31498 char * kwnames
[] = {
31499 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31504 if (!SWIG_IsOK(res1
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31509 if (!SWIG_IsOK(ecode2
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31512 arg2
= static_cast< long >(val2
);
31514 arg3
= wxString_in_helper(obj2
);
31515 if (arg3
== NULL
) SWIG_fail
;
31519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31520 if (!SWIG_IsOK(ecode4
)) {
31521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31523 arg4
= static_cast< int >(val4
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_From_long(static_cast< long >(result
));
31546 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
= 0;
31548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 PyObject
* obj2
= 0 ;
31561 char * kwnames
[] = {
31562 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31567 if (!SWIG_IsOK(res1
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31572 if (!SWIG_IsOK(ecode2
)) {
31573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31575 arg2
= static_cast< long >(val2
);
31576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31577 if (!SWIG_IsOK(ecode3
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31580 arg3
= static_cast< int >(val3
);
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_From_long(static_cast< long >(result
));
31594 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
= 0;
31596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31598 wxString
*arg3
= 0 ;
31605 bool temp3
= false ;
31608 PyObject
* obj0
= 0 ;
31609 PyObject
* obj1
= 0 ;
31610 PyObject
* obj2
= 0 ;
31611 PyObject
* obj3
= 0 ;
31612 char * kwnames
[] = {
31613 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31618 if (!SWIG_IsOK(res1
)) {
31619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31623 if (!SWIG_IsOK(ecode2
)) {
31624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31626 arg2
= static_cast< long >(val2
);
31628 arg3
= wxString_in_helper(obj2
);
31629 if (arg3
== NULL
) SWIG_fail
;
31632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31633 if (!SWIG_IsOK(ecode4
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31636 arg4
= static_cast< int >(val4
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_From_long(static_cast< long >(result
));
31658 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
= 0;
31660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31662 wxListItem
*arg3
= 0 ;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 PyObject
* obj2
= 0 ;
31673 char * kwnames
[] = {
31674 (char *) "self",(char *) "col",(char *) "info", NULL
31677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31679 if (!SWIG_IsOK(res1
)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31682 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31683 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31684 if (!SWIG_IsOK(ecode2
)) {
31685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31687 arg2
= static_cast< long >(val2
);
31688 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31689 if (!SWIG_IsOK(res3
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31695 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_From_long(static_cast< long >(result
));
31709 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
= 0;
31711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31713 wxString
*arg3
= 0 ;
31714 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31715 int arg5
= (int) -1 ;
31721 bool temp3
= false ;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 PyObject
* obj2
= 0 ;
31729 PyObject
* obj3
= 0 ;
31730 PyObject
* obj4
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31745 arg2
= static_cast< long >(val2
);
31747 arg3
= wxString_in_helper(obj2
);
31748 if (arg3
== NULL
) SWIG_fail
;
31752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31753 if (!SWIG_IsOK(ecode4
)) {
31754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31756 arg4
= static_cast< int >(val4
);
31759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31760 if (!SWIG_IsOK(ecode5
)) {
31761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31763 arg5
= static_cast< int >(val5
);
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= SWIG_From_long(static_cast< long >(result
));
31786 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 char * kwnames
[] = {
31797 (char *) "self",(char *) "count", NULL
31800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31805 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31807 if (!SWIG_IsOK(ecode2
)) {
31808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31810 arg2
= static_cast< long >(val2
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 (arg1
)->SetItemCount(arg2
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_Py_Void();
31824 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
= 0;
31826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 PyObject
* obj2
= 0 ;
31839 char * kwnames
[] = {
31840 (char *) "self",(char *) "dx",(char *) "dy", NULL
31843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31848 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31850 if (!SWIG_IsOK(ecode2
)) {
31851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31853 arg2
= static_cast< int >(val2
);
31854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31855 if (!SWIG_IsOK(ecode3
)) {
31856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31858 arg3
= static_cast< int >(val3
);
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31874 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31875 PyObject
*resultobj
= 0;
31876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31878 wxColour
*arg3
= 0 ;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 PyObject
* obj2
= 0 ;
31887 char * kwnames
[] = {
31888 (char *) "self",(char *) "item",(char *) "col", NULL
31891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31893 if (!SWIG_IsOK(res1
)) {
31894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31896 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31897 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31898 if (!SWIG_IsOK(ecode2
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31901 arg2
= static_cast< long >(val2
);
31904 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_Py_Void();
31919 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
= 0;
31921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 char * kwnames
[] = {
31931 (char *) "self",(char *) "item", NULL
31934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31936 if (!SWIG_IsOK(res1
)) {
31937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31939 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31941 if (!SWIG_IsOK(ecode2
)) {
31942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31944 arg2
= static_cast< long >(val2
);
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31958 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
= 0;
31960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31962 wxColour
*arg3
= 0 ;
31968 PyObject
* obj0
= 0 ;
31969 PyObject
* obj1
= 0 ;
31970 PyObject
* obj2
= 0 ;
31971 char * kwnames
[] = {
31972 (char *) "self",(char *) "item",(char *) "col", NULL
31975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31977 if (!SWIG_IsOK(res1
)) {
31978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31980 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31981 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31982 if (!SWIG_IsOK(ecode2
)) {
31983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31985 arg2
= static_cast< long >(val2
);
31988 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_Py_Void();
32003 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
= 0;
32005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 char * kwnames
[] = {
32015 (char *) "self",(char *) "item", NULL
32018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32020 if (!SWIG_IsOK(res1
)) {
32021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32025 if (!SWIG_IsOK(ecode2
)) {
32026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32028 arg2
= static_cast< long >(val2
);
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32042 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
= 0;
32044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 PyObject
* obj2
= 0 ;
32056 char * kwnames
[] = {
32057 (char *) "self",(char *) "item",(char *) "f", NULL
32060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32062 if (!SWIG_IsOK(res1
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32065 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32067 if (!SWIG_IsOK(ecode2
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32070 arg2
= static_cast< long >(val2
);
32071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32072 if (!SWIG_IsOK(res3
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32078 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= SWIG_Py_Void();
32092 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
= 0;
32094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32101 PyObject
* obj0
= 0 ;
32102 PyObject
* obj1
= 0 ;
32103 char * kwnames
[] = {
32104 (char *) "self",(char *) "item", NULL
32107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32109 if (!SWIG_IsOK(res1
)) {
32110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32112 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32114 if (!SWIG_IsOK(ecode2
)) {
32115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32117 arg2
= static_cast< long >(val2
);
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32121 wxPyEndAllowThreads(__tstate
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32131 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
= 0;
32133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32134 PyObject
*arg2
= (PyObject
*) 0 ;
32138 PyObject
* obj0
= 0 ;
32139 PyObject
* obj1
= 0 ;
32140 char * kwnames
[] = {
32141 (char *) "self",(char *) "func", NULL
32144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32146 if (!SWIG_IsOK(res1
)) {
32147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32149 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32153 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32154 wxPyEndAllowThreads(__tstate
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32166 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32167 PyObject
*resultobj
= 0;
32168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32169 wxWindow
*result
= 0 ;
32172 PyObject
*swig_obj
[1] ;
32174 if (!args
) SWIG_fail
;
32175 swig_obj
[0] = args
;
32176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32177 if (!SWIG_IsOK(res1
)) {
32178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32180 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= wxPyMake_wxObject(result
, 0);
32196 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32197 PyObject
*resultobj
= 0;
32198 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32199 SwigValueWrapper
<wxVisualAttributes
> result
;
32202 PyObject
* obj0
= 0 ;
32203 char * kwnames
[] = {
32204 (char *) "variant", NULL
32207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32210 if (!SWIG_IsOK(ecode1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32213 arg1
= static_cast< wxWindowVariant
>(val1
);
32216 if (!wxPyCheckForApp()) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32222 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32229 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32233 return SWIG_Py_Void();
32236 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32237 return SWIG_Python_InitShadowInstance(args
);
32240 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
= 0;
32242 wxWindow
*arg1
= (wxWindow
*) 0 ;
32243 int arg2
= (int) -1 ;
32244 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32245 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32246 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32247 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32248 long arg5
= (long) wxLC_REPORT
;
32249 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32250 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32251 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32253 wxListView
*result
= 0 ;
32264 bool temp7
= false ;
32265 PyObject
* obj0
= 0 ;
32266 PyObject
* obj1
= 0 ;
32267 PyObject
* obj2
= 0 ;
32268 PyObject
* obj3
= 0 ;
32269 PyObject
* obj4
= 0 ;
32270 PyObject
* obj5
= 0 ;
32271 PyObject
* obj6
= 0 ;
32272 char * kwnames
[] = {
32273 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32278 if (!SWIG_IsOK(res1
)) {
32279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32284 if (!SWIG_IsOK(ecode2
)) {
32285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32287 arg2
= static_cast< int >(val2
);
32292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32302 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32303 if (!SWIG_IsOK(ecode5
)) {
32304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32306 arg5
= static_cast< long >(val5
);
32309 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32310 if (!SWIG_IsOK(res6
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32316 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32320 arg7
= wxString_in_helper(obj6
);
32321 if (arg7
== NULL
) SWIG_fail
;
32326 if (!wxPyCheckForApp()) SWIG_fail
;
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32347 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 PyObject
*resultobj
= 0;
32349 wxListView
*result
= 0 ;
32351 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32353 if (!wxPyCheckForApp()) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (wxListView
*)new wxListView();
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32366 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32367 PyObject
*resultobj
= 0;
32368 wxListView
*arg1
= (wxListView
*) 0 ;
32369 wxWindow
*arg2
= (wxWindow
*) 0 ;
32370 int arg3
= (int) -1 ;
32371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32375 long arg6
= (long) wxLC_REPORT
;
32376 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32377 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32378 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32393 bool temp8
= false ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 PyObject
* obj2
= 0 ;
32397 PyObject
* obj3
= 0 ;
32398 PyObject
* obj4
= 0 ;
32399 PyObject
* obj5
= 0 ;
32400 PyObject
* obj6
= 0 ;
32401 PyObject
* obj7
= 0 ;
32402 char * kwnames
[] = {
32403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32408 if (!SWIG_IsOK(res1
)) {
32409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32411 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32413 if (!SWIG_IsOK(res2
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32419 if (!SWIG_IsOK(ecode3
)) {
32420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32422 arg3
= static_cast< int >(val3
);
32427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32437 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32438 if (!SWIG_IsOK(ecode6
)) {
32439 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32441 arg6
= static_cast< long >(val6
);
32444 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32445 if (!SWIG_IsOK(res7
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32451 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32455 arg8
= wxString_in_helper(obj7
);
32456 if (arg8
== NULL
) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32483 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
= 0;
32485 wxListView
*arg1
= (wxListView
*) 0 ;
32487 bool arg3
= (bool) true ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 PyObject
* obj2
= 0 ;
32497 char * kwnames
[] = {
32498 (char *) "self",(char *) "n",(char *) "on", NULL
32501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32506 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32508 if (!SWIG_IsOK(ecode2
)) {
32509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32511 arg2
= static_cast< long >(val2
);
32513 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32514 if (!SWIG_IsOK(ecode3
)) {
32515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32517 arg3
= static_cast< bool >(val3
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->Select(arg2
,arg3
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxListView
*arg1
= (wxListView
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 PyObject
* obj1
= 0 ;
32542 char * kwnames
[] = {
32543 (char *) "self",(char *) "index", NULL
32546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32548 if (!SWIG_IsOK(res1
)) {
32549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32551 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32553 if (!SWIG_IsOK(ecode2
)) {
32554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32556 arg2
= static_cast< long >(val2
);
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 (arg1
)->Focus(arg2
);
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= SWIG_Py_Void();
32570 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32571 PyObject
*resultobj
= 0;
32572 wxListView
*arg1
= (wxListView
*) 0 ;
32576 PyObject
*swig_obj
[1] ;
32578 if (!args
) SWIG_fail
;
32579 swig_obj
[0] = args
;
32580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32584 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_From_long(static_cast< long >(result
));
32598 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
= 0;
32600 wxListView
*arg1
= (wxListView
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 char * kwnames
[] = {
32610 (char *) "self",(char *) "item", NULL
32613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32615 if (!SWIG_IsOK(res1
)) {
32616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32618 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32620 if (!SWIG_IsOK(ecode2
)) {
32621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32623 arg2
= static_cast< long >(val2
);
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_From_long(static_cast< long >(result
));
32637 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxListView
*arg1
= (wxListView
*) 0 ;
32643 PyObject
*swig_obj
[1] ;
32645 if (!args
) SWIG_fail
;
32646 swig_obj
[0] = args
;
32647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32651 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 resultobj
= SWIG_From_long(static_cast< long >(result
));
32665 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
= 0;
32667 wxListView
*arg1
= (wxListView
*) 0 ;
32674 PyObject
* obj0
= 0 ;
32675 PyObject
* obj1
= 0 ;
32676 char * kwnames
[] = {
32677 (char *) "self",(char *) "index", NULL
32680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32685 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32687 if (!SWIG_IsOK(ecode2
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32690 arg2
= static_cast< long >(val2
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= (bool)(arg1
)->IsSelected(arg2
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32706 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32707 PyObject
*resultobj
= 0;
32708 wxListView
*arg1
= (wxListView
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 PyObject
* obj2
= 0 ;
32720 char * kwnames
[] = {
32721 (char *) "self",(char *) "col",(char *) "image", NULL
32724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32726 if (!SWIG_IsOK(res1
)) {
32727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32729 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32731 if (!SWIG_IsOK(ecode2
)) {
32732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32734 arg2
= static_cast< int >(val2
);
32735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32736 if (!SWIG_IsOK(ecode3
)) {
32737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32739 arg3
= static_cast< int >(val3
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->SetColumnImage(arg2
,arg3
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_Py_Void();
32753 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
= 0;
32755 wxListView
*arg1
= (wxListView
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 PyObject
* obj1
= 0 ;
32763 char * kwnames
[] = {
32764 (char *) "self",(char *) "col", NULL
32767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32769 if (!SWIG_IsOK(res1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32772 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32774 if (!SWIG_IsOK(ecode2
)) {
32775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32777 arg2
= static_cast< int >(val2
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 (arg1
)->ClearColumnImage(arg2
);
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= SWIG_Py_Void();
32791 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32794 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32795 return SWIG_Py_Void();
32798 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32799 return SWIG_Python_InitShadowInstance(args
);
32802 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32803 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32808 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32809 PyObject
*pyobj
= 0;
32813 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32815 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32822 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32823 PyObject
*resultobj
= 0;
32824 wxTreeItemId
*result
= 0 ;
32826 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (wxTreeItemId
*)new wxTreeItemId();
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32840 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32841 PyObject
*resultobj
= 0;
32842 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32845 PyObject
*swig_obj
[1] ;
32847 if (!args
) SWIG_fail
;
32848 swig_obj
[0] = args
;
32849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32850 if (!SWIG_IsOK(res1
)) {
32851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32853 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 resultobj
= SWIG_Py_Void();
32868 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32869 PyObject
*resultobj
= 0;
32870 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32874 PyObject
*swig_obj
[1] ;
32876 if (!args
) SWIG_fail
;
32877 swig_obj
[0] = args
;
32878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32882 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32898 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32899 PyObject
*resultobj
= 0;
32900 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32901 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char * kwnames
[] = {
32910 (char *) "self",(char *) "other", NULL
32913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32915 if (!SWIG_IsOK(res1
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32918 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32920 if (!SWIG_IsOK(res2
)) {
32921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32923 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32939 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
= 0;
32941 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32942 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 char * kwnames
[] = {
32951 (char *) "self",(char *) "other", NULL
32954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32956 if (!SWIG_IsOK(res1
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32959 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32961 if (!SWIG_IsOK(res2
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32980 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32981 PyObject
*resultobj
= 0;
32982 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32983 void *arg2
= (void *) 0 ;
32987 PyObject
*swig_obj
[2] ;
32989 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32991 if (!SWIG_IsOK(res1
)) {
32992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32994 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32995 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32996 if (!SWIG_IsOK(res2
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32999 if (arg1
) (arg1
)->m_pItem
= arg2
;
33001 resultobj
= SWIG_Py_Void();
33008 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33009 PyObject
*resultobj
= 0;
33010 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33014 PyObject
*swig_obj
[1] ;
33016 if (!args
) SWIG_fail
;
33017 swig_obj
[0] = args
;
33018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33022 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33023 result
= (void *) ((arg1
)->m_pItem
);
33024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33031 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33034 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33035 return SWIG_Py_Void();
33038 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 return SWIG_Python_InitShadowInstance(args
);
33042 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
= 0;
33044 PyObject
*arg1
= (PyObject
*) NULL
;
33045 wxPyTreeItemData
*result
= 0 ;
33046 PyObject
* obj0
= 0 ;
33047 char * kwnames
[] = {
33048 (char *) "obj", NULL
33051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33068 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33069 PyObject
*resultobj
= 0;
33070 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33073 PyObject
*swig_obj
[1] ;
33075 if (!args
) SWIG_fail
;
33076 swig_obj
[0] = args
;
33077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33078 if (!SWIG_IsOK(res1
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33081 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_Py_Void();
33096 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33097 PyObject
*resultobj
= 0;
33098 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33099 PyObject
*result
= 0 ;
33102 PyObject
*swig_obj
[1] ;
33104 if (!args
) SWIG_fail
;
33105 swig_obj
[0] = args
;
33106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33110 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33113 result
= (PyObject
*)(arg1
)->GetData();
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= result
;
33124 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33125 PyObject
*resultobj
= 0;
33126 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33127 PyObject
*arg2
= (PyObject
*) 0 ;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 char * kwnames
[] = {
33133 (char *) "self",(char *) "obj", NULL
33136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33138 if (!SWIG_IsOK(res1
)) {
33139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33141 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 (arg1
)->SetData(arg2
);
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= SWIG_Py_Void();
33156 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33157 PyObject
*resultobj
= 0;
33158 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33159 wxTreeItemId
*result
= 0 ;
33162 PyObject
*swig_obj
[1] ;
33164 if (!args
) SWIG_fail
;
33165 swig_obj
[0] = args
;
33166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33167 if (!SWIG_IsOK(res1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33170 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33175 result
= (wxTreeItemId
*) &_result_ref
;
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33187 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
= 0;
33189 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33190 wxTreeItemId
*arg2
= 0 ;
33195 PyObject
* obj0
= 0 ;
33196 PyObject
* obj1
= 0 ;
33197 char * kwnames
[] = {
33198 (char *) "self",(char *) "id", NULL
33201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33203 if (!SWIG_IsOK(res1
)) {
33204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33206 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33208 if (!SWIG_IsOK(res2
)) {
33209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33214 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= SWIG_Py_Void();
33228 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33229 PyObject
*resultobj
= 0;
33230 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33233 PyObject
*swig_obj
[1] ;
33235 if (!args
) SWIG_fail
;
33236 swig_obj
[0] = args
;
33237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33238 if (!SWIG_IsOK(res1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33241 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 wxPyTreeItemData_Destroy(arg1
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 resultobj
= SWIG_Py_Void();
33255 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33258 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33259 return SWIG_Py_Void();
33262 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33263 return SWIG_Python_InitShadowInstance(args
);
33266 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33269 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33270 if (!SWIG_IsOK(res
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33276 wxTreeItemId
* temp
;
33277 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33278 wxNullTreeItemId
= *temp
;
33279 if (SWIG_IsNewObj(res
)) delete temp
;
33288 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33289 PyObject
*pyobj
= 0;
33291 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33296 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33297 PyObject
*resultobj
= 0;
33298 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33299 int arg2
= (int) 0 ;
33300 wxTreeEvent
*result
= 0 ;
33306 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33308 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33309 if (!SWIG_IsOK(ecode1
)) {
33310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33312 arg1
= static_cast< wxEventType
>(val1
);
33315 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33316 if (!SWIG_IsOK(ecode2
)) {
33317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33319 arg2
= static_cast< int >(val2
);
33322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33323 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33324 wxPyEndAllowThreads(__tstate
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33334 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33335 PyObject
*resultobj
= 0;
33337 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33338 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33339 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33340 wxTreeEvent
*result
= 0 ;
33348 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33349 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33350 if (!SWIG_IsOK(ecode1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33353 arg1
= static_cast< wxEventType
>(val1
);
33354 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33355 if (!SWIG_IsOK(res2
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33358 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33360 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33361 if (!SWIG_IsOK(res3
)) {
33362 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33367 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33382 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33386 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33388 if ((argc
>= 0) && (argc
<= 2)) {
33393 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33394 _v
= SWIG_CheckState(res
);
33397 if (!_v
) goto check_1
;
33399 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33403 if ((argc
>= 2) && (argc
<= 3)) {
33404 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33408 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33413 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33414 PyObject
*resultobj
= 0;
33415 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33416 wxTreeItemId result
;
33419 PyObject
*swig_obj
[1] ;
33421 if (!args
) SWIG_fail
;
33422 swig_obj
[0] = args
;
33423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33424 if (!SWIG_IsOK(res1
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33427 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33430 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33441 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33442 PyObject
*resultobj
= 0;
33443 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33444 wxTreeItemId
*arg2
= 0 ;
33449 PyObject
* obj0
= 0 ;
33450 PyObject
* obj1
= 0 ;
33451 char * kwnames
[] = {
33452 (char *) "self",(char *) "item", NULL
33455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33457 if (!SWIG_IsOK(res1
)) {
33458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33460 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33462 if (!SWIG_IsOK(res2
)) {
33463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33468 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33472 wxPyEndAllowThreads(__tstate
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33475 resultobj
= SWIG_Py_Void();
33482 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33483 PyObject
*resultobj
= 0;
33484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33485 wxTreeItemId result
;
33488 PyObject
*swig_obj
[1] ;
33490 if (!args
) SWIG_fail
;
33491 swig_obj
[0] = args
;
33492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33493 if (!SWIG_IsOK(res1
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33496 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33499 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33503 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33510 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33511 PyObject
*resultobj
= 0;
33512 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33513 wxTreeItemId
*arg2
= 0 ;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 char * kwnames
[] = {
33521 (char *) "self",(char *) "item", NULL
33524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33526 if (!SWIG_IsOK(res1
)) {
33527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33529 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33531 if (!SWIG_IsOK(res2
)) {
33532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33540 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33541 wxPyEndAllowThreads(__tstate
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= SWIG_Py_Void();
33551 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33552 PyObject
*resultobj
= 0;
33553 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33557 PyObject
*swig_obj
[1] ;
33559 if (!args
) SWIG_fail
;
33560 swig_obj
[0] = args
;
33561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33562 if (!SWIG_IsOK(res1
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33565 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33579 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
= 0;
33581 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33582 wxPoint
*arg2
= 0 ;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 char * kwnames
[] = {
33589 (char *) "self",(char *) "pt", NULL
33592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33597 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_Py_Void();
33615 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33618 wxKeyEvent
*result
= 0 ;
33621 PyObject
*swig_obj
[1] ;
33623 if (!args
) SWIG_fail
;
33624 swig_obj
[0] = args
;
33625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33629 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33634 result
= (wxKeyEvent
*) &_result_ref
;
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33646 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33647 PyObject
*resultobj
= 0;
33648 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33652 PyObject
*swig_obj
[1] ;
33654 if (!args
) SWIG_fail
;
33655 swig_obj
[0] = args
;
33656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33657 if (!SWIG_IsOK(res1
)) {
33658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33660 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33667 resultobj
= SWIG_From_int(static_cast< int >(result
));
33674 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
= 0;
33676 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33677 wxKeyEvent
*arg2
= 0 ;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 char * kwnames
[] = {
33685 (char *) "self",(char *) "evt", NULL
33688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33690 if (!SWIG_IsOK(res1
)) {
33691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33693 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33695 if (!SWIG_IsOK(res2
)) {
33696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33701 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33705 wxPyEndAllowThreads(__tstate
);
33706 if (PyErr_Occurred()) SWIG_fail
;
33708 resultobj
= SWIG_Py_Void();
33715 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33716 PyObject
*resultobj
= 0;
33717 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33718 wxString
*result
= 0 ;
33721 PyObject
*swig_obj
[1] ;
33723 if (!args
) SWIG_fail
;
33724 swig_obj
[0] = args
;
33725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33726 if (!SWIG_IsOK(res1
)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33729 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33734 result
= (wxString
*) &_result_ref
;
33736 wxPyEndAllowThreads(__tstate
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33741 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33743 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33752 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
= 0;
33754 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33755 wxString
*arg2
= 0 ;
33758 bool temp2
= false ;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 char * kwnames
[] = {
33762 (char *) "self",(char *) "label", NULL
33765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33770 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33772 arg2
= wxString_in_helper(obj1
);
33773 if (arg2
== NULL
) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 (arg1
)->SetLabel((wxString
const &)*arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_Py_Void();
33797 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33803 PyObject
*swig_obj
[1] ;
33805 if (!args
) SWIG_fail
;
33806 swig_obj
[0] = args
;
33807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33808 if (!SWIG_IsOK(res1
)) {
33809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33811 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33827 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
= 0;
33829 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 char * kwnames
[] = {
33838 (char *) "self",(char *) "editCancelled", NULL
33841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33843 if (!SWIG_IsOK(res1
)) {
33844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33846 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33848 if (!SWIG_IsOK(ecode2
)) {
33849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33851 arg2
= static_cast< bool >(val2
);
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 (arg1
)->SetEditCanceled(arg2
);
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33858 resultobj
= SWIG_Py_Void();
33865 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
= 0;
33867 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33868 wxString
*arg2
= 0 ;
33871 bool temp2
= false ;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 char * kwnames
[] = {
33875 (char *) "self",(char *) "toolTip", NULL
33878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33880 if (!SWIG_IsOK(res1
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33883 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33885 arg2
= wxString_in_helper(obj1
);
33886 if (arg2
== NULL
) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= SWIG_Py_Void();
33910 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33911 PyObject
*resultobj
= 0;
33912 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33916 PyObject
*swig_obj
[1] ;
33918 if (!args
) SWIG_fail
;
33919 swig_obj
[0] = args
;
33920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33921 if (!SWIG_IsOK(res1
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33924 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 result
= (arg1
)->GetToolTip();
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33944 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33947 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33948 return SWIG_Py_Void();
33951 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33952 return SWIG_Python_InitShadowInstance(args
);
33955 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33956 PyObject
*resultobj
= 0;
33957 wxWindow
*arg1
= (wxWindow
*) 0 ;
33958 int arg2
= (int) -1 ;
33959 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33960 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33961 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33962 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33963 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33964 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33965 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33966 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33968 wxPyTreeCtrl
*result
= 0 ;
33979 bool temp7
= false ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 PyObject
* obj2
= 0 ;
33983 PyObject
* obj3
= 0 ;
33984 PyObject
* obj4
= 0 ;
33985 PyObject
* obj5
= 0 ;
33986 PyObject
* obj6
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33996 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33999 if (!SWIG_IsOK(ecode2
)) {
34000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34002 arg2
= static_cast< int >(val2
);
34007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34013 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34017 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34018 if (!SWIG_IsOK(ecode5
)) {
34019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34021 arg5
= static_cast< long >(val5
);
34024 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34025 if (!SWIG_IsOK(res6
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34031 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34035 arg7
= wxString_in_helper(obj6
);
34036 if (arg7
== NULL
) SWIG_fail
;
34041 if (!wxPyCheckForApp()) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34062 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34063 PyObject
*resultobj
= 0;
34064 wxPyTreeCtrl
*result
= 0 ;
34066 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34068 if (!wxPyCheckForApp()) SWIG_fail
;
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34081 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34084 wxWindow
*arg2
= (wxWindow
*) 0 ;
34085 int arg3
= (int) -1 ;
34086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34090 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34091 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34092 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34093 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34094 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34108 bool temp8
= false ;
34109 PyObject
* obj0
= 0 ;
34110 PyObject
* obj1
= 0 ;
34111 PyObject
* obj2
= 0 ;
34112 PyObject
* obj3
= 0 ;
34113 PyObject
* obj4
= 0 ;
34114 PyObject
* obj5
= 0 ;
34115 PyObject
* obj6
= 0 ;
34116 PyObject
* obj7
= 0 ;
34117 char * kwnames
[] = {
34118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34123 if (!SWIG_IsOK(res1
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34128 if (!SWIG_IsOK(res2
)) {
34129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34134 if (!SWIG_IsOK(ecode3
)) {
34135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34137 arg3
= static_cast< int >(val3
);
34142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34152 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34153 if (!SWIG_IsOK(ecode6
)) {
34154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34156 arg6
= static_cast< long >(val6
);
34159 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34160 if (!SWIG_IsOK(res7
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34166 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34170 arg8
= wxString_in_helper(obj7
);
34171 if (arg8
== NULL
) SWIG_fail
;
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34198 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
= 0;
34200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34201 PyObject
*arg2
= (PyObject
*) 0 ;
34202 PyObject
*arg3
= (PyObject
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 PyObject
* obj1
= 0 ;
34207 PyObject
* obj2
= 0 ;
34208 char * kwnames
[] = {
34209 (char *) "self",(char *) "self",(char *) "_class", NULL
34212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34214 if (!SWIG_IsOK(res1
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_Py_Void();
34233 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34234 PyObject
*resultobj
= 0;
34235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34236 unsigned int result
;
34239 PyObject
*swig_obj
[1] ;
34241 if (!args
) SWIG_fail
;
34242 swig_obj
[0] = args
;
34243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34244 if (!SWIG_IsOK(res1
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34261 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34262 PyObject
*resultobj
= 0;
34263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34264 unsigned int result
;
34267 PyObject
*swig_obj
[1] ;
34269 if (!args
) SWIG_fail
;
34270 swig_obj
[0] = args
;
34271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34289 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
= 0;
34291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34292 unsigned int arg2
;
34295 unsigned int val2
;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 char * kwnames
[] = {
34300 (char *) "self",(char *) "indent", NULL
34303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34308 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34309 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34310 if (!SWIG_IsOK(ecode2
)) {
34311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34313 arg2
= static_cast< unsigned int >(val2
);
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->SetIndent(arg2
);
34317 wxPyEndAllowThreads(__tstate
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= SWIG_Py_Void();
34327 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34328 PyObject
*resultobj
= 0;
34329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34330 unsigned int result
;
34333 PyObject
*swig_obj
[1] ;
34335 if (!args
) SWIG_fail
;
34336 swig_obj
[0] = args
;
34337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34338 if (!SWIG_IsOK(res1
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34341 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34355 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34356 PyObject
*resultobj
= 0;
34357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34358 unsigned int arg2
;
34361 unsigned int val2
;
34363 PyObject
* obj0
= 0 ;
34364 PyObject
* obj1
= 0 ;
34365 char * kwnames
[] = {
34366 (char *) "self",(char *) "spacing", NULL
34369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34371 if (!SWIG_IsOK(res1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34374 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34375 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34376 if (!SWIG_IsOK(ecode2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34379 arg2
= static_cast< unsigned int >(val2
);
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 (arg1
)->SetSpacing(arg2
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= SWIG_Py_Void();
34393 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34394 PyObject
*resultobj
= 0;
34395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34396 wxImageList
*result
= 0 ;
34399 PyObject
*swig_obj
[1] ;
34401 if (!args
) SWIG_fail
;
34402 swig_obj
[0] = args
;
34403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34404 if (!SWIG_IsOK(res1
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34423 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34426 wxImageList
*result
= 0 ;
34429 PyObject
*swig_obj
[1] ;
34431 if (!args
) SWIG_fail
;
34432 swig_obj
[0] = args
;
34433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34434 if (!SWIG_IsOK(res1
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34441 wxPyEndAllowThreads(__tstate
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34453 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34456 wxImageList
*arg2
= (wxImageList
*) 0 ;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 char * kwnames
[] = {
34464 (char *) "self",(char *) "imageList", NULL
34467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34469 if (!SWIG_IsOK(res1
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34474 if (!SWIG_IsOK(res2
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34477 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 (arg1
)->SetImageList(arg2
);
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= SWIG_Py_Void();
34491 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
= 0;
34493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34494 wxImageList
*arg2
= (wxImageList
*) 0 ;
34499 PyObject
* obj0
= 0 ;
34500 PyObject
* obj1
= 0 ;
34501 char * kwnames
[] = {
34502 (char *) "self",(char *) "imageList", NULL
34505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34507 if (!SWIG_IsOK(res1
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34512 if (!SWIG_IsOK(res2
)) {
34513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34515 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 (arg1
)->SetStateImageList(arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 resultobj
= SWIG_Py_Void();
34529 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
= 0;
34531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34532 wxImageList
*arg2
= (wxImageList
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char * kwnames
[] = {
34539 (char *) "self",(char *) "imageList", NULL
34542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34544 if (!SWIG_IsOK(res1
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34547 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34548 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34549 if (!SWIG_IsOK(res2
)) {
34550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 (arg1
)->AssignImageList(arg2
);
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= SWIG_Py_Void();
34565 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34566 PyObject
*resultobj
= 0;
34567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34568 wxImageList
*arg2
= (wxImageList
*) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 char * kwnames
[] = {
34575 (char *) "self",(char *) "imageList", NULL
34578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34580 if (!SWIG_IsOK(res1
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34584 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34585 if (!SWIG_IsOK(res2
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 (arg1
)->AssignStateImageList(arg2
);
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= SWIG_Py_Void();
34601 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
= 0;
34603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34604 wxTreeItemId
*arg2
= 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char * kwnames
[] = {
34613 (char *) "self",(char *) "item", NULL
34616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34621 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34623 if (!SWIG_IsOK(res2
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34633 wxPyEndAllowThreads(__tstate
);
34634 if (PyErr_Occurred()) SWIG_fail
;
34638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34649 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34652 wxTreeItemId
*arg2
= 0 ;
34653 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34661 PyObject
* obj0
= 0 ;
34662 PyObject
* obj1
= 0 ;
34663 PyObject
* obj2
= 0 ;
34664 char * kwnames
[] = {
34665 (char *) "self",(char *) "item",(char *) "which", NULL
34668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34670 if (!SWIG_IsOK(res1
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34673 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34675 if (!SWIG_IsOK(res2
)) {
34676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34681 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34684 if (!SWIG_IsOK(ecode3
)) {
34685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34687 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34691 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34695 resultobj
= SWIG_From_int(static_cast< int >(result
));
34702 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34703 PyObject
*resultobj
= 0;
34704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34705 wxTreeItemId
*arg2
= 0 ;
34706 wxPyTreeItemData
*result
= 0 ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 char * kwnames
[] = {
34714 (char *) "self",(char *) "item", NULL
34717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34724 if (!SWIG_IsOK(res2
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34730 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34744 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
= 0;
34746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34747 wxTreeItemId
*arg2
= 0 ;
34748 PyObject
*result
= 0 ;
34753 PyObject
* obj0
= 0 ;
34754 PyObject
* obj1
= 0 ;
34755 char * kwnames
[] = {
34756 (char *) "self",(char *) "item", NULL
34759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34761 if (!SWIG_IsOK(res1
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34766 if (!SWIG_IsOK(res2
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34775 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34776 wxPyEndAllowThreads(__tstate
);
34777 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= result
;
34786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34787 PyObject
*resultobj
= 0;
34788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34789 wxTreeItemId
*arg2
= 0 ;
34795 PyObject
* obj0
= 0 ;
34796 PyObject
* obj1
= 0 ;
34797 char * kwnames
[] = {
34798 (char *) "self",(char *) "item", NULL
34801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34803 if (!SWIG_IsOK(res1
)) {
34804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34806 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34808 if (!SWIG_IsOK(res2
)) {
34809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34814 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34828 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
= 0;
34830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34831 wxTreeItemId
*arg2
= 0 ;
34837 PyObject
* obj0
= 0 ;
34838 PyObject
* obj1
= 0 ;
34839 char * kwnames
[] = {
34840 (char *) "self",(char *) "item", NULL
34843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34845 if (!SWIG_IsOK(res1
)) {
34846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34850 if (!SWIG_IsOK(res2
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34856 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34870 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
= 0;
34872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34873 wxTreeItemId
*arg2
= 0 ;
34879 PyObject
* obj0
= 0 ;
34880 PyObject
* obj1
= 0 ;
34881 char * kwnames
[] = {
34882 (char *) "self",(char *) "item", NULL
34885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34887 if (!SWIG_IsOK(res1
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34892 if (!SWIG_IsOK(res2
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34901 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34902 wxPyEndAllowThreads(__tstate
);
34903 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34912 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
= 0;
34914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34915 wxTreeItemId
*arg2
= 0 ;
34916 wxString
*arg3
= 0 ;
34921 bool temp3
= false ;
34922 PyObject
* obj0
= 0 ;
34923 PyObject
* obj1
= 0 ;
34924 PyObject
* obj2
= 0 ;
34925 char * kwnames
[] = {
34926 (char *) "self",(char *) "item",(char *) "text", NULL
34929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34931 if (!SWIG_IsOK(res1
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34936 if (!SWIG_IsOK(res2
)) {
34937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34944 arg3
= wxString_in_helper(obj2
);
34945 if (arg3
== NULL
) SWIG_fail
;
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34951 wxPyEndAllowThreads(__tstate
);
34952 if (PyErr_Occurred()) SWIG_fail
;
34954 resultobj
= SWIG_Py_Void();
34969 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34972 wxTreeItemId
*arg2
= 0 ;
34974 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 PyObject
* obj2
= 0 ;
34986 PyObject
* obj3
= 0 ;
34987 char * kwnames
[] = {
34988 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34998 if (!SWIG_IsOK(res2
)) {
34999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35006 if (!SWIG_IsOK(ecode3
)) {
35007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35009 arg3
= static_cast< int >(val3
);
35011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35012 if (!SWIG_IsOK(ecode4
)) {
35013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35015 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 resultobj
= SWIG_Py_Void();
35030 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
= 0;
35032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35033 wxTreeItemId
*arg2
= 0 ;
35034 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 char * kwnames
[] = {
35044 (char *) "self",(char *) "item",(char *) "data", NULL
35047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35049 if (!SWIG_IsOK(res1
)) {
35050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35052 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35054 if (!SWIG_IsOK(res2
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35060 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35061 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35062 if (!SWIG_IsOK(res3
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_Py_Void();
35078 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
= 0;
35080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35081 wxTreeItemId
*arg2
= 0 ;
35082 PyObject
*arg3
= (PyObject
*) 0 ;
35087 PyObject
* obj0
= 0 ;
35088 PyObject
* obj1
= 0 ;
35089 PyObject
* obj2
= 0 ;
35090 char * kwnames
[] = {
35091 (char *) "self",(char *) "item",(char *) "obj", NULL
35094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35096 if (!SWIG_IsOK(res1
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35099 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35101 if (!SWIG_IsOK(res2
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35107 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= SWIG_Py_Void();
35122 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
= 0;
35124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35125 wxTreeItemId
*arg2
= 0 ;
35126 bool arg3
= (bool) true ;
35133 PyObject
* obj0
= 0 ;
35134 PyObject
* obj1
= 0 ;
35135 PyObject
* obj2
= 0 ;
35136 char * kwnames
[] = {
35137 (char *) "self",(char *) "item",(char *) "has", NULL
35140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35142 if (!SWIG_IsOK(res1
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35147 if (!SWIG_IsOK(res2
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35155 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35156 if (!SWIG_IsOK(ecode3
)) {
35157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35159 arg3
= static_cast< bool >(val3
);
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_Py_Void();
35174 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= 0;
35176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35177 wxTreeItemId
*arg2
= 0 ;
35178 bool arg3
= (bool) true ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 char * kwnames
[] = {
35189 (char *) "self",(char *) "item",(char *) "bold", NULL
35192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35194 if (!SWIG_IsOK(res1
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35199 if (!SWIG_IsOK(res2
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35208 if (!SWIG_IsOK(ecode3
)) {
35209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35211 arg3
= static_cast< bool >(val3
);
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= SWIG_Py_Void();
35226 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= 0;
35228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35229 wxTreeItemId
*arg2
= 0 ;
35230 bool arg3
= (bool) true ;
35237 PyObject
* obj0
= 0 ;
35238 PyObject
* obj1
= 0 ;
35239 PyObject
* obj2
= 0 ;
35240 char * kwnames
[] = {
35241 (char *) "self",(char *) "item",(char *) "highlight", NULL
35244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35246 if (!SWIG_IsOK(res1
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35251 if (!SWIG_IsOK(res2
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35257 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35259 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35260 if (!SWIG_IsOK(ecode3
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35263 arg3
= static_cast< bool >(val3
);
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= SWIG_Py_Void();
35278 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
= 0;
35280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35281 wxTreeItemId
*arg2
= 0 ;
35282 wxColour
*arg3
= 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 PyObject
* obj2
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "item",(char *) "col", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35300 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35302 if (!SWIG_IsOK(res2
)) {
35303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35308 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= SWIG_Py_Void();
35326 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
= 0;
35328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35329 wxTreeItemId
*arg2
= 0 ;
35330 wxColour
*arg3
= 0 ;
35336 PyObject
* obj0
= 0 ;
35337 PyObject
* obj1
= 0 ;
35338 PyObject
* obj2
= 0 ;
35339 char * kwnames
[] = {
35340 (char *) "self",(char *) "item",(char *) "col", NULL
35343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35345 if (!SWIG_IsOK(res1
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35350 if (!SWIG_IsOK(res2
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35359 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35363 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35364 wxPyEndAllowThreads(__tstate
);
35365 if (PyErr_Occurred()) SWIG_fail
;
35367 resultobj
= SWIG_Py_Void();
35374 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35375 PyObject
*resultobj
= 0;
35376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35377 wxTreeItemId
*arg2
= 0 ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 PyObject
* obj2
= 0 ;
35388 char * kwnames
[] = {
35389 (char *) "self",(char *) "item",(char *) "font", NULL
35392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35394 if (!SWIG_IsOK(res1
)) {
35395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35397 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35399 if (!SWIG_IsOK(res2
)) {
35400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35407 if (!SWIG_IsOK(res3
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35413 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_Py_Void();
35427 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
= 0;
35429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35430 wxTreeItemId
*arg2
= 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_IsVisible",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_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35471 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
= 0;
35473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35474 wxTreeItemId
*arg2
= 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 char * kwnames
[] = {
35483 (char *) "self",(char *) "item", NULL
35486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35488 if (!SWIG_IsOK(res1
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35493 if (!SWIG_IsOK(res2
)) {
35494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35499 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35515 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
= 0;
35517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35518 wxTreeItemId
*arg2
= 0 ;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 char * kwnames
[] = {
35527 (char *) "self",(char *) "item", NULL
35530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35537 if (!SWIG_IsOK(res2
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35543 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35547 wxPyEndAllowThreads(__tstate
);
35548 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35559 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35560 PyObject
*resultobj
= 0;
35561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35562 wxTreeItemId
*arg2
= 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 char * kwnames
[] = {
35571 (char *) "self",(char *) "item", NULL
35574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35581 if (!SWIG_IsOK(res2
)) {
35582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35587 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35603 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
= 0;
35605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35606 wxTreeItemId
*arg2
= 0 ;
35612 PyObject
* obj0
= 0 ;
35613 PyObject
* obj1
= 0 ;
35614 char * kwnames
[] = {
35615 (char *) "self",(char *) "item", NULL
35618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35620 if (!SWIG_IsOK(res1
)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35625 if (!SWIG_IsOK(res2
)) {
35626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35647 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35648 PyObject
*resultobj
= 0;
35649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35653 PyObject
*swig_obj
[1] ;
35655 if (!args
) SWIG_fail
;
35656 swig_obj
[0] = args
;
35657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35677 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35678 PyObject
*resultobj
= 0;
35679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35680 wxTreeItemId
*arg2
= 0 ;
35681 bool arg3
= (bool) true ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 PyObject
* obj2
= 0 ;
35692 char * kwnames
[] = {
35693 (char *) "self",(char *) "item",(char *) "recursively", NULL
35696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35698 if (!SWIG_IsOK(res1
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35703 if (!SWIG_IsOK(res2
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35709 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35711 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35712 if (!SWIG_IsOK(ecode3
)) {
35713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35715 arg3
= static_cast< bool >(val3
);
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35730 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35731 PyObject
*resultobj
= 0;
35732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35733 wxTreeItemId result
;
35736 PyObject
*swig_obj
[1] ;
35738 if (!args
) SWIG_fail
;
35739 swig_obj
[0] = args
;
35740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35741 if (!SWIG_IsOK(res1
)) {
35742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35744 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35747 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35748 wxPyEndAllowThreads(__tstate
);
35749 if (PyErr_Occurred()) SWIG_fail
;
35751 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35758 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35759 PyObject
*resultobj
= 0;
35760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35761 wxTreeItemId result
;
35764 PyObject
*swig_obj
[1] ;
35766 if (!args
) SWIG_fail
;
35767 swig_obj
[0] = args
;
35768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35769 if (!SWIG_IsOK(res1
)) {
35770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35772 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35787 PyObject
*resultobj
= 0;
35788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35789 PyObject
*result
= 0 ;
35792 PyObject
*swig_obj
[1] ;
35794 if (!args
) SWIG_fail
;
35795 swig_obj
[0] = args
;
35796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35797 if (!SWIG_IsOK(res1
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 resultobj
= result
;
35814 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35817 wxTreeItemId
*arg2
= 0 ;
35818 wxTreeItemId result
;
35823 PyObject
* obj0
= 0 ;
35824 PyObject
* obj1
= 0 ;
35825 char * kwnames
[] = {
35826 (char *) "self",(char *) "item", NULL
35829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35831 if (!SWIG_IsOK(res1
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35836 if (!SWIG_IsOK(res2
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35845 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35849 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35856 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
= 0;
35858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35859 wxTreeItemId
*arg2
= 0 ;
35860 PyObject
*result
= 0 ;
35865 PyObject
* obj0
= 0 ;
35866 PyObject
* obj1
= 0 ;
35867 char * kwnames
[] = {
35868 (char *) "self",(char *) "item", NULL
35871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35873 if (!SWIG_IsOK(res1
)) {
35874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35878 if (!SWIG_IsOK(res2
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= result
;
35898 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35899 PyObject
*resultobj
= 0;
35900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35901 wxTreeItemId
*arg2
= 0 ;
35902 void *arg3
= (void *) 0 ;
35903 PyObject
*result
= 0 ;
35909 PyObject
* obj0
= 0 ;
35910 PyObject
* obj1
= 0 ;
35911 PyObject
* obj2
= 0 ;
35912 char * kwnames
[] = {
35913 (char *) "self",(char *) "item",(char *) "cookie", NULL
35916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35918 if (!SWIG_IsOK(res1
)) {
35919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35923 if (!SWIG_IsOK(res2
)) {
35924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35930 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35931 if (!SWIG_IsOK(res3
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= result
;
35947 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35950 wxTreeItemId
*arg2
= 0 ;
35951 wxTreeItemId result
;
35956 PyObject
* obj0
= 0 ;
35957 PyObject
* obj1
= 0 ;
35958 char * kwnames
[] = {
35959 (char *) "self",(char *) "item", NULL
35962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35967 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35969 if (!SWIG_IsOK(res2
)) {
35970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35975 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35989 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
= 0;
35991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35992 wxTreeItemId
*arg2
= 0 ;
35993 wxTreeItemId result
;
35998 PyObject
* obj0
= 0 ;
35999 PyObject
* obj1
= 0 ;
36000 char * kwnames
[] = {
36001 (char *) "self",(char *) "item", NULL
36004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36006 if (!SWIG_IsOK(res1
)) {
36007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36011 if (!SWIG_IsOK(res2
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36031 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36032 PyObject
*resultobj
= 0;
36033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36034 wxTreeItemId
*arg2
= 0 ;
36035 wxTreeItemId result
;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 char * kwnames
[] = {
36043 (char *) "self",(char *) "item", NULL
36046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36048 if (!SWIG_IsOK(res1
)) {
36049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36051 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36053 if (!SWIG_IsOK(res2
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36059 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36073 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36074 PyObject
*resultobj
= 0;
36075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36076 wxTreeItemId result
;
36079 PyObject
*swig_obj
[1] ;
36081 if (!args
) SWIG_fail
;
36082 swig_obj
[0] = args
;
36083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36084 if (!SWIG_IsOK(res1
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36087 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36091 wxPyEndAllowThreads(__tstate
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36094 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36101 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
= 0;
36103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36104 wxTreeItemId
*arg2
= 0 ;
36105 wxTreeItemId result
;
36110 PyObject
* obj0
= 0 ;
36111 PyObject
* obj1
= 0 ;
36112 char * kwnames
[] = {
36113 (char *) "self",(char *) "item", NULL
36116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36118 if (!SWIG_IsOK(res1
)) {
36119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36121 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36123 if (!SWIG_IsOK(res2
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36143 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
= 0;
36145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36146 wxTreeItemId
*arg2
= 0 ;
36147 wxTreeItemId result
;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 char * kwnames
[] = {
36155 (char *) "self",(char *) "item", NULL
36158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36160 if (!SWIG_IsOK(res1
)) {
36161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36165 if (!SWIG_IsOK(res2
)) {
36166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36171 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36174 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36175 wxPyEndAllowThreads(__tstate
);
36176 if (PyErr_Occurred()) SWIG_fail
;
36178 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36185 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36186 PyObject
*resultobj
= 0;
36187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36188 wxString
*arg2
= 0 ;
36189 int arg3
= (int) -1 ;
36190 int arg4
= (int) -1 ;
36191 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36192 wxTreeItemId result
;
36195 bool temp2
= false ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 PyObject
* obj2
= 0 ;
36204 PyObject
* obj3
= 0 ;
36205 PyObject
* obj4
= 0 ;
36206 char * kwnames
[] = {
36207 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36212 if (!SWIG_IsOK(res1
)) {
36213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36215 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36217 arg2
= wxString_in_helper(obj1
);
36218 if (arg2
== NULL
) SWIG_fail
;
36222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36223 if (!SWIG_IsOK(ecode3
)) {
36224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36226 arg3
= static_cast< int >(val3
);
36229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36230 if (!SWIG_IsOK(ecode4
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36233 arg4
= static_cast< int >(val4
);
36236 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36237 if (!SWIG_IsOK(res5
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36243 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36262 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
= 0;
36264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36265 wxTreeItemId
*arg2
= 0 ;
36266 wxString
*arg3
= 0 ;
36267 int arg4
= (int) -1 ;
36268 int arg5
= (int) -1 ;
36269 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36270 wxTreeItemId result
;
36275 bool temp3
= false ;
36281 PyObject
* obj0
= 0 ;
36282 PyObject
* obj1
= 0 ;
36283 PyObject
* obj2
= 0 ;
36284 PyObject
* obj3
= 0 ;
36285 PyObject
* obj4
= 0 ;
36286 PyObject
* obj5
= 0 ;
36287 char * kwnames
[] = {
36288 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36293 if (!SWIG_IsOK(res1
)) {
36294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36298 if (!SWIG_IsOK(res2
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36306 arg3
= wxString_in_helper(obj2
);
36307 if (arg3
== NULL
) SWIG_fail
;
36311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36312 if (!SWIG_IsOK(ecode4
)) {
36313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36315 arg4
= static_cast< int >(val4
);
36318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36319 if (!SWIG_IsOK(ecode5
)) {
36320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36322 arg5
= static_cast< int >(val5
);
36325 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36326 if (!SWIG_IsOK(res6
)) {
36327 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36351 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
= 0;
36353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36354 wxTreeItemId
*arg2
= 0 ;
36355 wxTreeItemId
*arg3
= 0 ;
36356 wxString
*arg4
= 0 ;
36357 int arg5
= (int) -1 ;
36358 int arg6
= (int) -1 ;
36359 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36360 wxTreeItemId result
;
36367 bool temp4
= false ;
36373 PyObject
* obj0
= 0 ;
36374 PyObject
* obj1
= 0 ;
36375 PyObject
* obj2
= 0 ;
36376 PyObject
* obj3
= 0 ;
36377 PyObject
* obj4
= 0 ;
36378 PyObject
* obj5
= 0 ;
36379 PyObject
* obj6
= 0 ;
36380 char * kwnames
[] = {
36381 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36386 if (!SWIG_IsOK(res1
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36389 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36391 if (!SWIG_IsOK(res2
)) {
36392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36397 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36399 if (!SWIG_IsOK(res3
)) {
36400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36405 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36407 arg4
= wxString_in_helper(obj3
);
36408 if (arg4
== NULL
) SWIG_fail
;
36412 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36413 if (!SWIG_IsOK(ecode5
)) {
36414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36416 arg5
= static_cast< int >(val5
);
36419 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36420 if (!SWIG_IsOK(ecode6
)) {
36421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36423 arg6
= static_cast< int >(val6
);
36426 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36427 if (!SWIG_IsOK(res7
)) {
36428 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36452 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
= 0;
36454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36455 wxTreeItemId
*arg2
= 0 ;
36457 wxString
*arg4
= 0 ;
36458 int arg5
= (int) -1 ;
36459 int arg6
= (int) -1 ;
36460 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36461 wxTreeItemId result
;
36468 bool temp4
= false ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 PyObject
* obj2
= 0 ;
36477 PyObject
* obj3
= 0 ;
36478 PyObject
* obj4
= 0 ;
36479 PyObject
* obj5
= 0 ;
36480 PyObject
* obj6
= 0 ;
36481 char * kwnames
[] = {
36482 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36487 if (!SWIG_IsOK(res1
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36490 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36492 if (!SWIG_IsOK(res2
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36498 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36499 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36500 if (!SWIG_IsOK(ecode3
)) {
36501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36503 arg3
= static_cast< size_t >(val3
);
36505 arg4
= wxString_in_helper(obj3
);
36506 if (arg4
== NULL
) SWIG_fail
;
36510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36511 if (!SWIG_IsOK(ecode5
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36514 arg5
= static_cast< int >(val5
);
36517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36518 if (!SWIG_IsOK(ecode6
)) {
36519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36521 arg6
= static_cast< int >(val6
);
36524 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36525 if (!SWIG_IsOK(res7
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36532 wxPyEndAllowThreads(__tstate
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36535 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36550 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36551 PyObject
*resultobj
= 0;
36552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36553 wxTreeItemId
*arg2
= 0 ;
36554 wxString
*arg3
= 0 ;
36555 int arg4
= (int) -1 ;
36556 int arg5
= (int) -1 ;
36557 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36558 wxTreeItemId result
;
36563 bool temp3
= false ;
36569 PyObject
* obj0
= 0 ;
36570 PyObject
* obj1
= 0 ;
36571 PyObject
* obj2
= 0 ;
36572 PyObject
* obj3
= 0 ;
36573 PyObject
* obj4
= 0 ;
36574 PyObject
* obj5
= 0 ;
36575 char * kwnames
[] = {
36576 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36584 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36586 if (!SWIG_IsOK(res2
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36592 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36594 arg3
= wxString_in_helper(obj2
);
36595 if (arg3
== NULL
) SWIG_fail
;
36599 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36600 if (!SWIG_IsOK(ecode4
)) {
36601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36603 arg4
= static_cast< int >(val4
);
36606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36607 if (!SWIG_IsOK(ecode5
)) {
36608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36610 arg5
= static_cast< int >(val5
);
36613 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36614 if (!SWIG_IsOK(res6
)) {
36615 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36620 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36639 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36642 wxTreeItemId
*arg2
= 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 char * kwnames
[] = {
36650 (char *) "self",(char *) "item", NULL
36653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36655 if (!SWIG_IsOK(res1
)) {
36656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36660 if (!SWIG_IsOK(res2
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36666 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 resultobj
= SWIG_Py_Void();
36680 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
= 0;
36682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36683 wxTreeItemId
*arg2
= 0 ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char * kwnames
[] = {
36691 (char *) "self",(char *) "item", NULL
36694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36699 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36701 if (!SWIG_IsOK(res2
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36707 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36710 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36711 wxPyEndAllowThreads(__tstate
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36714 resultobj
= SWIG_Py_Void();
36721 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36722 PyObject
*resultobj
= 0;
36723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36726 PyObject
*swig_obj
[1] ;
36728 if (!args
) SWIG_fail
;
36729 swig_obj
[0] = args
;
36730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 (arg1
)->DeleteAllItems();
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_Py_Void();
36748 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
= 0;
36750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36751 wxTreeItemId
*arg2
= 0 ;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char * kwnames
[] = {
36759 (char *) "self",(char *) "item", NULL
36762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36764 if (!SWIG_IsOK(res1
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36767 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36769 if (!SWIG_IsOK(res2
)) {
36770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36775 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= SWIG_Py_Void();
36789 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
= 0;
36791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36792 wxTreeItemId
*arg2
= 0 ;
36797 PyObject
* obj0
= 0 ;
36798 PyObject
* obj1
= 0 ;
36799 char * kwnames
[] = {
36800 (char *) "self",(char *) "item", NULL
36803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36805 if (!SWIG_IsOK(res1
)) {
36806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36808 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36810 if (!SWIG_IsOK(res2
)) {
36811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36816 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36819 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36820 wxPyEndAllowThreads(__tstate
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 resultobj
= SWIG_Py_Void();
36830 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36831 PyObject
*resultobj
= 0;
36832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36835 PyObject
*swig_obj
[1] ;
36837 if (!args
) SWIG_fail
;
36838 swig_obj
[0] = args
;
36839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->ExpandAll();
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 resultobj
= SWIG_Py_Void();
36857 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
= 0;
36859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36860 wxTreeItemId
*arg2
= 0 ;
36865 PyObject
* obj0
= 0 ;
36866 PyObject
* obj1
= 0 ;
36867 char * kwnames
[] = {
36868 (char *) "self",(char *) "item", NULL
36871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36878 if (!SWIG_IsOK(res2
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_Py_Void();
36898 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36899 PyObject
*resultobj
= 0;
36900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36901 wxTreeItemId
*arg2
= 0 ;
36906 PyObject
* obj0
= 0 ;
36907 PyObject
* obj1
= 0 ;
36908 char * kwnames
[] = {
36909 (char *) "self",(char *) "item", NULL
36912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36914 if (!SWIG_IsOK(res1
)) {
36915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36919 if (!SWIG_IsOK(res2
)) {
36920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36929 wxPyEndAllowThreads(__tstate
);
36930 if (PyErr_Occurred()) SWIG_fail
;
36932 resultobj
= SWIG_Py_Void();
36939 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36940 PyObject
*resultobj
= 0;
36941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36944 PyObject
*swig_obj
[1] ;
36946 if (!args
) SWIG_fail
;
36947 swig_obj
[0] = args
;
36948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36952 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->CollapseAll();
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
= 0;
36968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36969 wxTreeItemId
*arg2
= 0 ;
36974 PyObject
* obj0
= 0 ;
36975 PyObject
* obj1
= 0 ;
36976 char * kwnames
[] = {
36977 (char *) "self",(char *) "item", NULL
36980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36982 if (!SWIG_IsOK(res1
)) {
36983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36987 if (!SWIG_IsOK(res2
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36996 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36997 wxPyEndAllowThreads(__tstate
);
36998 if (PyErr_Occurred()) SWIG_fail
;
37000 resultobj
= SWIG_Py_Void();
37007 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37008 PyObject
*resultobj
= 0;
37009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37010 wxTreeItemId
*arg2
= 0 ;
37015 PyObject
* obj0
= 0 ;
37016 PyObject
* obj1
= 0 ;
37017 char * kwnames
[] = {
37018 (char *) "self",(char *) "item", NULL
37021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37023 if (!SWIG_IsOK(res1
)) {
37024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37026 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37028 if (!SWIG_IsOK(res2
)) {
37029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= SWIG_Py_Void();
37048 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37049 PyObject
*resultobj
= 0;
37050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37053 PyObject
*swig_obj
[1] ;
37055 if (!args
) SWIG_fail
;
37056 swig_obj
[0] = args
;
37057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37058 if (!SWIG_IsOK(res1
)) {
37059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37061 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 (arg1
)->Unselect();
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_Py_Void();
37075 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37076 PyObject
*resultobj
= 0;
37077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37078 wxTreeItemId
*arg2
= 0 ;
37083 PyObject
* obj0
= 0 ;
37084 PyObject
* obj1
= 0 ;
37085 char * kwnames
[] = {
37086 (char *) "self",(char *) "item", NULL
37089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37091 if (!SWIG_IsOK(res1
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37094 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37096 if (!SWIG_IsOK(res2
)) {
37097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37102 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37105 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= SWIG_Py_Void();
37116 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37117 PyObject
*resultobj
= 0;
37118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37121 PyObject
*swig_obj
[1] ;
37123 if (!args
) SWIG_fail
;
37124 swig_obj
[0] = args
;
37125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37126 if (!SWIG_IsOK(res1
)) {
37127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37129 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 (arg1
)->UnselectAll();
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= SWIG_Py_Void();
37143 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37144 PyObject
*resultobj
= 0;
37145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37146 wxTreeItemId
*arg2
= 0 ;
37147 bool arg3
= (bool) true ;
37154 PyObject
* obj0
= 0 ;
37155 PyObject
* obj1
= 0 ;
37156 PyObject
* obj2
= 0 ;
37157 char * kwnames
[] = {
37158 (char *) "self",(char *) "item",(char *) "select", NULL
37161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37163 if (!SWIG_IsOK(res1
)) {
37164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37168 if (!SWIG_IsOK(res2
)) {
37169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37174 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37176 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37177 if (!SWIG_IsOK(ecode3
)) {
37178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37180 arg3
= static_cast< bool >(val3
);
37183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37184 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37185 wxPyEndAllowThreads(__tstate
);
37186 if (PyErr_Occurred()) SWIG_fail
;
37188 resultobj
= SWIG_Py_Void();
37195 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37196 PyObject
*resultobj
= 0;
37197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37198 wxTreeItemId
*arg2
= 0 ;
37203 PyObject
* obj0
= 0 ;
37204 PyObject
* obj1
= 0 ;
37205 char * kwnames
[] = {
37206 (char *) "self",(char *) "item", NULL
37209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37211 if (!SWIG_IsOK(res1
)) {
37212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37214 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37216 if (!SWIG_IsOK(res2
)) {
37217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37222 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37226 wxPyEndAllowThreads(__tstate
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37229 resultobj
= SWIG_Py_Void();
37236 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
= 0;
37238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37239 wxTreeItemId
*arg2
= 0 ;
37244 PyObject
* obj0
= 0 ;
37245 PyObject
* obj1
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "item", NULL
37250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37252 if (!SWIG_IsOK(res1
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37255 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37257 if (!SWIG_IsOK(res2
)) {
37258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37263 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37267 wxPyEndAllowThreads(__tstate
);
37268 if (PyErr_Occurred()) SWIG_fail
;
37270 resultobj
= SWIG_Py_Void();
37277 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37278 PyObject
*resultobj
= 0;
37279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37280 wxTreeItemId
*arg2
= 0 ;
37285 PyObject
* obj0
= 0 ;
37286 PyObject
* obj1
= 0 ;
37287 char * kwnames
[] = {
37288 (char *) "self",(char *) "item", NULL
37291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37293 if (!SWIG_IsOK(res1
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37298 if (!SWIG_IsOK(res2
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37307 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37311 resultobj
= SWIG_Py_Void();
37318 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
= 0;
37320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37321 wxTreeItemId
*arg2
= 0 ;
37326 PyObject
* obj0
= 0 ;
37327 PyObject
* obj1
= 0 ;
37328 char * kwnames
[] = {
37329 (char *) "self",(char *) "item", NULL
37332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37334 if (!SWIG_IsOK(res1
)) {
37335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37339 if (!SWIG_IsOK(res2
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37345 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37348 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37352 resultobj
= SWIG_Py_Void();
37359 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37360 PyObject
*resultobj
= 0;
37361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37362 wxTextCtrl
*result
= 0 ;
37365 PyObject
*swig_obj
[1] ;
37367 if (!args
) SWIG_fail
;
37368 swig_obj
[0] = args
;
37369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37370 if (!SWIG_IsOK(res1
)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37376 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37381 resultobj
= wxPyMake_wxObject(result
, 0);
37389 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
= 0;
37391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37392 wxTreeItemId
*arg2
= 0 ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 char * kwnames
[] = {
37400 (char *) "self",(char *) "item", NULL
37403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37410 if (!SWIG_IsOK(res2
)) {
37411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= SWIG_Py_Void();
37430 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
= 0;
37432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37433 wxPoint
*arg2
= 0 ;
37435 wxTreeItemId result
;
37440 int res3
= SWIG_TMPOBJ
;
37441 PyObject
* obj0
= 0 ;
37442 PyObject
* obj1
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "self",(char *) "point", NULL
37448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37450 if (!SWIG_IsOK(res1
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37453 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37460 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37465 if (SWIG_IsTmpObj(res3
)) {
37466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37468 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37477 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37478 PyObject
*resultobj
= 0;
37479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37480 wxTreeItemId
*arg2
= 0 ;
37481 bool arg3
= (bool) false ;
37482 PyObject
*result
= 0 ;
37489 PyObject
* obj0
= 0 ;
37490 PyObject
* obj1
= 0 ;
37491 PyObject
* obj2
= 0 ;
37492 char * kwnames
[] = {
37493 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37498 if (!SWIG_IsOK(res1
)) {
37499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37501 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37503 if (!SWIG_IsOK(res2
)) {
37504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37509 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37511 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37512 if (!SWIG_IsOK(ecode3
)) {
37513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37515 arg3
= static_cast< bool >(val3
);
37518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37519 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37523 resultobj
= result
;
37530 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
= 0;
37532 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37533 SwigValueWrapper
<wxVisualAttributes
> result
;
37536 PyObject
* obj0
= 0 ;
37537 char * kwnames
[] = {
37538 (char *) "variant", NULL
37541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37543 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37544 if (!SWIG_IsOK(ecode1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37547 arg1
= static_cast< wxWindowVariant
>(val1
);
37550 if (!wxPyCheckForApp()) SWIG_fail
;
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37563 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37564 PyObject
*resultobj
= 0;
37565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37571 PyObject
* obj0
= 0 ;
37572 PyObject
* obj1
= 0 ;
37573 char * kwnames
[] = {
37574 (char *) "self",(char *) "q", NULL
37577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37579 if (!SWIG_IsOK(res1
)) {
37580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37584 if (!SWIG_IsOK(ecode2
)) {
37585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37587 arg2
= static_cast< bool >(val2
);
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 (arg1
)->SetQuickBestSize(arg2
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_Py_Void();
37601 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37602 PyObject
*resultobj
= 0;
37603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37607 PyObject
*swig_obj
[1] ;
37609 if (!args
) SWIG_fail
;
37610 swig_obj
[0] = args
;
37611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37612 if (!SWIG_IsOK(res1
)) {
37613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37618 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37619 wxPyEndAllowThreads(__tstate
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37631 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37635 return SWIG_Py_Void();
37638 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37639 return SWIG_Python_InitShadowInstance(args
);
37642 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37643 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37648 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37649 PyObject
*pyobj
= 0;
37653 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37655 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37662 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37663 PyObject
*resultobj
= 0;
37664 wxWindow
*arg1
= (wxWindow
*) 0 ;
37665 int arg2
= (int) (int)-1 ;
37666 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37667 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37672 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37673 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37674 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37675 int arg8
= (int) 0 ;
37676 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37677 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37678 wxGenericDirCtrl
*result
= 0 ;
37683 bool temp3
= false ;
37688 bool temp7
= false ;
37691 bool temp9
= false ;
37692 PyObject
* obj0
= 0 ;
37693 PyObject
* obj1
= 0 ;
37694 PyObject
* obj2
= 0 ;
37695 PyObject
* obj3
= 0 ;
37696 PyObject
* obj4
= 0 ;
37697 PyObject
* obj5
= 0 ;
37698 PyObject
* obj6
= 0 ;
37699 PyObject
* obj7
= 0 ;
37700 PyObject
* obj8
= 0 ;
37701 char * kwnames
[] = {
37702 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37707 if (!SWIG_IsOK(res1
)) {
37708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37713 if (!SWIG_IsOK(ecode2
)) {
37714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37716 arg2
= static_cast< int >(val2
);
37720 arg3
= wxString_in_helper(obj2
);
37721 if (arg3
== NULL
) SWIG_fail
;
37728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37738 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37739 if (!SWIG_IsOK(ecode6
)) {
37740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37742 arg6
= static_cast< long >(val6
);
37746 arg7
= wxString_in_helper(obj6
);
37747 if (arg7
== NULL
) SWIG_fail
;
37752 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37753 if (!SWIG_IsOK(ecode8
)) {
37754 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37756 arg8
= static_cast< int >(val8
);
37760 arg9
= wxString_in_helper(obj8
);
37761 if (arg9
== NULL
) SWIG_fail
;
37766 if (!wxPyCheckForApp()) SWIG_fail
;
37767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37768 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37803 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37804 PyObject
*resultobj
= 0;
37805 wxGenericDirCtrl
*result
= 0 ;
37807 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37809 if (!wxPyCheckForApp()) SWIG_fail
;
37810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37811 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37822 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
= 0;
37824 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37825 wxWindow
*arg2
= (wxWindow
*) 0 ;
37826 int arg3
= (int) (int)-1 ;
37827 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37829 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37830 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37831 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37832 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37833 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37834 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37836 int arg9
= (int) 0 ;
37837 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37838 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37846 bool temp4
= false ;
37851 bool temp8
= false ;
37854 bool temp10
= false ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 PyObject
* obj2
= 0 ;
37858 PyObject
* obj3
= 0 ;
37859 PyObject
* obj4
= 0 ;
37860 PyObject
* obj5
= 0 ;
37861 PyObject
* obj6
= 0 ;
37862 PyObject
* obj7
= 0 ;
37863 PyObject
* obj8
= 0 ;
37864 PyObject
* obj9
= 0 ;
37865 char * kwnames
[] = {
37866 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37871 if (!SWIG_IsOK(res1
)) {
37872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37874 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37876 if (!SWIG_IsOK(res2
)) {
37877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37882 if (!SWIG_IsOK(ecode3
)) {
37883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37885 arg3
= static_cast< int >(val3
);
37889 arg4
= wxString_in_helper(obj3
);
37890 if (arg4
== NULL
) SWIG_fail
;
37897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37907 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37908 if (!SWIG_IsOK(ecode7
)) {
37909 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37911 arg7
= static_cast< long >(val7
);
37915 arg8
= wxString_in_helper(obj7
);
37916 if (arg8
== NULL
) SWIG_fail
;
37921 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37922 if (!SWIG_IsOK(ecode9
)) {
37923 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37925 arg9
= static_cast< int >(val9
);
37929 arg10
= wxString_in_helper(obj9
);
37930 if (arg10
== NULL
) SWIG_fail
;
37935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37973 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
= 0;
37975 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37976 wxString
*arg2
= 0 ;
37980 bool temp2
= false ;
37981 PyObject
* obj0
= 0 ;
37982 PyObject
* obj1
= 0 ;
37983 char * kwnames
[] = {
37984 (char *) "self",(char *) "path", NULL
37987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37989 if (!SWIG_IsOK(res1
)) {
37990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37992 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37994 arg2
= wxString_in_helper(obj1
);
37995 if (arg2
== NULL
) SWIG_fail
;
37999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38000 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38021 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
= 0;
38023 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38024 wxString
*arg2
= 0 ;
38028 bool temp2
= false ;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 char * kwnames
[] = {
38032 (char *) "self",(char *) "path", NULL
38035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38037 if (!SWIG_IsOK(res1
)) {
38038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38040 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38042 arg2
= wxString_in_helper(obj1
);
38043 if (arg2
== NULL
) SWIG_fail
;
38047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38048 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38049 wxPyEndAllowThreads(__tstate
);
38050 if (PyErr_Occurred()) SWIG_fail
;
38053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38069 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38070 PyObject
*resultobj
= 0;
38071 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38075 PyObject
*swig_obj
[1] ;
38077 if (!args
) SWIG_fail
;
38078 swig_obj
[0] = args
;
38079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38080 if (!SWIG_IsOK(res1
)) {
38081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38083 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38086 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38103 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38104 PyObject
*resultobj
= 0;
38105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38106 wxString
*arg2
= 0 ;
38109 bool temp2
= false ;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 char * kwnames
[] = {
38113 (char *) "self",(char *) "path", NULL
38116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38118 if (!SWIG_IsOK(res1
)) {
38119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38121 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38123 arg2
= wxString_in_helper(obj1
);
38124 if (arg2
== NULL
) SWIG_fail
;
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= SWIG_Py_Void();
38148 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38149 PyObject
*resultobj
= 0;
38150 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38154 PyObject
*swig_obj
[1] ;
38156 if (!args
) SWIG_fail
;
38157 swig_obj
[0] = args
;
38158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38159 if (!SWIG_IsOK(res1
)) {
38160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38162 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38165 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38166 wxPyEndAllowThreads(__tstate
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38182 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38183 PyObject
*resultobj
= 0;
38184 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38188 PyObject
*swig_obj
[1] ;
38190 if (!args
) SWIG_fail
;
38191 swig_obj
[0] = args
;
38192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38193 if (!SWIG_IsOK(res1
)) {
38194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38196 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38199 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38216 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
= 0;
38218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38219 wxString
*arg2
= 0 ;
38222 bool temp2
= false ;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 char * kwnames
[] = {
38226 (char *) "self",(char *) "path", NULL
38229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38231 if (!SWIG_IsOK(res1
)) {
38232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38234 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38236 arg2
= wxString_in_helper(obj1
);
38237 if (arg2
== NULL
) SWIG_fail
;
38241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38242 (arg1
)->SetPath((wxString
const &)*arg2
);
38243 wxPyEndAllowThreads(__tstate
);
38244 if (PyErr_Occurred()) SWIG_fail
;
38246 resultobj
= SWIG_Py_Void();
38261 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38262 PyObject
*resultobj
= 0;
38263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38269 PyObject
* obj0
= 0 ;
38270 PyObject
* obj1
= 0 ;
38271 char * kwnames
[] = {
38272 (char *) "self",(char *) "show", NULL
38275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38277 if (!SWIG_IsOK(res1
)) {
38278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38280 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38282 if (!SWIG_IsOK(ecode2
)) {
38283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38285 arg2
= static_cast< bool >(val2
);
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 (arg1
)->ShowHidden(arg2
);
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38292 resultobj
= SWIG_Py_Void();
38299 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38300 PyObject
*resultobj
= 0;
38301 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38305 PyObject
*swig_obj
[1] ;
38307 if (!args
) SWIG_fail
;
38308 swig_obj
[0] = args
;
38309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38310 if (!SWIG_IsOK(res1
)) {
38311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38313 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38316 result
= (bool)(arg1
)->GetShowHidden();
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38329 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38330 PyObject
*resultobj
= 0;
38331 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38335 PyObject
*swig_obj
[1] ;
38337 if (!args
) SWIG_fail
;
38338 swig_obj
[0] = args
;
38339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38340 if (!SWIG_IsOK(res1
)) {
38341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38343 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38363 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38364 PyObject
*resultobj
= 0;
38365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38366 wxString
*arg2
= 0 ;
38369 bool temp2
= false ;
38370 PyObject
* obj0
= 0 ;
38371 PyObject
* obj1
= 0 ;
38372 char * kwnames
[] = {
38373 (char *) "self",(char *) "filter", NULL
38376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38378 if (!SWIG_IsOK(res1
)) {
38379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38381 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38383 arg2
= wxString_in_helper(obj1
);
38384 if (arg2
== NULL
) SWIG_fail
;
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 (arg1
)->SetFilter((wxString
const &)*arg2
);
38390 wxPyEndAllowThreads(__tstate
);
38391 if (PyErr_Occurred()) SWIG_fail
;
38393 resultobj
= SWIG_Py_Void();
38408 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38409 PyObject
*resultobj
= 0;
38410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38414 PyObject
*swig_obj
[1] ;
38416 if (!args
) SWIG_fail
;
38417 swig_obj
[0] = args
;
38418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38419 if (!SWIG_IsOK(res1
)) {
38420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38422 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= SWIG_From_int(static_cast< int >(result
));
38436 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
= 0;
38438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38444 PyObject
* obj0
= 0 ;
38445 PyObject
* obj1
= 0 ;
38446 char * kwnames
[] = {
38447 (char *) "self",(char *) "n", NULL
38450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38452 if (!SWIG_IsOK(res1
)) {
38453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38455 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38457 if (!SWIG_IsOK(ecode2
)) {
38458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38460 arg2
= static_cast< int >(val2
);
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 (arg1
)->SetFilterIndex(arg2
);
38464 wxPyEndAllowThreads(__tstate
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38467 resultobj
= SWIG_Py_Void();
38474 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38475 PyObject
*resultobj
= 0;
38476 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38477 wxTreeItemId result
;
38480 PyObject
*swig_obj
[1] ;
38482 if (!args
) SWIG_fail
;
38483 swig_obj
[0] = args
;
38484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38485 if (!SWIG_IsOK(res1
)) {
38486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38488 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38491 result
= (arg1
)->GetRootId();
38492 wxPyEndAllowThreads(__tstate
);
38493 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38502 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38503 PyObject
*resultobj
= 0;
38504 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38505 wxPyTreeCtrl
*result
= 0 ;
38508 PyObject
*swig_obj
[1] ;
38510 if (!args
) SWIG_fail
;
38511 swig_obj
[0] = args
;
38512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38513 if (!SWIG_IsOK(res1
)) {
38514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38516 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38519 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38524 resultobj
= wxPyMake_wxObject(result
, 0);
38532 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38533 PyObject
*resultobj
= 0;
38534 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38535 wxDirFilterListCtrl
*result
= 0 ;
38538 PyObject
*swig_obj
[1] ;
38540 if (!args
) SWIG_fail
;
38541 swig_obj
[0] = args
;
38542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38543 if (!SWIG_IsOK(res1
)) {
38544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38546 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38549 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38550 wxPyEndAllowThreads(__tstate
);
38551 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38560 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38561 PyObject
*resultobj
= 0;
38562 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38563 wxTreeItemId arg2
;
38564 wxString
*arg3
= 0 ;
38566 wxTreeItemId result
;
38571 bool temp3
= false ;
38573 int res4
= SWIG_TMPOBJ
;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 char * kwnames
[] = {
38578 (char *) "self",(char *) "parentId",(char *) "path", NULL
38582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38584 if (!SWIG_IsOK(res1
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38587 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38590 if (!SWIG_IsOK(res2
)) {
38591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38596 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38598 if (SWIG_IsNewObj(res2
)) delete temp
;
38602 arg3
= wxString_in_helper(obj2
);
38603 if (arg3
== NULL
) SWIG_fail
;
38607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38608 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38609 wxPyEndAllowThreads(__tstate
);
38610 if (PyErr_Occurred()) SWIG_fail
;
38612 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38613 if (SWIG_IsTmpObj(res4
)) {
38614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38616 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38633 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38634 PyObject
*resultobj
= 0;
38635 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38638 PyObject
*swig_obj
[1] ;
38640 if (!args
) SWIG_fail
;
38641 swig_obj
[0] = args
;
38642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38643 if (!SWIG_IsOK(res1
)) {
38644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38646 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38649 (arg1
)->DoResize();
38650 wxPyEndAllowThreads(__tstate
);
38651 if (PyErr_Occurred()) SWIG_fail
;
38653 resultobj
= SWIG_Py_Void();
38660 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38661 PyObject
*resultobj
= 0;
38662 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38665 PyObject
*swig_obj
[1] ;
38667 if (!args
) SWIG_fail
;
38668 swig_obj
[0] = args
;
38669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38670 if (!SWIG_IsOK(res1
)) {
38671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38673 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38676 (arg1
)->ReCreateTree();
38677 wxPyEndAllowThreads(__tstate
);
38678 if (PyErr_Occurred()) SWIG_fail
;
38680 resultobj
= SWIG_Py_Void();
38687 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38690 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38691 return SWIG_Py_Void();
38694 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38695 return SWIG_Python_InitShadowInstance(args
);
38698 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
= 0;
38700 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38701 int arg2
= (int) (int)-1 ;
38702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38704 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38705 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38706 long arg5
= (long) 0 ;
38707 wxDirFilterListCtrl
*result
= 0 ;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38718 PyObject
* obj2
= 0 ;
38719 PyObject
* obj3
= 0 ;
38720 PyObject
* obj4
= 0 ;
38721 char * kwnames
[] = {
38722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38727 if (!SWIG_IsOK(res1
)) {
38728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38730 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38733 if (!SWIG_IsOK(ecode2
)) {
38734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38736 arg2
= static_cast< int >(val2
);
38741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38751 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38752 if (!SWIG_IsOK(ecode5
)) {
38753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38755 arg5
= static_cast< long >(val5
);
38758 if (!wxPyCheckForApp()) SWIG_fail
;
38759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38760 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38771 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38772 PyObject
*resultobj
= 0;
38773 wxDirFilterListCtrl
*result
= 0 ;
38775 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38777 if (!wxPyCheckForApp()) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38790 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
= 0;
38792 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38793 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38794 int arg3
= (int) (int)-1 ;
38795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38799 long arg6
= (long) 0 ;
38811 PyObject
* obj0
= 0 ;
38812 PyObject
* obj1
= 0 ;
38813 PyObject
* obj2
= 0 ;
38814 PyObject
* obj3
= 0 ;
38815 PyObject
* obj4
= 0 ;
38816 PyObject
* obj5
= 0 ;
38817 char * kwnames
[] = {
38818 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38823 if (!SWIG_IsOK(res1
)) {
38824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38826 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38828 if (!SWIG_IsOK(res2
)) {
38829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38831 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38834 if (!SWIG_IsOK(ecode3
)) {
38835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38837 arg3
= static_cast< int >(val3
);
38842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38853 if (!SWIG_IsOK(ecode6
)) {
38854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38856 arg6
= static_cast< long >(val6
);
38859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38873 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38874 PyObject
*resultobj
= 0;
38875 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38876 wxString
*arg2
= 0 ;
38880 bool temp2
= false ;
38883 PyObject
* obj0
= 0 ;
38884 PyObject
* obj1
= 0 ;
38885 PyObject
* obj2
= 0 ;
38886 char * kwnames
[] = {
38887 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38892 if (!SWIG_IsOK(res1
)) {
38893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38895 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38897 arg2
= wxString_in_helper(obj1
);
38898 if (arg2
== NULL
) SWIG_fail
;
38901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38902 if (!SWIG_IsOK(ecode3
)) {
38903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38905 arg3
= static_cast< int >(val3
);
38907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38908 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 resultobj
= SWIG_Py_Void();
38927 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38930 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38931 return SWIG_Py_Void();
38934 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38935 return SWIG_Python_InitShadowInstance(args
);
38938 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38939 PyObject
*resultobj
= 0;
38940 wxWindow
*arg1
= (wxWindow
*) 0 ;
38941 int arg2
= (int) (int)-1 ;
38942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38946 long arg5
= (long) 0 ;
38947 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38948 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38949 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38951 wxPyControl
*result
= 0 ;
38962 bool temp7
= false ;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38965 PyObject
* obj2
= 0 ;
38966 PyObject
* obj3
= 0 ;
38967 PyObject
* obj4
= 0 ;
38968 PyObject
* obj5
= 0 ;
38969 PyObject
* obj6
= 0 ;
38970 char * kwnames
[] = {
38971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38976 if (!SWIG_IsOK(res1
)) {
38977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38979 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38982 if (!SWIG_IsOK(ecode2
)) {
38983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38985 arg2
= static_cast< int >(val2
);
38990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38996 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39000 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39001 if (!SWIG_IsOK(ecode5
)) {
39002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39004 arg5
= static_cast< long >(val5
);
39007 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39008 if (!SWIG_IsOK(res6
)) {
39009 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39014 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39018 arg7
= wxString_in_helper(obj6
);
39019 if (arg7
== NULL
) SWIG_fail
;
39024 if (!wxPyCheckForApp()) SWIG_fail
;
39025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39026 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39045 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39046 PyObject
*resultobj
= 0;
39047 wxPyControl
*result
= 0 ;
39049 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39051 if (!wxPyCheckForApp()) SWIG_fail
;
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 result
= (wxPyControl
*)new wxPyControl();
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39064 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39065 PyObject
*resultobj
= 0;
39066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39067 PyObject
*arg2
= (PyObject
*) 0 ;
39068 PyObject
*arg3
= (PyObject
*) 0 ;
39071 PyObject
* obj0
= 0 ;
39072 PyObject
* obj1
= 0 ;
39073 PyObject
* obj2
= 0 ;
39074 char * kwnames
[] = {
39075 (char *) "self",(char *) "self",(char *) "_class", NULL
39078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39080 if (!SWIG_IsOK(res1
)) {
39081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39083 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_Py_Void();
39099 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
= 0;
39101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39102 wxDC
*arg2
= (wxDC
*) 0 ;
39108 PyObject
* obj0
= 0 ;
39109 PyObject
* obj1
= 0 ;
39110 char * kwnames
[] = {
39111 (char *) "self",(char *) "dc", NULL
39114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39119 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39121 if (!SWIG_IsOK(res2
)) {
39122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39124 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39140 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39141 PyObject
*resultobj
= 0;
39142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39157 PyObject
* obj0
= 0 ;
39158 PyObject
* obj1
= 0 ;
39159 PyObject
* obj2
= 0 ;
39160 PyObject
* obj3
= 0 ;
39161 PyObject
* obj4
= 0 ;
39162 char * kwnames
[] = {
39163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39168 if (!SWIG_IsOK(res1
)) {
39169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39171 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39173 if (!SWIG_IsOK(ecode2
)) {
39174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39176 arg2
= static_cast< int >(val2
);
39177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39178 if (!SWIG_IsOK(ecode3
)) {
39179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39181 arg3
= static_cast< int >(val3
);
39182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39183 if (!SWIG_IsOK(ecode4
)) {
39184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39186 arg4
= static_cast< int >(val4
);
39187 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39188 if (!SWIG_IsOK(ecode5
)) {
39189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39191 arg5
= static_cast< int >(val5
);
39193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39194 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39195 wxPyEndAllowThreads(__tstate
);
39196 if (PyErr_Occurred()) SWIG_fail
;
39198 resultobj
= SWIG_Py_Void();
39205 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39206 PyObject
*resultobj
= 0;
39207 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39212 int arg6
= (int) wxSIZE_AUTO
;
39225 PyObject
* obj0
= 0 ;
39226 PyObject
* obj1
= 0 ;
39227 PyObject
* obj2
= 0 ;
39228 PyObject
* obj3
= 0 ;
39229 PyObject
* obj4
= 0 ;
39230 PyObject
* obj5
= 0 ;
39231 char * kwnames
[] = {
39232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39237 if (!SWIG_IsOK(res1
)) {
39238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39240 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39242 if (!SWIG_IsOK(ecode2
)) {
39243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39245 arg2
= static_cast< int >(val2
);
39246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39247 if (!SWIG_IsOK(ecode3
)) {
39248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39250 arg3
= static_cast< int >(val3
);
39251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39252 if (!SWIG_IsOK(ecode4
)) {
39253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39255 arg4
= static_cast< int >(val4
);
39256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39257 if (!SWIG_IsOK(ecode5
)) {
39258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39260 arg5
= static_cast< int >(val5
);
39262 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39263 if (!SWIG_IsOK(ecode6
)) {
39264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39266 arg6
= static_cast< int >(val6
);
39269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39270 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 resultobj
= SWIG_Py_Void();
39281 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39282 PyObject
*resultobj
= 0;
39283 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39292 PyObject
* obj0
= 0 ;
39293 PyObject
* obj1
= 0 ;
39294 PyObject
* obj2
= 0 ;
39295 char * kwnames
[] = {
39296 (char *) "self",(char *) "width",(char *) "height", NULL
39299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39301 if (!SWIG_IsOK(res1
)) {
39302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39304 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39306 if (!SWIG_IsOK(ecode2
)) {
39307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39309 arg2
= static_cast< int >(val2
);
39310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39311 if (!SWIG_IsOK(ecode3
)) {
39312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39314 arg3
= static_cast< int >(val3
);
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 (arg1
)->DoSetClientSize(arg2
,arg3
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39321 resultobj
= SWIG_Py_Void();
39328 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39329 PyObject
*resultobj
= 0;
39330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39339 PyObject
* obj0
= 0 ;
39340 PyObject
* obj1
= 0 ;
39341 PyObject
* obj2
= 0 ;
39342 char * kwnames
[] = {
39343 (char *) "self",(char *) "x",(char *) "y", NULL
39346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39348 if (!SWIG_IsOK(res1
)) {
39349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39351 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39353 if (!SWIG_IsOK(ecode2
)) {
39354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39356 arg2
= static_cast< int >(val2
);
39357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39358 if (!SWIG_IsOK(ecode3
)) {
39359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39361 arg3
= static_cast< int >(val3
);
39363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39364 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 resultobj
= SWIG_Py_Void();
39375 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39376 PyObject
*resultobj
= 0;
39377 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39378 int *arg2
= (int *) 0 ;
39379 int *arg3
= (int *) 0 ;
39383 int res2
= SWIG_TMPOBJ
;
39385 int res3
= SWIG_TMPOBJ
;
39386 PyObject
*swig_obj
[1] ;
39390 if (!args
) SWIG_fail
;
39391 swig_obj
[0] = args
;
39392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39393 if (!SWIG_IsOK(res1
)) {
39394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39396 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39399 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39403 resultobj
= SWIG_Py_Void();
39404 if (SWIG_IsTmpObj(res2
)) {
39405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39407 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39410 if (SWIG_IsTmpObj(res3
)) {
39411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39413 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39422 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39423 PyObject
*resultobj
= 0;
39424 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39425 int *arg2
= (int *) 0 ;
39426 int *arg3
= (int *) 0 ;
39430 int res2
= SWIG_TMPOBJ
;
39432 int res3
= SWIG_TMPOBJ
;
39433 PyObject
*swig_obj
[1] ;
39437 if (!args
) SWIG_fail
;
39438 swig_obj
[0] = args
;
39439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39440 if (!SWIG_IsOK(res1
)) {
39441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39443 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39446 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39447 wxPyEndAllowThreads(__tstate
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39450 resultobj
= SWIG_Py_Void();
39451 if (SWIG_IsTmpObj(res2
)) {
39452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39454 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39457 if (SWIG_IsTmpObj(res3
)) {
39458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39460 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39469 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39470 PyObject
*resultobj
= 0;
39471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39472 int *arg2
= (int *) 0 ;
39473 int *arg3
= (int *) 0 ;
39477 int res2
= SWIG_TMPOBJ
;
39479 int res3
= SWIG_TMPOBJ
;
39480 PyObject
*swig_obj
[1] ;
39484 if (!args
) SWIG_fail
;
39485 swig_obj
[0] = args
;
39486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39487 if (!SWIG_IsOK(res1
)) {
39488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39490 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39494 wxPyEndAllowThreads(__tstate
);
39495 if (PyErr_Occurred()) SWIG_fail
;
39497 resultobj
= SWIG_Py_Void();
39498 if (SWIG_IsTmpObj(res2
)) {
39499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39501 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39504 if (SWIG_IsTmpObj(res3
)) {
39505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39507 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39516 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39517 PyObject
*resultobj
= 0;
39518 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39522 PyObject
*swig_obj
[1] ;
39524 if (!args
) SWIG_fail
;
39525 swig_obj
[0] = args
;
39526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39527 if (!SWIG_IsOK(res1
)) {
39528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39530 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39533 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39544 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39545 PyObject
*resultobj
= 0;
39546 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39550 PyObject
*swig_obj
[1] ;
39552 if (!args
) SWIG_fail
;
39553 swig_obj
[0] = args
;
39554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39555 if (!SWIG_IsOK(res1
)) {
39556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39558 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39561 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39565 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39572 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39573 PyObject
*resultobj
= 0;
39574 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39575 SwigValueWrapper
<wxVisualAttributes
> result
;
39578 PyObject
*swig_obj
[1] ;
39580 if (!args
) SWIG_fail
;
39581 swig_obj
[0] = args
;
39582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39583 if (!SWIG_IsOK(res1
)) {
39584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39586 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39589 result
= (arg1
)->GetDefaultAttributes();
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39593 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39600 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39601 PyObject
*resultobj
= 0;
39602 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39605 PyObject
*swig_obj
[1] ;
39607 if (!args
) SWIG_fail
;
39608 swig_obj
[0] = args
;
39609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39610 if (!SWIG_IsOK(res1
)) {
39611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39613 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 (arg1
)->OnInternalIdle();
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= SWIG_Py_Void();
39627 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39630 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39631 return SWIG_Py_Void();
39634 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39635 return SWIG_Python_InitShadowInstance(args
);
39638 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39639 PyObject
*resultobj
= 0;
39640 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39641 int arg2
= (int) 0 ;
39642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39644 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39645 wxHelpEvent
*result
= 0 ;
39653 PyObject
* obj0
= 0 ;
39654 PyObject
* obj1
= 0 ;
39655 PyObject
* obj2
= 0 ;
39656 PyObject
* obj3
= 0 ;
39657 char * kwnames
[] = {
39658 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39664 if (!SWIG_IsOK(ecode1
)) {
39665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39667 arg1
= static_cast< wxEventType
>(val1
);
39670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39671 if (!SWIG_IsOK(ecode2
)) {
39672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39674 arg2
= static_cast< int >(val2
);
39679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39684 if (!SWIG_IsOK(ecode4
)) {
39685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39687 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39691 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39692 wxPyEndAllowThreads(__tstate
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39702 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39703 PyObject
*resultobj
= 0;
39704 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39708 PyObject
*swig_obj
[1] ;
39710 if (!args
) SWIG_fail
;
39711 swig_obj
[0] = args
;
39712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39713 if (!SWIG_IsOK(res1
)) {
39714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39716 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39719 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39730 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
= 0;
39732 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39733 wxPoint
*arg2
= 0 ;
39737 PyObject
* obj0
= 0 ;
39738 PyObject
* obj1
= 0 ;
39739 char * kwnames
[] = {
39740 (char *) "self",(char *) "pos", NULL
39743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39745 if (!SWIG_IsOK(res1
)) {
39746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39748 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= SWIG_Py_Void();
39766 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39767 PyObject
*resultobj
= 0;
39768 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39769 wxString
*result
= 0 ;
39772 PyObject
*swig_obj
[1] ;
39774 if (!args
) SWIG_fail
;
39775 swig_obj
[0] = args
;
39776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39777 if (!SWIG_IsOK(res1
)) {
39778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39780 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39784 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39785 result
= (wxString
*) &_result_ref
;
39787 wxPyEndAllowThreads(__tstate
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39803 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
= 0;
39805 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39806 wxString
*arg2
= 0 ;
39809 bool temp2
= false ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 char * kwnames
[] = {
39813 (char *) "self",(char *) "link", NULL
39816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39818 if (!SWIG_IsOK(res1
)) {
39819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39821 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39823 arg2
= wxString_in_helper(obj1
);
39824 if (arg2
== NULL
) SWIG_fail
;
39828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 (arg1
)->SetLink((wxString
const &)*arg2
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39833 resultobj
= SWIG_Py_Void();
39848 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39849 PyObject
*resultobj
= 0;
39850 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39851 wxString
*result
= 0 ;
39854 PyObject
*swig_obj
[1] ;
39856 if (!args
) SWIG_fail
;
39857 swig_obj
[0] = args
;
39858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39859 if (!SWIG_IsOK(res1
)) {
39860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39862 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39866 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39867 result
= (wxString
*) &_result_ref
;
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39874 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39876 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39885 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39886 PyObject
*resultobj
= 0;
39887 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39888 wxString
*arg2
= 0 ;
39891 bool temp2
= false ;
39892 PyObject
* obj0
= 0 ;
39893 PyObject
* obj1
= 0 ;
39894 char * kwnames
[] = {
39895 (char *) "self",(char *) "target", NULL
39898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39900 if (!SWIG_IsOK(res1
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39903 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39905 arg2
= wxString_in_helper(obj1
);
39906 if (arg2
== NULL
) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 (arg1
)->SetTarget((wxString
const &)*arg2
);
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_Py_Void();
39930 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39931 PyObject
*resultobj
= 0;
39932 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39933 wxHelpEvent::Origin result
;
39936 PyObject
*swig_obj
[1] ;
39938 if (!args
) SWIG_fail
;
39939 swig_obj
[0] = args
;
39940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39941 if (!SWIG_IsOK(res1
)) {
39942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39944 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39947 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 resultobj
= SWIG_From_int(static_cast< int >(result
));
39958 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
= 0;
39960 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39961 wxHelpEvent::Origin arg2
;
39966 PyObject
* obj0
= 0 ;
39967 PyObject
* obj1
= 0 ;
39968 char * kwnames
[] = {
39969 (char *) "self",(char *) "origin", NULL
39972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39974 if (!SWIG_IsOK(res1
)) {
39975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39977 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39979 if (!SWIG_IsOK(ecode2
)) {
39980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39982 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 (arg1
)->SetOrigin(arg2
);
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= SWIG_Py_Void();
39996 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39999 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40000 return SWIG_Py_Void();
40003 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40004 return SWIG_Python_InitShadowInstance(args
);
40007 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40008 PyObject
*resultobj
= 0;
40009 wxWindow
*arg1
= (wxWindow
*) NULL
;
40010 bool arg2
= (bool) true ;
40011 wxContextHelp
*result
= 0 ;
40016 PyObject
* obj0
= 0 ;
40017 PyObject
* obj1
= 0 ;
40018 char * kwnames
[] = {
40019 (char *) "window",(char *) "doNow", NULL
40022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40025 if (!SWIG_IsOK(res1
)) {
40026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40031 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40032 if (!SWIG_IsOK(ecode2
)) {
40033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40035 arg2
= static_cast< bool >(val2
);
40038 if (!wxPyCheckForApp()) SWIG_fail
;
40039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40040 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40051 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40052 PyObject
*resultobj
= 0;
40053 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40056 PyObject
*swig_obj
[1] ;
40058 if (!args
) SWIG_fail
;
40059 swig_obj
[0] = args
;
40060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40061 if (!SWIG_IsOK(res1
)) {
40062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40064 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 wxPyEndAllowThreads(__tstate
);
40070 if (PyErr_Occurred()) SWIG_fail
;
40072 resultobj
= SWIG_Py_Void();
40079 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40080 PyObject
*resultobj
= 0;
40081 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40082 wxWindow
*arg2
= (wxWindow
*) NULL
;
40088 PyObject
* obj0
= 0 ;
40089 PyObject
* obj1
= 0 ;
40090 char * kwnames
[] = {
40091 (char *) "self",(char *) "window", NULL
40094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40096 if (!SWIG_IsOK(res1
)) {
40097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40099 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40102 if (!SWIG_IsOK(res2
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40105 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40122 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40123 PyObject
*resultobj
= 0;
40124 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40128 PyObject
*swig_obj
[1] ;
40130 if (!args
) SWIG_fail
;
40131 swig_obj
[0] = args
;
40132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40133 if (!SWIG_IsOK(res1
)) {
40134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40136 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 result
= (bool)(arg1
)->EndContextHelp();
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40152 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40155 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40156 return SWIG_Py_Void();
40159 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40160 return SWIG_Python_InitShadowInstance(args
);
40163 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40164 PyObject
*resultobj
= 0;
40165 wxWindow
*arg1
= (wxWindow
*) 0 ;
40166 int arg2
= (int) wxID_CONTEXT_HELP
;
40167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40171 long arg5
= (long) wxBU_AUTODRAW
;
40172 wxContextHelpButton
*result
= 0 ;
40181 PyObject
* obj0
= 0 ;
40182 PyObject
* obj1
= 0 ;
40183 PyObject
* obj2
= 0 ;
40184 PyObject
* obj3
= 0 ;
40185 PyObject
* obj4
= 0 ;
40186 char * kwnames
[] = {
40187 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40192 if (!SWIG_IsOK(res1
)) {
40193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40198 if (!SWIG_IsOK(ecode2
)) {
40199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40201 arg2
= static_cast< int >(val2
);
40206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40212 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40216 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40217 if (!SWIG_IsOK(ecode5
)) {
40218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40220 arg5
= static_cast< long >(val5
);
40223 if (!wxPyCheckForApp()) SWIG_fail
;
40224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40225 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40236 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40239 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40240 return SWIG_Py_Void();
40243 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40244 return SWIG_Python_InitShadowInstance(args
);
40247 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40248 PyObject
*resultobj
= 0;
40249 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40252 PyObject
*swig_obj
[1] ;
40254 if (!args
) SWIG_fail
;
40255 swig_obj
[0] = args
;
40256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40257 if (!SWIG_IsOK(res1
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40260 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40268 resultobj
= SWIG_Py_Void();
40275 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
= 0;
40277 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40278 wxHelpProvider
*result
= 0 ;
40280 PyObject
* obj0
= 0 ;
40281 char * kwnames
[] = {
40282 (char *) "helpProvider", NULL
40285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40286 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40287 if (!SWIG_IsOK(res1
)) {
40288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40292 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40293 wxPyEndAllowThreads(__tstate
);
40294 if (PyErr_Occurred()) SWIG_fail
;
40296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40303 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40304 PyObject
*resultobj
= 0;
40305 wxHelpProvider
*result
= 0 ;
40307 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40310 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40321 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
= 0;
40323 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40324 wxWindow
*arg2
= (wxWindow
*) 0 ;
40330 PyObject
* obj0
= 0 ;
40331 PyObject
* obj1
= 0 ;
40332 char * kwnames
[] = {
40333 (char *) "self",(char *) "window", NULL
40336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40338 if (!SWIG_IsOK(res1
)) {
40339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40341 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40343 if (!SWIG_IsOK(res2
)) {
40344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40349 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40350 wxPyEndAllowThreads(__tstate
);
40351 if (PyErr_Occurred()) SWIG_fail
;
40355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40366 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40367 PyObject
*resultobj
= 0;
40368 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40369 wxWindow
*arg2
= (wxWindow
*) 0 ;
40375 PyObject
* obj0
= 0 ;
40376 PyObject
* obj1
= 0 ;
40377 char * kwnames
[] = {
40378 (char *) "self",(char *) "window", NULL
40381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40383 if (!SWIG_IsOK(res1
)) {
40384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40386 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40388 if (!SWIG_IsOK(res2
)) {
40389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 result
= (bool)(arg1
)->ShowHelp(arg2
);
40395 wxPyEndAllowThreads(__tstate
);
40396 if (PyErr_Occurred()) SWIG_fail
;
40399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40407 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40408 PyObject
*resultobj
= 0;
40409 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40410 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40411 wxPoint
*arg3
= 0 ;
40412 wxHelpEvent::Origin arg4
;
40421 PyObject
* obj0
= 0 ;
40422 PyObject
* obj1
= 0 ;
40423 PyObject
* obj2
= 0 ;
40424 PyObject
* obj3
= 0 ;
40425 char * kwnames
[] = {
40426 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40431 if (!SWIG_IsOK(res1
)) {
40432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40434 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40436 if (!SWIG_IsOK(res2
)) {
40437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40439 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40442 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40445 if (!SWIG_IsOK(ecode4
)) {
40446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40448 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40451 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40452 wxPyEndAllowThreads(__tstate
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40464 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40465 PyObject
*resultobj
= 0;
40466 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40467 wxWindow
*arg2
= (wxWindow
*) 0 ;
40468 wxString
*arg3
= 0 ;
40473 bool temp3
= false ;
40474 PyObject
* obj0
= 0 ;
40475 PyObject
* obj1
= 0 ;
40476 PyObject
* obj2
= 0 ;
40477 char * kwnames
[] = {
40478 (char *) "self",(char *) "window",(char *) "text", NULL
40481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40483 if (!SWIG_IsOK(res1
)) {
40484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40486 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40488 if (!SWIG_IsOK(res2
)) {
40489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40491 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40493 arg3
= wxString_in_helper(obj2
);
40494 if (arg3
== NULL
) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40500 wxPyEndAllowThreads(__tstate
);
40501 if (PyErr_Occurred()) SWIG_fail
;
40503 resultobj
= SWIG_Py_Void();
40518 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40519 PyObject
*resultobj
= 0;
40520 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40522 wxString
*arg3
= 0 ;
40527 bool temp3
= false ;
40528 PyObject
* obj0
= 0 ;
40529 PyObject
* obj1
= 0 ;
40530 PyObject
* obj2
= 0 ;
40531 char * kwnames
[] = {
40532 (char *) "self",(char *) "id",(char *) "text", NULL
40535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40537 if (!SWIG_IsOK(res1
)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40540 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40542 if (!SWIG_IsOK(ecode2
)) {
40543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40545 arg2
= static_cast< int >(val2
);
40547 arg3
= wxString_in_helper(obj2
);
40548 if (arg3
== NULL
) SWIG_fail
;
40552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40553 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40554 wxPyEndAllowThreads(__tstate
);
40555 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= SWIG_Py_Void();
40572 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40573 PyObject
*resultobj
= 0;
40574 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40575 wxWindow
*arg2
= (wxWindow
*) 0 ;
40580 PyObject
* obj0
= 0 ;
40581 PyObject
* obj1
= 0 ;
40582 char * kwnames
[] = {
40583 (char *) "self",(char *) "window", NULL
40586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40588 if (!SWIG_IsOK(res1
)) {
40589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40591 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40593 if (!SWIG_IsOK(res2
)) {
40594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40599 (arg1
)->RemoveHelp(arg2
);
40600 wxPyEndAllowThreads(__tstate
);
40601 if (PyErr_Occurred()) SWIG_fail
;
40603 resultobj
= SWIG_Py_Void();
40610 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40611 PyObject
*resultobj
= 0;
40612 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40615 PyObject
*swig_obj
[1] ;
40617 if (!args
) SWIG_fail
;
40618 swig_obj
[0] = args
;
40619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40620 if (!SWIG_IsOK(res1
)) {
40621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40623 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 wxHelpProvider_Destroy(arg1
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= SWIG_Py_Void();
40637 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40640 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40641 return SWIG_Py_Void();
40644 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40645 PyObject
*resultobj
= 0;
40646 wxSimpleHelpProvider
*result
= 0 ;
40648 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40651 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40652 wxPyEndAllowThreads(__tstate
);
40653 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40662 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40665 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40666 return SWIG_Py_Void();
40669 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40670 return SWIG_Python_InitShadowInstance(args
);
40673 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40674 PyObject
*resultobj
= 0;
40675 wxBitmap
*arg1
= 0 ;
40676 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40677 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40678 wxGenericDragImage
*result
= 0 ;
40683 PyObject
* obj0
= 0 ;
40684 PyObject
* obj1
= 0 ;
40685 char * kwnames
[] = {
40686 (char *) "image",(char *) "cursor", NULL
40689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40690 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40691 if (!SWIG_IsOK(res1
)) {
40692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40700 if (!SWIG_IsOK(res2
)) {
40701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40706 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40709 if (!wxPyCheckForApp()) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40712 wxPyEndAllowThreads(__tstate
);
40713 if (PyErr_Occurred()) SWIG_fail
;
40715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40722 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40723 PyObject
*resultobj
= 0;
40725 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40726 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40727 wxGenericDragImage
*result
= 0 ;
40732 PyObject
* obj0
= 0 ;
40733 PyObject
* obj1
= 0 ;
40734 char * kwnames
[] = {
40735 (char *) "image",(char *) "cursor", NULL
40738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40739 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40740 if (!SWIG_IsOK(res1
)) {
40741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40746 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40749 if (!SWIG_IsOK(res2
)) {
40750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40755 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40758 if (!wxPyCheckForApp()) SWIG_fail
;
40759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40760 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40771 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40772 PyObject
*resultobj
= 0;
40773 wxString
*arg1
= 0 ;
40774 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40775 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40776 wxGenericDragImage
*result
= 0 ;
40777 bool temp1
= false ;
40780 PyObject
* obj0
= 0 ;
40781 PyObject
* obj1
= 0 ;
40782 char * kwnames
[] = {
40783 (char *) "str",(char *) "cursor", NULL
40786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40788 arg1
= wxString_in_helper(obj0
);
40789 if (arg1
== NULL
) SWIG_fail
;
40793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40794 if (!SWIG_IsOK(res2
)) {
40795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40800 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40803 if (!wxPyCheckForApp()) SWIG_fail
;
40804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40805 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40824 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40825 PyObject
*resultobj
= 0;
40826 wxPyTreeCtrl
*arg1
= 0 ;
40827 wxTreeItemId
*arg2
= 0 ;
40828 wxGenericDragImage
*result
= 0 ;
40833 PyObject
* obj0
= 0 ;
40834 PyObject
* obj1
= 0 ;
40835 char * kwnames
[] = {
40836 (char *) "treeCtrl",(char *) "id", NULL
40839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40841 if (!SWIG_IsOK(res1
)) {
40842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40847 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40849 if (!SWIG_IsOK(res2
)) {
40850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40857 if (!wxPyCheckForApp()) SWIG_fail
;
40858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40859 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40860 wxPyEndAllowThreads(__tstate
);
40861 if (PyErr_Occurred()) SWIG_fail
;
40863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40870 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40871 PyObject
*resultobj
= 0;
40872 wxPyListCtrl
*arg1
= 0 ;
40874 wxGenericDragImage
*result
= 0 ;
40879 PyObject
* obj0
= 0 ;
40880 PyObject
* obj1
= 0 ;
40881 char * kwnames
[] = {
40882 (char *) "listCtrl",(char *) "id", NULL
40885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40887 if (!SWIG_IsOK(res1
)) {
40888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40893 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40895 if (!SWIG_IsOK(ecode2
)) {
40896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40898 arg2
= static_cast< long >(val2
);
40900 if (!wxPyCheckForApp()) SWIG_fail
;
40901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40902 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40913 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40914 PyObject
*resultobj
= 0;
40915 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40918 PyObject
*swig_obj
[1] ;
40920 if (!args
) SWIG_fail
;
40921 swig_obj
[0] = args
;
40922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40923 if (!SWIG_IsOK(res1
)) {
40924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40926 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40931 wxPyEndAllowThreads(__tstate
);
40932 if (PyErr_Occurred()) SWIG_fail
;
40934 resultobj
= SWIG_Py_Void();
40941 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40942 PyObject
*resultobj
= 0;
40943 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40944 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40949 PyObject
* obj0
= 0 ;
40950 PyObject
* obj1
= 0 ;
40951 char * kwnames
[] = {
40952 (char *) "self",(char *) "bitmap", NULL
40955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40957 if (!SWIG_IsOK(res1
)) {
40958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40960 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40962 if (!SWIG_IsOK(res2
)) {
40963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40965 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40968 (arg1
)->SetBackingBitmap(arg2
);
40969 wxPyEndAllowThreads(__tstate
);
40970 if (PyErr_Occurred()) SWIG_fail
;
40972 resultobj
= SWIG_Py_Void();
40979 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
= 0;
40981 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40982 wxPoint
*arg2
= 0 ;
40983 wxWindow
*arg3
= (wxWindow
*) 0 ;
40984 bool arg4
= (bool) false ;
40985 wxRect
*arg5
= (wxRect
*) NULL
;
40996 PyObject
* obj0
= 0 ;
40997 PyObject
* obj1
= 0 ;
40998 PyObject
* obj2
= 0 ;
40999 PyObject
* obj3
= 0 ;
41000 PyObject
* obj4
= 0 ;
41001 char * kwnames
[] = {
41002 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41007 if (!SWIG_IsOK(res1
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41010 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41015 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41016 if (!SWIG_IsOK(res3
)) {
41017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41019 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41021 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41022 if (!SWIG_IsOK(ecode4
)) {
41023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41025 arg4
= static_cast< bool >(val4
);
41028 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41029 if (!SWIG_IsOK(res5
)) {
41030 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41032 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41036 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41037 wxPyEndAllowThreads(__tstate
);
41038 if (PyErr_Occurred()) SWIG_fail
;
41041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41049 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41050 PyObject
*resultobj
= 0;
41051 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41052 wxPoint
*arg2
= 0 ;
41053 wxWindow
*arg3
= (wxWindow
*) 0 ;
41054 wxWindow
*arg4
= (wxWindow
*) 0 ;
41063 PyObject
* obj0
= 0 ;
41064 PyObject
* obj1
= 0 ;
41065 PyObject
* obj2
= 0 ;
41066 PyObject
* obj3
= 0 ;
41067 char * kwnames
[] = {
41068 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41073 if (!SWIG_IsOK(res1
)) {
41074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41076 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41081 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41082 if (!SWIG_IsOK(res3
)) {
41083 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41085 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41086 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41087 if (!SWIG_IsOK(res4
)) {
41088 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41090 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41093 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41094 wxPyEndAllowThreads(__tstate
);
41095 if (PyErr_Occurred()) SWIG_fail
;
41098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41106 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41107 PyObject
*resultobj
= 0;
41108 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41112 PyObject
*swig_obj
[1] ;
41114 if (!args
) SWIG_fail
;
41115 swig_obj
[0] = args
;
41116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41117 if (!SWIG_IsOK(res1
)) {
41118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41120 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41123 result
= (bool)(arg1
)->EndDrag();
41124 wxPyEndAllowThreads(__tstate
);
41125 if (PyErr_Occurred()) SWIG_fail
;
41128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41136 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41137 PyObject
*resultobj
= 0;
41138 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41139 wxPoint
*arg2
= 0 ;
41144 PyObject
* obj0
= 0 ;
41145 PyObject
* obj1
= 0 ;
41146 char * kwnames
[] = {
41147 (char *) "self",(char *) "pt", NULL
41150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41152 if (!SWIG_IsOK(res1
)) {
41153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41155 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41162 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41163 wxPyEndAllowThreads(__tstate
);
41164 if (PyErr_Occurred()) SWIG_fail
;
41167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41175 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41176 PyObject
*resultobj
= 0;
41177 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41181 PyObject
*swig_obj
[1] ;
41183 if (!args
) SWIG_fail
;
41184 swig_obj
[0] = args
;
41185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41186 if (!SWIG_IsOK(res1
)) {
41187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41189 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41192 result
= (bool)(arg1
)->Show();
41193 wxPyEndAllowThreads(__tstate
);
41194 if (PyErr_Occurred()) SWIG_fail
;
41197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41205 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41206 PyObject
*resultobj
= 0;
41207 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41211 PyObject
*swig_obj
[1] ;
41213 if (!args
) SWIG_fail
;
41214 swig_obj
[0] = args
;
41215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41216 if (!SWIG_IsOK(res1
)) {
41217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41219 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41222 result
= (bool)(arg1
)->Hide();
41223 wxPyEndAllowThreads(__tstate
);
41224 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41235 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41236 PyObject
*resultobj
= 0;
41237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41238 wxPoint
*arg2
= 0 ;
41243 PyObject
* obj0
= 0 ;
41244 PyObject
* obj1
= 0 ;
41245 char * kwnames
[] = {
41246 (char *) "self",(char *) "pos", NULL
41249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41251 if (!SWIG_IsOK(res1
)) {
41252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41254 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41261 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41262 wxPyEndAllowThreads(__tstate
);
41263 if (PyErr_Occurred()) SWIG_fail
;
41265 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41272 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41273 PyObject
*resultobj
= 0;
41274 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41276 wxPoint
*arg3
= 0 ;
41283 PyObject
* obj0
= 0 ;
41284 PyObject
* obj1
= 0 ;
41285 PyObject
* obj2
= 0 ;
41286 char * kwnames
[] = {
41287 (char *) "self",(char *) "dc",(char *) "pos", NULL
41290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41292 if (!SWIG_IsOK(res1
)) {
41293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41295 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41297 if (!SWIG_IsOK(res2
)) {
41298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41303 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41310 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41311 wxPyEndAllowThreads(__tstate
);
41312 if (PyErr_Occurred()) SWIG_fail
;
41315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41323 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41324 PyObject
*resultobj
= 0;
41325 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41327 wxMemoryDC
*arg3
= 0 ;
41339 PyObject
* obj0
= 0 ;
41340 PyObject
* obj1
= 0 ;
41341 PyObject
* obj2
= 0 ;
41342 PyObject
* obj3
= 0 ;
41343 PyObject
* obj4
= 0 ;
41344 char * kwnames
[] = {
41345 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41350 if (!SWIG_IsOK(res1
)) {
41351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41353 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41355 if (!SWIG_IsOK(res2
)) {
41356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41361 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41362 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41363 if (!SWIG_IsOK(res3
)) {
41364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41369 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41372 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41376 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41380 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41393 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
= 0;
41395 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41396 wxPoint
*arg2
= 0 ;
41397 wxPoint
*arg3
= 0 ;
41409 PyObject
* obj0
= 0 ;
41410 PyObject
* obj1
= 0 ;
41411 PyObject
* obj2
= 0 ;
41412 PyObject
* obj3
= 0 ;
41413 PyObject
* obj4
= 0 ;
41414 char * kwnames
[] = {
41415 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41420 if (!SWIG_IsOK(res1
)) {
41421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41423 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41432 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41433 if (!SWIG_IsOK(ecode4
)) {
41434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41436 arg4
= static_cast< bool >(val4
);
41437 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41438 if (!SWIG_IsOK(ecode5
)) {
41439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41441 arg5
= static_cast< bool >(val5
);
41443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41444 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41457 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41460 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41461 return SWIG_Py_Void();
41464 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41465 return SWIG_Python_InitShadowInstance(args
);
41468 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41469 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41474 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41475 PyObject
*pyobj
= 0;
41479 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41481 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41488 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41489 PyObject
*resultobj
= 0;
41490 wxWindow
*arg1
= (wxWindow
*) 0 ;
41491 int arg2
= (int) -1 ;
41492 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41493 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41498 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41499 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41500 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41501 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41503 wxDatePickerCtrl
*result
= 0 ;
41516 bool temp8
= false ;
41517 PyObject
* obj0
= 0 ;
41518 PyObject
* obj1
= 0 ;
41519 PyObject
* obj2
= 0 ;
41520 PyObject
* obj3
= 0 ;
41521 PyObject
* obj4
= 0 ;
41522 PyObject
* obj5
= 0 ;
41523 PyObject
* obj6
= 0 ;
41524 PyObject
* obj7
= 0 ;
41525 char * kwnames
[] = {
41526 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41531 if (!SWIG_IsOK(res1
)) {
41532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41537 if (!SWIG_IsOK(ecode2
)) {
41538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41540 arg2
= static_cast< int >(val2
);
41543 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41544 if (!SWIG_IsOK(res3
)) {
41545 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41550 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41565 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41566 if (!SWIG_IsOK(ecode6
)) {
41567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41569 arg6
= static_cast< long >(val6
);
41572 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41573 if (!SWIG_IsOK(res7
)) {
41574 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41579 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41583 arg8
= wxString_in_helper(obj7
);
41584 if (arg8
== NULL
) SWIG_fail
;
41589 if (!wxPyCheckForApp()) SWIG_fail
;
41590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41591 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41592 wxPyEndAllowThreads(__tstate
);
41593 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41610 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41611 PyObject
*resultobj
= 0;
41612 wxDatePickerCtrl
*result
= 0 ;
41614 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41616 if (!wxPyCheckForApp()) SWIG_fail
;
41617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41618 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41619 wxPyEndAllowThreads(__tstate
);
41620 if (PyErr_Occurred()) SWIG_fail
;
41622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41629 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41630 PyObject
*resultobj
= 0;
41631 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41632 wxWindow
*arg2
= (wxWindow
*) 0 ;
41633 int arg3
= (int) -1 ;
41634 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41635 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41640 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41641 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41642 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41643 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41644 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41660 bool temp9
= false ;
41661 PyObject
* obj0
= 0 ;
41662 PyObject
* obj1
= 0 ;
41663 PyObject
* obj2
= 0 ;
41664 PyObject
* obj3
= 0 ;
41665 PyObject
* obj4
= 0 ;
41666 PyObject
* obj5
= 0 ;
41667 PyObject
* obj6
= 0 ;
41668 PyObject
* obj7
= 0 ;
41669 PyObject
* obj8
= 0 ;
41670 char * kwnames
[] = {
41671 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41676 if (!SWIG_IsOK(res1
)) {
41677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41679 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41681 if (!SWIG_IsOK(res2
)) {
41682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41687 if (!SWIG_IsOK(ecode3
)) {
41688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41690 arg3
= static_cast< int >(val3
);
41693 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41694 if (!SWIG_IsOK(res4
)) {
41695 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41700 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41715 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41716 if (!SWIG_IsOK(ecode7
)) {
41717 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41719 arg7
= static_cast< long >(val7
);
41722 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41723 if (!SWIG_IsOK(res8
)) {
41724 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41729 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41733 arg9
= wxString_in_helper(obj8
);
41734 if (arg9
== NULL
) SWIG_fail
;
41739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41740 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41741 wxPyEndAllowThreads(__tstate
);
41742 if (PyErr_Occurred()) SWIG_fail
;
41745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41761 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41762 PyObject
*resultobj
= 0;
41763 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41764 wxDateTime
*arg2
= 0 ;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 char * kwnames
[] = {
41772 (char *) "self",(char *) "dt", NULL
41775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41777 if (!SWIG_IsOK(res1
)) {
41778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41780 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41782 if (!SWIG_IsOK(res2
)) {
41783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41788 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41791 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41792 wxPyEndAllowThreads(__tstate
);
41793 if (PyErr_Occurred()) SWIG_fail
;
41795 resultobj
= SWIG_Py_Void();
41802 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41803 PyObject
*resultobj
= 0;
41804 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41808 PyObject
*swig_obj
[1] ;
41810 if (!args
) SWIG_fail
;
41811 swig_obj
[0] = args
;
41812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41813 if (!SWIG_IsOK(res1
)) {
41814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41816 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41819 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41820 wxPyEndAllowThreads(__tstate
);
41821 if (PyErr_Occurred()) SWIG_fail
;
41823 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41830 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41831 PyObject
*resultobj
= 0;
41832 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41833 wxDateTime
*arg2
= 0 ;
41834 wxDateTime
*arg3
= 0 ;
41841 PyObject
* obj0
= 0 ;
41842 PyObject
* obj1
= 0 ;
41843 PyObject
* obj2
= 0 ;
41844 char * kwnames
[] = {
41845 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41850 if (!SWIG_IsOK(res1
)) {
41851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41853 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41855 if (!SWIG_IsOK(res2
)) {
41856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41861 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41863 if (!SWIG_IsOK(res3
)) {
41864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41869 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41872 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41873 wxPyEndAllowThreads(__tstate
);
41874 if (PyErr_Occurred()) SWIG_fail
;
41876 resultobj
= SWIG_Py_Void();
41883 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41884 PyObject
*resultobj
= 0;
41885 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41889 PyObject
*swig_obj
[1] ;
41891 if (!args
) SWIG_fail
;
41892 swig_obj
[0] = args
;
41893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41894 if (!SWIG_IsOK(res1
)) {
41895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41897 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41900 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41901 wxPyEndAllowThreads(__tstate
);
41902 if (PyErr_Occurred()) SWIG_fail
;
41904 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41911 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41912 PyObject
*resultobj
= 0;
41913 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41917 PyObject
*swig_obj
[1] ;
41919 if (!args
) SWIG_fail
;
41920 swig_obj
[0] = args
;
41921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41922 if (!SWIG_IsOK(res1
)) {
41923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41925 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41928 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41929 wxPyEndAllowThreads(__tstate
);
41930 if (PyErr_Occurred()) SWIG_fail
;
41932 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41939 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41942 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41943 return SWIG_Py_Void();
41946 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41947 return SWIG_Python_InitShadowInstance(args
);
41950 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41951 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41956 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41957 PyObject
*pyobj
= 0;
41961 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41963 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41970 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41971 PyObject
*resultobj
= 0;
41972 wxWindow
*arg1
= (wxWindow
*) 0 ;
41974 wxString
*arg3
= 0 ;
41975 wxString
*arg4
= 0 ;
41976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41978 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41979 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41980 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41981 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41983 wxHyperlinkCtrl
*result
= 0 ;
41988 bool temp3
= false ;
41989 bool temp4
= false ;
41994 bool temp8
= false ;
41995 PyObject
* obj0
= 0 ;
41996 PyObject
* obj1
= 0 ;
41997 PyObject
* obj2
= 0 ;
41998 PyObject
* obj3
= 0 ;
41999 PyObject
* obj4
= 0 ;
42000 PyObject
* obj5
= 0 ;
42001 PyObject
* obj6
= 0 ;
42002 PyObject
* obj7
= 0 ;
42003 char * kwnames
[] = {
42004 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42009 if (!SWIG_IsOK(res1
)) {
42010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42014 if (!SWIG_IsOK(ecode2
)) {
42015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42017 arg2
= static_cast< int >(val2
);
42019 arg3
= wxString_in_helper(obj2
);
42020 if (arg3
== NULL
) SWIG_fail
;
42024 arg4
= wxString_in_helper(obj3
);
42025 if (arg4
== NULL
) SWIG_fail
;
42031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42042 if (!SWIG_IsOK(ecode7
)) {
42043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42045 arg7
= static_cast< long >(val7
);
42049 arg8
= wxString_in_helper(obj7
);
42050 if (arg8
== NULL
) SWIG_fail
;
42055 if (!wxPyCheckForApp()) SWIG_fail
;
42056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42057 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42058 wxPyEndAllowThreads(__tstate
);
42059 if (PyErr_Occurred()) SWIG_fail
;
42061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42092 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42093 PyObject
*resultobj
= 0;
42094 wxHyperlinkCtrl
*result
= 0 ;
42096 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42098 if (!wxPyCheckForApp()) SWIG_fail
;
42099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42100 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42101 wxPyEndAllowThreads(__tstate
);
42102 if (PyErr_Occurred()) SWIG_fail
;
42104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42111 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42112 PyObject
*resultobj
= 0;
42113 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42114 wxWindow
*arg2
= (wxWindow
*) 0 ;
42116 wxString
*arg4
= 0 ;
42117 wxString
*arg5
= 0 ;
42118 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42119 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42120 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42121 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42122 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42123 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42132 bool temp4
= false ;
42133 bool temp5
= false ;
42138 bool temp9
= false ;
42139 PyObject
* obj0
= 0 ;
42140 PyObject
* obj1
= 0 ;
42141 PyObject
* obj2
= 0 ;
42142 PyObject
* obj3
= 0 ;
42143 PyObject
* obj4
= 0 ;
42144 PyObject
* obj5
= 0 ;
42145 PyObject
* obj6
= 0 ;
42146 PyObject
* obj7
= 0 ;
42147 PyObject
* obj8
= 0 ;
42148 char * kwnames
[] = {
42149 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42154 if (!SWIG_IsOK(res1
)) {
42155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42157 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42159 if (!SWIG_IsOK(res2
)) {
42160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42164 if (!SWIG_IsOK(ecode3
)) {
42165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42167 arg3
= static_cast< int >(val3
);
42169 arg4
= wxString_in_helper(obj3
);
42170 if (arg4
== NULL
) SWIG_fail
;
42174 arg5
= wxString_in_helper(obj4
);
42175 if (arg5
== NULL
) SWIG_fail
;
42181 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42187 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42191 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42192 if (!SWIG_IsOK(ecode8
)) {
42193 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42195 arg8
= static_cast< long >(val8
);
42199 arg9
= wxString_in_helper(obj8
);
42200 if (arg9
== NULL
) SWIG_fail
;
42205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42207 wxPyEndAllowThreads(__tstate
);
42208 if (PyErr_Occurred()) SWIG_fail
;
42211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42243 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42244 PyObject
*resultobj
= 0;
42245 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42249 PyObject
*swig_obj
[1] ;
42251 if (!args
) SWIG_fail
;
42252 swig_obj
[0] = args
;
42253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42254 if (!SWIG_IsOK(res1
)) {
42255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42257 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42261 wxPyEndAllowThreads(__tstate
);
42262 if (PyErr_Occurred()) SWIG_fail
;
42264 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42271 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42272 PyObject
*resultobj
= 0;
42273 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42274 wxColour
*arg2
= 0 ;
42278 PyObject
* obj0
= 0 ;
42279 PyObject
* obj1
= 0 ;
42280 char * kwnames
[] = {
42281 (char *) "self",(char *) "colour", NULL
42284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42286 if (!SWIG_IsOK(res1
)) {
42287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42289 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42296 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42297 wxPyEndAllowThreads(__tstate
);
42298 if (PyErr_Occurred()) SWIG_fail
;
42300 resultobj
= SWIG_Py_Void();
42307 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42308 PyObject
*resultobj
= 0;
42309 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42313 PyObject
*swig_obj
[1] ;
42315 if (!args
) SWIG_fail
;
42316 swig_obj
[0] = args
;
42317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42318 if (!SWIG_IsOK(res1
)) {
42319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42321 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42324 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42325 wxPyEndAllowThreads(__tstate
);
42326 if (PyErr_Occurred()) SWIG_fail
;
42328 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42335 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42336 PyObject
*resultobj
= 0;
42337 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42338 wxColour
*arg2
= 0 ;
42342 PyObject
* obj0
= 0 ;
42343 PyObject
* obj1
= 0 ;
42344 char * kwnames
[] = {
42345 (char *) "self",(char *) "colour", NULL
42348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42350 if (!SWIG_IsOK(res1
)) {
42351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42353 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42360 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42361 wxPyEndAllowThreads(__tstate
);
42362 if (PyErr_Occurred()) SWIG_fail
;
42364 resultobj
= SWIG_Py_Void();
42371 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42372 PyObject
*resultobj
= 0;
42373 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42377 PyObject
*swig_obj
[1] ;
42379 if (!args
) SWIG_fail
;
42380 swig_obj
[0] = args
;
42381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42382 if (!SWIG_IsOK(res1
)) {
42383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42385 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42388 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42389 wxPyEndAllowThreads(__tstate
);
42390 if (PyErr_Occurred()) SWIG_fail
;
42392 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42399 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42400 PyObject
*resultobj
= 0;
42401 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42402 wxColour
*arg2
= 0 ;
42406 PyObject
* obj0
= 0 ;
42407 PyObject
* obj1
= 0 ;
42408 char * kwnames
[] = {
42409 (char *) "self",(char *) "colour", NULL
42412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42414 if (!SWIG_IsOK(res1
)) {
42415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42417 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42424 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42425 wxPyEndAllowThreads(__tstate
);
42426 if (PyErr_Occurred()) SWIG_fail
;
42428 resultobj
= SWIG_Py_Void();
42435 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42436 PyObject
*resultobj
= 0;
42437 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42441 PyObject
*swig_obj
[1] ;
42443 if (!args
) SWIG_fail
;
42444 swig_obj
[0] = args
;
42445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42446 if (!SWIG_IsOK(res1
)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42449 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42452 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42453 wxPyEndAllowThreads(__tstate
);
42454 if (PyErr_Occurred()) SWIG_fail
;
42458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42469 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42470 PyObject
*resultobj
= 0;
42471 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42472 wxString
*arg2
= 0 ;
42475 bool temp2
= false ;
42476 PyObject
* obj0
= 0 ;
42477 PyObject
* obj1
= 0 ;
42478 char * kwnames
[] = {
42479 (char *) "self",(char *) "url", NULL
42482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42484 if (!SWIG_IsOK(res1
)) {
42485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42487 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42489 arg2
= wxString_in_helper(obj1
);
42490 if (arg2
== NULL
) SWIG_fail
;
42494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42495 (arg1
)->SetURL((wxString
const &)*arg2
);
42496 wxPyEndAllowThreads(__tstate
);
42497 if (PyErr_Occurred()) SWIG_fail
;
42499 resultobj
= SWIG_Py_Void();
42514 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42515 PyObject
*resultobj
= 0;
42516 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42517 bool arg2
= (bool) true ;
42522 PyObject
* obj0
= 0 ;
42523 PyObject
* obj1
= 0 ;
42524 char * kwnames
[] = {
42525 (char *) "self",(char *) "visited", NULL
42528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42530 if (!SWIG_IsOK(res1
)) {
42531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42533 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42535 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42536 if (!SWIG_IsOK(ecode2
)) {
42537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42539 arg2
= static_cast< bool >(val2
);
42542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42543 (arg1
)->SetVisited(arg2
);
42544 wxPyEndAllowThreads(__tstate
);
42545 if (PyErr_Occurred()) SWIG_fail
;
42547 resultobj
= SWIG_Py_Void();
42554 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42555 PyObject
*resultobj
= 0;
42556 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42560 PyObject
*swig_obj
[1] ;
42562 if (!args
) SWIG_fail
;
42563 swig_obj
[0] = args
;
42564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42565 if (!SWIG_IsOK(res1
)) {
42566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42568 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42571 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42572 wxPyEndAllowThreads(__tstate
);
42573 if (PyErr_Occurred()) SWIG_fail
;
42576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42584 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42587 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42588 return SWIG_Py_Void();
42591 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42592 return SWIG_Python_InitShadowInstance(args
);
42595 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42596 PyObject
*resultobj
= 0;
42597 wxObject
*arg1
= (wxObject
*) 0 ;
42599 wxString
*arg3
= 0 ;
42600 wxHyperlinkEvent
*result
= 0 ;
42605 bool temp3
= false ;
42606 PyObject
* obj0
= 0 ;
42607 PyObject
* obj1
= 0 ;
42608 PyObject
* obj2
= 0 ;
42609 char * kwnames
[] = {
42610 (char *) "generator",(char *) "id",(char *) "url", NULL
42613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42615 if (!SWIG_IsOK(res1
)) {
42616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42618 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42620 if (!SWIG_IsOK(ecode2
)) {
42621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42623 arg2
= static_cast< int >(val2
);
42625 arg3
= wxString_in_helper(obj2
);
42626 if (arg3
== NULL
) SWIG_fail
;
42630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42631 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42632 wxPyEndAllowThreads(__tstate
);
42633 if (PyErr_Occurred()) SWIG_fail
;
42635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42650 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42651 PyObject
*resultobj
= 0;
42652 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42656 PyObject
*swig_obj
[1] ;
42658 if (!args
) SWIG_fail
;
42659 swig_obj
[0] = args
;
42660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42661 if (!SWIG_IsOK(res1
)) {
42662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42664 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42667 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42668 wxPyEndAllowThreads(__tstate
);
42669 if (PyErr_Occurred()) SWIG_fail
;
42673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42684 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42685 PyObject
*resultobj
= 0;
42686 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42687 wxString
*arg2
= 0 ;
42690 bool temp2
= false ;
42691 PyObject
* obj0
= 0 ;
42692 PyObject
* obj1
= 0 ;
42693 char * kwnames
[] = {
42694 (char *) "self",(char *) "url", NULL
42697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42699 if (!SWIG_IsOK(res1
)) {
42700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42702 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42704 arg2
= wxString_in_helper(obj1
);
42705 if (arg2
== NULL
) SWIG_fail
;
42709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42710 (arg1
)->SetURL((wxString
const &)*arg2
);
42711 wxPyEndAllowThreads(__tstate
);
42712 if (PyErr_Occurred()) SWIG_fail
;
42714 resultobj
= SWIG_Py_Void();
42729 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42732 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42733 return SWIG_Py_Void();
42736 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42737 return SWIG_Python_InitShadowInstance(args
);
42740 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42741 PyObject
*resultobj
= 0;
42742 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42743 wxWindow
*arg2
= (wxWindow
*) 0 ;
42745 wxString
const &arg4_defvalue
= wxEmptyString
;
42746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42747 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42748 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42749 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42750 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42751 long arg7
= (long) 0 ;
42752 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42753 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42754 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42755 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42763 bool temp4
= false ;
42770 bool temp9
= false ;
42771 PyObject
* obj0
= 0 ;
42772 PyObject
* obj1
= 0 ;
42773 PyObject
* obj2
= 0 ;
42774 PyObject
* obj3
= 0 ;
42775 PyObject
* obj4
= 0 ;
42776 PyObject
* obj5
= 0 ;
42777 PyObject
* obj6
= 0 ;
42778 PyObject
* obj7
= 0 ;
42779 PyObject
* obj8
= 0 ;
42780 char * kwnames
[] = {
42781 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42786 if (!SWIG_IsOK(res1
)) {
42787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42789 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42791 if (!SWIG_IsOK(res2
)) {
42792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42796 if (!SWIG_IsOK(ecode3
)) {
42797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42799 arg3
= static_cast< int >(val3
);
42802 arg4
= wxString_in_helper(obj3
);
42803 if (arg4
== NULL
) SWIG_fail
;
42810 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42816 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42820 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42821 if (!SWIG_IsOK(ecode7
)) {
42822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42824 arg7
= static_cast< long >(val7
);
42827 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42828 if (!SWIG_IsOK(res8
)) {
42829 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42834 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42838 arg9
= wxString_in_helper(obj8
);
42839 if (arg9
== NULL
) SWIG_fail
;
42844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42845 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42846 wxPyEndAllowThreads(__tstate
);
42847 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42874 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42875 PyObject
*resultobj
= 0;
42876 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42882 PyObject
* obj0
= 0 ;
42883 PyObject
* obj1
= 0 ;
42884 char * kwnames
[] = {
42885 (char *) "self",(char *) "newmargin", NULL
42888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42890 if (!SWIG_IsOK(res1
)) {
42891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42893 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42895 if (!SWIG_IsOK(ecode2
)) {
42896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42898 arg2
= static_cast< int >(val2
);
42900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42901 (arg1
)->SetInternalMargin(arg2
);
42902 wxPyEndAllowThreads(__tstate
);
42903 if (PyErr_Occurred()) SWIG_fail
;
42905 resultobj
= SWIG_Py_Void();
42912 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42913 PyObject
*resultobj
= 0;
42914 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42918 PyObject
*swig_obj
[1] ;
42920 if (!args
) SWIG_fail
;
42921 swig_obj
[0] = args
;
42922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42923 if (!SWIG_IsOK(res1
)) {
42924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42926 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42929 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42933 resultobj
= SWIG_From_int(static_cast< int >(result
));
42940 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42941 PyObject
*resultobj
= 0;
42942 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42948 PyObject
* obj0
= 0 ;
42949 PyObject
* obj1
= 0 ;
42950 char * kwnames
[] = {
42951 (char *) "self",(char *) "prop", NULL
42954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42956 if (!SWIG_IsOK(res1
)) {
42957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42959 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42961 if (!SWIG_IsOK(ecode2
)) {
42962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42964 arg2
= static_cast< int >(val2
);
42966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42967 (arg1
)->SetTextCtrlProportion(arg2
);
42968 wxPyEndAllowThreads(__tstate
);
42969 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= SWIG_Py_Void();
42978 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42979 PyObject
*resultobj
= 0;
42980 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42984 PyObject
*swig_obj
[1] ;
42986 if (!args
) SWIG_fail
;
42987 swig_obj
[0] = args
;
42988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42989 if (!SWIG_IsOK(res1
)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42992 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42995 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42996 wxPyEndAllowThreads(__tstate
);
42997 if (PyErr_Occurred()) SWIG_fail
;
42999 resultobj
= SWIG_From_int(static_cast< int >(result
));
43006 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43007 PyObject
*resultobj
= 0;
43008 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43014 PyObject
* obj0
= 0 ;
43015 PyObject
* obj1
= 0 ;
43016 char * kwnames
[] = {
43017 (char *) "self",(char *) "prop", NULL
43020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43022 if (!SWIG_IsOK(res1
)) {
43023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43025 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43027 if (!SWIG_IsOK(ecode2
)) {
43028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43030 arg2
= static_cast< int >(val2
);
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43033 (arg1
)->SetPickerCtrlProportion(arg2
);
43034 wxPyEndAllowThreads(__tstate
);
43035 if (PyErr_Occurred()) SWIG_fail
;
43037 resultobj
= SWIG_Py_Void();
43044 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43045 PyObject
*resultobj
= 0;
43046 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43050 PyObject
*swig_obj
[1] ;
43052 if (!args
) SWIG_fail
;
43053 swig_obj
[0] = args
;
43054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43055 if (!SWIG_IsOK(res1
)) {
43056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43058 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43061 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43062 wxPyEndAllowThreads(__tstate
);
43063 if (PyErr_Occurred()) SWIG_fail
;
43065 resultobj
= SWIG_From_int(static_cast< int >(result
));
43072 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43073 PyObject
*resultobj
= 0;
43074 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43078 PyObject
*swig_obj
[1] ;
43080 if (!args
) SWIG_fail
;
43081 swig_obj
[0] = args
;
43082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43083 if (!SWIG_IsOK(res1
)) {
43084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43086 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43089 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43090 wxPyEndAllowThreads(__tstate
);
43091 if (PyErr_Occurred()) SWIG_fail
;
43094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43102 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43103 PyObject
*resultobj
= 0;
43104 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43105 bool arg2
= (bool) true ;
43110 PyObject
* obj0
= 0 ;
43111 PyObject
* obj1
= 0 ;
43112 char * kwnames
[] = {
43113 (char *) "self",(char *) "grow", NULL
43116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43118 if (!SWIG_IsOK(res1
)) {
43119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43121 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43123 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43124 if (!SWIG_IsOK(ecode2
)) {
43125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43127 arg2
= static_cast< bool >(val2
);
43130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43131 (arg1
)->SetTextCtrlGrowable(arg2
);
43132 wxPyEndAllowThreads(__tstate
);
43133 if (PyErr_Occurred()) SWIG_fail
;
43135 resultobj
= SWIG_Py_Void();
43142 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43143 PyObject
*resultobj
= 0;
43144 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43148 PyObject
*swig_obj
[1] ;
43150 if (!args
) SWIG_fail
;
43151 swig_obj
[0] = args
;
43152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43153 if (!SWIG_IsOK(res1
)) {
43154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43156 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43159 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43160 wxPyEndAllowThreads(__tstate
);
43161 if (PyErr_Occurred()) SWIG_fail
;
43164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43172 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43173 PyObject
*resultobj
= 0;
43174 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43175 bool arg2
= (bool) true ;
43180 PyObject
* obj0
= 0 ;
43181 PyObject
* obj1
= 0 ;
43182 char * kwnames
[] = {
43183 (char *) "self",(char *) "grow", NULL
43186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43188 if (!SWIG_IsOK(res1
)) {
43189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43191 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43193 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43194 if (!SWIG_IsOK(ecode2
)) {
43195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43197 arg2
= static_cast< bool >(val2
);
43200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43201 (arg1
)->SetPickerCtrlGrowable(arg2
);
43202 wxPyEndAllowThreads(__tstate
);
43203 if (PyErr_Occurred()) SWIG_fail
;
43205 resultobj
= SWIG_Py_Void();
43212 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43213 PyObject
*resultobj
= 0;
43214 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43218 PyObject
*swig_obj
[1] ;
43220 if (!args
) SWIG_fail
;
43221 swig_obj
[0] = args
;
43222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43223 if (!SWIG_IsOK(res1
)) {
43224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43226 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43229 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43230 wxPyEndAllowThreads(__tstate
);
43231 if (PyErr_Occurred()) SWIG_fail
;
43234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43242 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43243 PyObject
*resultobj
= 0;
43244 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43245 wxTextCtrl
*result
= 0 ;
43248 PyObject
*swig_obj
[1] ;
43250 if (!args
) SWIG_fail
;
43251 swig_obj
[0] = args
;
43252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43253 if (!SWIG_IsOK(res1
)) {
43254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43256 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43259 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43260 wxPyEndAllowThreads(__tstate
);
43261 if (PyErr_Occurred()) SWIG_fail
;
43264 resultobj
= wxPyMake_wxObject(result
, 0);
43272 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43273 PyObject
*resultobj
= 0;
43274 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43275 wxControl
*result
= 0 ;
43278 PyObject
*swig_obj
[1] ;
43280 if (!args
) SWIG_fail
;
43281 swig_obj
[0] = args
;
43282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43283 if (!SWIG_IsOK(res1
)) {
43284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43286 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43289 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43290 wxPyEndAllowThreads(__tstate
);
43291 if (PyErr_Occurred()) SWIG_fail
;
43294 resultobj
= wxPyMake_wxObject(result
, 0);
43302 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43306 return SWIG_Py_Void();
43309 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43310 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43315 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43316 PyObject
*pyobj
= 0;
43320 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43322 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43329 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43330 PyObject
*resultobj
= 0;
43331 wxWindow
*arg1
= (wxWindow
*) 0 ;
43332 int arg2
= (int) -1 ;
43333 wxColour
const &arg3_defvalue
= *wxBLACK
;
43334 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43335 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43336 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43337 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43338 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43339 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43340 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43341 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43342 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43343 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43344 wxColourPickerCtrl
*result
= 0 ;
43356 bool temp8
= false ;
43357 PyObject
* obj0
= 0 ;
43358 PyObject
* obj1
= 0 ;
43359 PyObject
* obj2
= 0 ;
43360 PyObject
* obj3
= 0 ;
43361 PyObject
* obj4
= 0 ;
43362 PyObject
* obj5
= 0 ;
43363 PyObject
* obj6
= 0 ;
43364 PyObject
* obj7
= 0 ;
43365 char * kwnames
[] = {
43366 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43371 if (!SWIG_IsOK(res1
)) {
43372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43374 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43377 if (!SWIG_IsOK(ecode2
)) {
43378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43380 arg2
= static_cast< int >(val2
);
43385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43401 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43402 if (!SWIG_IsOK(ecode6
)) {
43403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43405 arg6
= static_cast< long >(val6
);
43408 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43409 if (!SWIG_IsOK(res7
)) {
43410 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43415 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43419 arg8
= wxString_in_helper(obj7
);
43420 if (arg8
== NULL
) SWIG_fail
;
43425 if (!wxPyCheckForApp()) SWIG_fail
;
43426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43427 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43428 wxPyEndAllowThreads(__tstate
);
43429 if (PyErr_Occurred()) SWIG_fail
;
43431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43446 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43447 PyObject
*resultobj
= 0;
43448 wxColourPickerCtrl
*result
= 0 ;
43450 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43452 if (!wxPyCheckForApp()) SWIG_fail
;
43453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43454 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43455 wxPyEndAllowThreads(__tstate
);
43456 if (PyErr_Occurred()) SWIG_fail
;
43458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43465 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43466 PyObject
*resultobj
= 0;
43467 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43468 wxWindow
*arg2
= (wxWindow
*) 0 ;
43470 wxColour
const &arg4_defvalue
= *wxBLACK
;
43471 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43472 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43473 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43474 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43475 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43476 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43477 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43478 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43479 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43480 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43495 bool temp9
= false ;
43496 PyObject
* obj0
= 0 ;
43497 PyObject
* obj1
= 0 ;
43498 PyObject
* obj2
= 0 ;
43499 PyObject
* obj3
= 0 ;
43500 PyObject
* obj4
= 0 ;
43501 PyObject
* obj5
= 0 ;
43502 PyObject
* obj6
= 0 ;
43503 PyObject
* obj7
= 0 ;
43504 PyObject
* obj8
= 0 ;
43505 char * kwnames
[] = {
43506 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43511 if (!SWIG_IsOK(res1
)) {
43512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43514 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43516 if (!SWIG_IsOK(res2
)) {
43517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43521 if (!SWIG_IsOK(ecode3
)) {
43522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43524 arg3
= static_cast< int >(val3
);
43528 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43544 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43545 if (!SWIG_IsOK(ecode7
)) {
43546 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43548 arg7
= static_cast< long >(val7
);
43551 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43552 if (!SWIG_IsOK(res8
)) {
43553 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43558 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43562 arg9
= wxString_in_helper(obj8
);
43563 if (arg9
== NULL
) SWIG_fail
;
43568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43570 wxPyEndAllowThreads(__tstate
);
43571 if (PyErr_Occurred()) SWIG_fail
;
43574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43590 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43591 PyObject
*resultobj
= 0;
43592 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43596 PyObject
*swig_obj
[1] ;
43598 if (!args
) SWIG_fail
;
43599 swig_obj
[0] = args
;
43600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43601 if (!SWIG_IsOK(res1
)) {
43602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43604 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43607 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43608 wxPyEndAllowThreads(__tstate
);
43609 if (PyErr_Occurred()) SWIG_fail
;
43611 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43618 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43619 PyObject
*resultobj
= 0;
43620 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43621 wxColour
*arg2
= 0 ;
43625 PyObject
* obj0
= 0 ;
43626 PyObject
* obj1
= 0 ;
43627 char * kwnames
[] = {
43628 (char *) "self",(char *) "col", NULL
43631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43633 if (!SWIG_IsOK(res1
)) {
43634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43636 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43643 (arg1
)->SetColour((wxColour
const &)*arg2
);
43644 wxPyEndAllowThreads(__tstate
);
43645 if (PyErr_Occurred()) SWIG_fail
;
43647 resultobj
= SWIG_Py_Void();
43654 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43657 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43658 return SWIG_Py_Void();
43661 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43662 return SWIG_Python_InitShadowInstance(args
);
43665 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43666 PyObject
*resultobj
= 0;
43667 wxObject
*arg1
= (wxObject
*) 0 ;
43669 wxColour
*arg3
= 0 ;
43670 wxColourPickerEvent
*result
= 0 ;
43676 PyObject
* obj0
= 0 ;
43677 PyObject
* obj1
= 0 ;
43678 PyObject
* obj2
= 0 ;
43679 char * kwnames
[] = {
43680 (char *) "generator",(char *) "id",(char *) "col", NULL
43683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43685 if (!SWIG_IsOK(res1
)) {
43686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43688 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43690 if (!SWIG_IsOK(ecode2
)) {
43691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43693 arg2
= static_cast< int >(val2
);
43696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43700 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43701 wxPyEndAllowThreads(__tstate
);
43702 if (PyErr_Occurred()) SWIG_fail
;
43704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43711 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43712 PyObject
*resultobj
= 0;
43713 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43717 PyObject
*swig_obj
[1] ;
43719 if (!args
) SWIG_fail
;
43720 swig_obj
[0] = args
;
43721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43722 if (!SWIG_IsOK(res1
)) {
43723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43725 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43728 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43729 wxPyEndAllowThreads(__tstate
);
43730 if (PyErr_Occurred()) SWIG_fail
;
43732 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43739 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43740 PyObject
*resultobj
= 0;
43741 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43742 wxColour
*arg2
= 0 ;
43746 PyObject
* obj0
= 0 ;
43747 PyObject
* obj1
= 0 ;
43748 char * kwnames
[] = {
43749 (char *) "self",(char *) "c", NULL
43752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43754 if (!SWIG_IsOK(res1
)) {
43755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43757 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43764 (arg1
)->SetColour((wxColour
const &)*arg2
);
43765 wxPyEndAllowThreads(__tstate
);
43766 if (PyErr_Occurred()) SWIG_fail
;
43768 resultobj
= SWIG_Py_Void();
43775 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43778 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43779 return SWIG_Py_Void();
43782 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43783 return SWIG_Python_InitShadowInstance(args
);
43786 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43787 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43792 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43793 PyObject
*pyobj
= 0;
43797 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43799 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43806 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43807 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43812 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43813 PyObject
*pyobj
= 0;
43817 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43819 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43826 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43827 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43832 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43833 PyObject
*pyobj
= 0;
43837 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43839 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43846 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43847 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43852 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43853 PyObject
*pyobj
= 0;
43857 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43859 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43866 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43867 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43872 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43873 PyObject
*pyobj
= 0;
43877 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43879 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43886 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43887 PyObject
*resultobj
= 0;
43888 wxWindow
*arg1
= (wxWindow
*) 0 ;
43889 int arg2
= (int) -1 ;
43890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43892 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43893 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43894 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43895 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43896 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43897 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43898 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43899 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43900 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43901 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43902 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43903 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43904 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43905 wxFilePickerCtrl
*result
= 0 ;
43910 bool temp3
= false ;
43911 bool temp4
= false ;
43912 bool temp5
= false ;
43919 bool temp10
= false ;
43920 PyObject
* obj0
= 0 ;
43921 PyObject
* obj1
= 0 ;
43922 PyObject
* obj2
= 0 ;
43923 PyObject
* obj3
= 0 ;
43924 PyObject
* obj4
= 0 ;
43925 PyObject
* obj5
= 0 ;
43926 PyObject
* obj6
= 0 ;
43927 PyObject
* obj7
= 0 ;
43928 PyObject
* obj8
= 0 ;
43929 PyObject
* obj9
= 0 ;
43930 char * kwnames
[] = {
43931 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43936 if (!SWIG_IsOK(res1
)) {
43937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43942 if (!SWIG_IsOK(ecode2
)) {
43943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43945 arg2
= static_cast< int >(val2
);
43949 arg3
= wxString_in_helper(obj2
);
43950 if (arg3
== NULL
) SWIG_fail
;
43956 arg4
= wxString_in_helper(obj3
);
43957 if (arg4
== NULL
) SWIG_fail
;
43963 arg5
= wxString_in_helper(obj4
);
43964 if (arg5
== NULL
) SWIG_fail
;
43971 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43977 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43981 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43982 if (!SWIG_IsOK(ecode8
)) {
43983 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43985 arg8
= static_cast< long >(val8
);
43988 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43989 if (!SWIG_IsOK(res9
)) {
43990 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43995 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43999 arg10
= wxString_in_helper(obj9
);
44000 if (arg10
== NULL
) SWIG_fail
;
44005 if (!wxPyCheckForApp()) SWIG_fail
;
44006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44007 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
);
44008 wxPyEndAllowThreads(__tstate
);
44009 if (PyErr_Occurred()) SWIG_fail
;
44011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44050 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44051 PyObject
*resultobj
= 0;
44052 wxFilePickerCtrl
*result
= 0 ;
44054 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44056 if (!wxPyCheckForApp()) SWIG_fail
;
44057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44058 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44059 wxPyEndAllowThreads(__tstate
);
44060 if (PyErr_Occurred()) SWIG_fail
;
44062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44069 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44070 PyObject
*resultobj
= 0;
44071 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44072 wxWindow
*arg2
= (wxWindow
*) 0 ;
44073 int arg3
= (int) -1 ;
44074 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44075 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44076 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44077 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44078 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44079 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44080 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44081 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44082 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44083 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44084 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44085 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44086 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44087 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44088 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44096 bool temp4
= false ;
44097 bool temp5
= false ;
44098 bool temp6
= false ;
44105 bool temp11
= false ;
44106 PyObject
* obj0
= 0 ;
44107 PyObject
* obj1
= 0 ;
44108 PyObject
* obj2
= 0 ;
44109 PyObject
* obj3
= 0 ;
44110 PyObject
* obj4
= 0 ;
44111 PyObject
* obj5
= 0 ;
44112 PyObject
* obj6
= 0 ;
44113 PyObject
* obj7
= 0 ;
44114 PyObject
* obj8
= 0 ;
44115 PyObject
* obj9
= 0 ;
44116 PyObject
* obj10
= 0 ;
44117 char * kwnames
[] = {
44118 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44123 if (!SWIG_IsOK(res1
)) {
44124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44126 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44128 if (!SWIG_IsOK(res2
)) {
44129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44134 if (!SWIG_IsOK(ecode3
)) {
44135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44137 arg3
= static_cast< int >(val3
);
44141 arg4
= wxString_in_helper(obj3
);
44142 if (arg4
== NULL
) SWIG_fail
;
44148 arg5
= wxString_in_helper(obj4
);
44149 if (arg5
== NULL
) SWIG_fail
;
44155 arg6
= wxString_in_helper(obj5
);
44156 if (arg6
== NULL
) SWIG_fail
;
44163 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44169 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44173 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44174 if (!SWIG_IsOK(ecode9
)) {
44175 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44177 arg9
= static_cast< long >(val9
);
44180 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44181 if (!SWIG_IsOK(res10
)) {
44182 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44187 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44191 arg11
= wxString_in_helper(obj10
);
44192 if (arg11
== NULL
) SWIG_fail
;
44197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44198 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
);
44199 wxPyEndAllowThreads(__tstate
);
44200 if (PyErr_Occurred()) SWIG_fail
;
44203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44243 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44244 PyObject
*resultobj
= 0;
44245 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44249 PyObject
*swig_obj
[1] ;
44251 if (!args
) SWIG_fail
;
44252 swig_obj
[0] = args
;
44253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44254 if (!SWIG_IsOK(res1
)) {
44255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44257 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44260 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44261 wxPyEndAllowThreads(__tstate
);
44262 if (PyErr_Occurred()) SWIG_fail
;
44266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44277 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44278 PyObject
*resultobj
= 0;
44279 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44280 wxString
*arg2
= 0 ;
44283 bool temp2
= false ;
44284 PyObject
* obj0
= 0 ;
44285 PyObject
* obj1
= 0 ;
44286 char * kwnames
[] = {
44287 (char *) "self",(char *) "str", NULL
44290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44292 if (!SWIG_IsOK(res1
)) {
44293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44295 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44297 arg2
= wxString_in_helper(obj1
);
44298 if (arg2
== NULL
) SWIG_fail
;
44302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44303 (arg1
)->SetPath((wxString
const &)*arg2
);
44304 wxPyEndAllowThreads(__tstate
);
44305 if (PyErr_Occurred()) SWIG_fail
;
44307 resultobj
= SWIG_Py_Void();
44322 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44323 PyObject
*resultobj
= 0;
44324 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44325 wxString
*arg2
= 0 ;
44329 bool temp2
= false ;
44330 PyObject
* obj0
= 0 ;
44331 PyObject
* obj1
= 0 ;
44332 char * kwnames
[] = {
44333 (char *) "self",(char *) "path", NULL
44336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44338 if (!SWIG_IsOK(res1
)) {
44339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44341 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44343 arg2
= wxString_in_helper(obj1
);
44344 if (arg2
== NULL
) SWIG_fail
;
44348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44349 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44350 wxPyEndAllowThreads(__tstate
);
44351 if (PyErr_Occurred()) SWIG_fail
;
44354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44370 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44371 PyObject
*resultobj
= 0;
44372 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44376 PyObject
*swig_obj
[1] ;
44378 if (!args
) SWIG_fail
;
44379 swig_obj
[0] = args
;
44380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44381 if (!SWIG_IsOK(res1
)) {
44382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44384 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44387 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44388 wxPyEndAllowThreads(__tstate
);
44389 if (PyErr_Occurred()) SWIG_fail
;
44393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44404 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44408 return SWIG_Py_Void();
44411 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44412 return SWIG_Python_InitShadowInstance(args
);
44415 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44416 PyObject
*resultobj
= 0;
44417 wxWindow
*arg1
= (wxWindow
*) 0 ;
44418 int arg2
= (int) -1 ;
44419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44421 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44423 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44424 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44425 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44426 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44427 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44428 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44429 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44430 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44431 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44432 wxDirPickerCtrl
*result
= 0 ;
44437 bool temp3
= false ;
44438 bool temp4
= false ;
44445 bool temp9
= false ;
44446 PyObject
* obj0
= 0 ;
44447 PyObject
* obj1
= 0 ;
44448 PyObject
* obj2
= 0 ;
44449 PyObject
* obj3
= 0 ;
44450 PyObject
* obj4
= 0 ;
44451 PyObject
* obj5
= 0 ;
44452 PyObject
* obj6
= 0 ;
44453 PyObject
* obj7
= 0 ;
44454 PyObject
* obj8
= 0 ;
44455 char * kwnames
[] = {
44456 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44461 if (!SWIG_IsOK(res1
)) {
44462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44467 if (!SWIG_IsOK(ecode2
)) {
44468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44470 arg2
= static_cast< int >(val2
);
44474 arg3
= wxString_in_helper(obj2
);
44475 if (arg3
== NULL
) SWIG_fail
;
44481 arg4
= wxString_in_helper(obj3
);
44482 if (arg4
== NULL
) SWIG_fail
;
44489 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44495 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44499 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44500 if (!SWIG_IsOK(ecode7
)) {
44501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44503 arg7
= static_cast< long >(val7
);
44506 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44507 if (!SWIG_IsOK(res8
)) {
44508 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44513 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44517 arg9
= wxString_in_helper(obj8
);
44518 if (arg9
== NULL
) SWIG_fail
;
44523 if (!wxPyCheckForApp()) SWIG_fail
;
44524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44525 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
);
44526 wxPyEndAllowThreads(__tstate
);
44527 if (PyErr_Occurred()) SWIG_fail
;
44529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44560 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44561 PyObject
*resultobj
= 0;
44562 wxDirPickerCtrl
*result
= 0 ;
44564 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44566 if (!wxPyCheckForApp()) SWIG_fail
;
44567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44568 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44569 wxPyEndAllowThreads(__tstate
);
44570 if (PyErr_Occurred()) SWIG_fail
;
44572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44579 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44580 PyObject
*resultobj
= 0;
44581 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44582 wxWindow
*arg2
= (wxWindow
*) 0 ;
44583 int arg3
= (int) -1 ;
44584 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44586 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44587 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44588 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44589 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44590 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44591 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44592 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44593 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44594 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44595 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44596 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44604 bool temp4
= false ;
44605 bool temp5
= false ;
44612 bool temp10
= false ;
44613 PyObject
* obj0
= 0 ;
44614 PyObject
* obj1
= 0 ;
44615 PyObject
* obj2
= 0 ;
44616 PyObject
* obj3
= 0 ;
44617 PyObject
* obj4
= 0 ;
44618 PyObject
* obj5
= 0 ;
44619 PyObject
* obj6
= 0 ;
44620 PyObject
* obj7
= 0 ;
44621 PyObject
* obj8
= 0 ;
44622 PyObject
* obj9
= 0 ;
44623 char * kwnames
[] = {
44624 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44629 if (!SWIG_IsOK(res1
)) {
44630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44632 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44634 if (!SWIG_IsOK(res2
)) {
44635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44640 if (!SWIG_IsOK(ecode3
)) {
44641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44643 arg3
= static_cast< int >(val3
);
44647 arg4
= wxString_in_helper(obj3
);
44648 if (arg4
== NULL
) SWIG_fail
;
44654 arg5
= wxString_in_helper(obj4
);
44655 if (arg5
== NULL
) SWIG_fail
;
44662 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44668 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44672 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44673 if (!SWIG_IsOK(ecode8
)) {
44674 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44676 arg8
= static_cast< long >(val8
);
44679 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44680 if (!SWIG_IsOK(res9
)) {
44681 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44686 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44690 arg10
= wxString_in_helper(obj9
);
44691 if (arg10
== NULL
) SWIG_fail
;
44696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44697 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
);
44698 wxPyEndAllowThreads(__tstate
);
44699 if (PyErr_Occurred()) SWIG_fail
;
44702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44734 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44735 PyObject
*resultobj
= 0;
44736 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44740 PyObject
*swig_obj
[1] ;
44742 if (!args
) SWIG_fail
;
44743 swig_obj
[0] = args
;
44744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44745 if (!SWIG_IsOK(res1
)) {
44746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44748 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44751 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44752 wxPyEndAllowThreads(__tstate
);
44753 if (PyErr_Occurred()) SWIG_fail
;
44757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44768 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44769 PyObject
*resultobj
= 0;
44770 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44771 wxString
*arg2
= 0 ;
44774 bool temp2
= false ;
44775 PyObject
* obj0
= 0 ;
44776 PyObject
* obj1
= 0 ;
44777 char * kwnames
[] = {
44778 (char *) "self",(char *) "str", NULL
44781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44783 if (!SWIG_IsOK(res1
)) {
44784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44786 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44788 arg2
= wxString_in_helper(obj1
);
44789 if (arg2
== NULL
) SWIG_fail
;
44793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44794 (arg1
)->SetPath((wxString
const &)*arg2
);
44795 wxPyEndAllowThreads(__tstate
);
44796 if (PyErr_Occurred()) SWIG_fail
;
44798 resultobj
= SWIG_Py_Void();
44813 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44814 PyObject
*resultobj
= 0;
44815 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44816 wxString
*arg2
= 0 ;
44820 bool temp2
= false ;
44821 PyObject
* obj0
= 0 ;
44822 PyObject
* obj1
= 0 ;
44823 char * kwnames
[] = {
44824 (char *) "self",(char *) "path", NULL
44827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44829 if (!SWIG_IsOK(res1
)) {
44830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44832 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44834 arg2
= wxString_in_helper(obj1
);
44835 if (arg2
== NULL
) SWIG_fail
;
44839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44840 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44841 wxPyEndAllowThreads(__tstate
);
44842 if (PyErr_Occurred()) SWIG_fail
;
44845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44861 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44862 PyObject
*resultobj
= 0;
44863 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44867 PyObject
*swig_obj
[1] ;
44869 if (!args
) SWIG_fail
;
44870 swig_obj
[0] = args
;
44871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44872 if (!SWIG_IsOK(res1
)) {
44873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44875 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44878 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44879 wxPyEndAllowThreads(__tstate
);
44880 if (PyErr_Occurred()) SWIG_fail
;
44884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44895 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44898 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44899 return SWIG_Py_Void();
44902 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44903 return SWIG_Python_InitShadowInstance(args
);
44906 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44907 PyObject
*resultobj
= 0;
44909 wxObject
*arg2
= (wxObject
*) 0 ;
44911 wxString
*arg4
= 0 ;
44912 wxFileDirPickerEvent
*result
= 0 ;
44919 bool temp4
= false ;
44920 PyObject
* obj0
= 0 ;
44921 PyObject
* obj1
= 0 ;
44922 PyObject
* obj2
= 0 ;
44923 PyObject
* obj3
= 0 ;
44924 char * kwnames
[] = {
44925 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44930 if (!SWIG_IsOK(ecode1
)) {
44931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44933 arg1
= static_cast< wxEventType
>(val1
);
44934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44935 if (!SWIG_IsOK(res2
)) {
44936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44938 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44940 if (!SWIG_IsOK(ecode3
)) {
44941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44943 arg3
= static_cast< int >(val3
);
44945 arg4
= wxString_in_helper(obj3
);
44946 if (arg4
== NULL
) SWIG_fail
;
44950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44951 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44952 wxPyEndAllowThreads(__tstate
);
44953 if (PyErr_Occurred()) SWIG_fail
;
44955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44970 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44971 PyObject
*resultobj
= 0;
44972 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44976 PyObject
*swig_obj
[1] ;
44978 if (!args
) SWIG_fail
;
44979 swig_obj
[0] = args
;
44980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44981 if (!SWIG_IsOK(res1
)) {
44982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44984 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44987 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44988 wxPyEndAllowThreads(__tstate
);
44989 if (PyErr_Occurred()) SWIG_fail
;
44993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45004 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45005 PyObject
*resultobj
= 0;
45006 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45007 wxString
*arg2
= 0 ;
45010 bool temp2
= false ;
45011 PyObject
* obj0
= 0 ;
45012 PyObject
* obj1
= 0 ;
45013 char * kwnames
[] = {
45014 (char *) "self",(char *) "p", NULL
45017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45019 if (!SWIG_IsOK(res1
)) {
45020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45022 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45024 arg2
= wxString_in_helper(obj1
);
45025 if (arg2
== NULL
) SWIG_fail
;
45029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45030 (arg1
)->SetPath((wxString
const &)*arg2
);
45031 wxPyEndAllowThreads(__tstate
);
45032 if (PyErr_Occurred()) SWIG_fail
;
45034 resultobj
= SWIG_Py_Void();
45049 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45052 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45053 return SWIG_Py_Void();
45056 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45057 return SWIG_Python_InitShadowInstance(args
);
45060 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45061 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45066 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45067 PyObject
*pyobj
= 0;
45071 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45073 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45080 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45081 PyObject
*resultobj
= 0;
45082 wxWindow
*arg1
= (wxWindow
*) 0 ;
45083 int arg2
= (int) -1 ;
45084 wxFont
const &arg3_defvalue
= wxNullFont
;
45085 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45090 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45091 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45092 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45093 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45094 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45095 wxFontPickerCtrl
*result
= 0 ;
45108 bool temp8
= false ;
45109 PyObject
* obj0
= 0 ;
45110 PyObject
* obj1
= 0 ;
45111 PyObject
* obj2
= 0 ;
45112 PyObject
* obj3
= 0 ;
45113 PyObject
* obj4
= 0 ;
45114 PyObject
* obj5
= 0 ;
45115 PyObject
* obj6
= 0 ;
45116 PyObject
* obj7
= 0 ;
45117 char * kwnames
[] = {
45118 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45123 if (!SWIG_IsOK(res1
)) {
45124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45129 if (!SWIG_IsOK(ecode2
)) {
45130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45132 arg2
= static_cast< int >(val2
);
45135 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45136 if (!SWIG_IsOK(res3
)) {
45137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45142 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45157 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45158 if (!SWIG_IsOK(ecode6
)) {
45159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45161 arg6
= static_cast< long >(val6
);
45164 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45165 if (!SWIG_IsOK(res7
)) {
45166 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45171 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45175 arg8
= wxString_in_helper(obj7
);
45176 if (arg8
== NULL
) SWIG_fail
;
45181 if (!wxPyCheckForApp()) SWIG_fail
;
45182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45183 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45184 wxPyEndAllowThreads(__tstate
);
45185 if (PyErr_Occurred()) SWIG_fail
;
45187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45202 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45203 PyObject
*resultobj
= 0;
45204 wxFontPickerCtrl
*result
= 0 ;
45206 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45208 if (!wxPyCheckForApp()) SWIG_fail
;
45209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45210 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45211 wxPyEndAllowThreads(__tstate
);
45212 if (PyErr_Occurred()) SWIG_fail
;
45214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45221 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45222 PyObject
*resultobj
= 0;
45223 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45224 wxWindow
*arg2
= (wxWindow
*) 0 ;
45225 int arg3
= (int) -1 ;
45226 wxFont
const &arg4_defvalue
= wxNullFont
;
45227 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45232 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45235 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45252 bool temp9
= false ;
45253 PyObject
* obj0
= 0 ;
45254 PyObject
* obj1
= 0 ;
45255 PyObject
* obj2
= 0 ;
45256 PyObject
* obj3
= 0 ;
45257 PyObject
* obj4
= 0 ;
45258 PyObject
* obj5
= 0 ;
45259 PyObject
* obj6
= 0 ;
45260 PyObject
* obj7
= 0 ;
45261 PyObject
* obj8
= 0 ;
45262 char * kwnames
[] = {
45263 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45268 if (!SWIG_IsOK(res1
)) {
45269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45271 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45273 if (!SWIG_IsOK(res2
)) {
45274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45279 if (!SWIG_IsOK(ecode3
)) {
45280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45282 arg3
= static_cast< int >(val3
);
45285 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45286 if (!SWIG_IsOK(res4
)) {
45287 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45292 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45297 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45303 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45307 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45308 if (!SWIG_IsOK(ecode7
)) {
45309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45311 arg7
= static_cast< long >(val7
);
45314 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45315 if (!SWIG_IsOK(res8
)) {
45316 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45321 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45325 arg9
= wxString_in_helper(obj8
);
45326 if (arg9
== NULL
) SWIG_fail
;
45331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45333 wxPyEndAllowThreads(__tstate
);
45334 if (PyErr_Occurred()) SWIG_fail
;
45337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45353 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45354 PyObject
*resultobj
= 0;
45355 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45359 PyObject
*swig_obj
[1] ;
45361 if (!args
) SWIG_fail
;
45362 swig_obj
[0] = args
;
45363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45364 if (!SWIG_IsOK(res1
)) {
45365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45367 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45370 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45371 wxPyEndAllowThreads(__tstate
);
45372 if (PyErr_Occurred()) SWIG_fail
;
45374 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45381 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45382 PyObject
*resultobj
= 0;
45383 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45389 PyObject
* obj0
= 0 ;
45390 PyObject
* obj1
= 0 ;
45391 char * kwnames
[] = {
45392 (char *) "self",(char *) "f", NULL
45395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45397 if (!SWIG_IsOK(res1
)) {
45398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45400 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45402 if (!SWIG_IsOK(res2
)) {
45403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45408 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45411 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45412 wxPyEndAllowThreads(__tstate
);
45413 if (PyErr_Occurred()) SWIG_fail
;
45415 resultobj
= SWIG_Py_Void();
45422 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45423 PyObject
*resultobj
= 0;
45424 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45425 unsigned int arg2
;
45428 unsigned int val2
;
45430 PyObject
* obj0
= 0 ;
45431 PyObject
* obj1
= 0 ;
45432 char * kwnames
[] = {
45433 (char *) "self",(char *) "max", NULL
45436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45438 if (!SWIG_IsOK(res1
)) {
45439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45441 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45442 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45443 if (!SWIG_IsOK(ecode2
)) {
45444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45446 arg2
= static_cast< unsigned int >(val2
);
45448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45449 (arg1
)->SetMaxPointSize(arg2
);
45450 wxPyEndAllowThreads(__tstate
);
45451 if (PyErr_Occurred()) SWIG_fail
;
45453 resultobj
= SWIG_Py_Void();
45460 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45461 PyObject
*resultobj
= 0;
45462 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45463 unsigned int result
;
45466 PyObject
*swig_obj
[1] ;
45468 if (!args
) SWIG_fail
;
45469 swig_obj
[0] = args
;
45470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45471 if (!SWIG_IsOK(res1
)) {
45472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45474 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45477 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45478 wxPyEndAllowThreads(__tstate
);
45479 if (PyErr_Occurred()) SWIG_fail
;
45481 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45488 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45491 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45492 return SWIG_Py_Void();
45495 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45496 return SWIG_Python_InitShadowInstance(args
);
45499 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45500 PyObject
*resultobj
= 0;
45501 wxObject
*arg1
= (wxObject
*) 0 ;
45504 wxFontPickerEvent
*result
= 0 ;
45511 PyObject
* obj0
= 0 ;
45512 PyObject
* obj1
= 0 ;
45513 PyObject
* obj2
= 0 ;
45514 char * kwnames
[] = {
45515 (char *) "generator",(char *) "id",(char *) "f", NULL
45518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45520 if (!SWIG_IsOK(res1
)) {
45521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45523 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45525 if (!SWIG_IsOK(ecode2
)) {
45526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45528 arg2
= static_cast< int >(val2
);
45529 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45530 if (!SWIG_IsOK(res3
)) {
45531 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45536 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45539 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45540 wxPyEndAllowThreads(__tstate
);
45541 if (PyErr_Occurred()) SWIG_fail
;
45543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45550 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45551 PyObject
*resultobj
= 0;
45552 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45556 PyObject
*swig_obj
[1] ;
45558 if (!args
) SWIG_fail
;
45559 swig_obj
[0] = args
;
45560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45561 if (!SWIG_IsOK(res1
)) {
45562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45564 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45567 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45568 wxPyEndAllowThreads(__tstate
);
45569 if (PyErr_Occurred()) SWIG_fail
;
45571 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45578 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45579 PyObject
*resultobj
= 0;
45580 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45586 PyObject
* obj0
= 0 ;
45587 PyObject
* obj1
= 0 ;
45588 char * kwnames
[] = {
45589 (char *) "self",(char *) "c", NULL
45592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45594 if (!SWIG_IsOK(res1
)) {
45595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45597 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45599 if (!SWIG_IsOK(res2
)) {
45600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45605 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45608 (arg1
)->SetFont((wxFont
const &)*arg2
);
45609 wxPyEndAllowThreads(__tstate
);
45610 if (PyErr_Occurred()) SWIG_fail
;
45612 resultobj
= SWIG_Py_Void();
45619 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45622 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45623 return SWIG_Py_Void();
45626 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45627 return SWIG_Python_InitShadowInstance(args
);
45630 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45631 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45636 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45637 PyObject
*pyobj
= 0;
45641 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45643 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45650 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45651 PyObject
*resultobj
= 0;
45652 wxWindow
*arg1
= (wxWindow
*) 0 ;
45653 int arg2
= (int) -1 ;
45654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45660 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45661 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45662 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45663 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45664 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45665 wxCollapsiblePane
*result
= 0 ;
45670 bool temp3
= false ;
45677 bool temp8
= false ;
45678 PyObject
* obj0
= 0 ;
45679 PyObject
* obj1
= 0 ;
45680 PyObject
* obj2
= 0 ;
45681 PyObject
* obj3
= 0 ;
45682 PyObject
* obj4
= 0 ;
45683 PyObject
* obj5
= 0 ;
45684 PyObject
* obj6
= 0 ;
45685 PyObject
* obj7
= 0 ;
45686 char * kwnames
[] = {
45687 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45692 if (!SWIG_IsOK(res1
)) {
45693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45695 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45698 if (!SWIG_IsOK(ecode2
)) {
45699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45701 arg2
= static_cast< int >(val2
);
45705 arg3
= wxString_in_helper(obj2
);
45706 if (arg3
== NULL
) SWIG_fail
;
45713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45723 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45724 if (!SWIG_IsOK(ecode6
)) {
45725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45727 arg6
= static_cast< long >(val6
);
45730 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45731 if (!SWIG_IsOK(res7
)) {
45732 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45737 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45741 arg8
= wxString_in_helper(obj7
);
45742 if (arg8
== NULL
) SWIG_fail
;
45747 if (!wxPyCheckForApp()) SWIG_fail
;
45748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45749 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45750 wxPyEndAllowThreads(__tstate
);
45751 if (PyErr_Occurred()) SWIG_fail
;
45753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45776 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45777 PyObject
*resultobj
= 0;
45778 wxCollapsiblePane
*result
= 0 ;
45780 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45782 if (!wxPyCheckForApp()) SWIG_fail
;
45783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45784 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45785 wxPyEndAllowThreads(__tstate
);
45786 if (PyErr_Occurred()) SWIG_fail
;
45788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45795 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45796 PyObject
*resultobj
= 0;
45797 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45798 wxWindow
*arg2
= (wxWindow
*) 0 ;
45799 int arg3
= (int) -1 ;
45800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45802 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45803 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45804 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45805 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45806 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45807 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45808 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45809 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45810 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45818 bool temp4
= false ;
45825 bool temp9
= false ;
45826 PyObject
* obj0
= 0 ;
45827 PyObject
* obj1
= 0 ;
45828 PyObject
* obj2
= 0 ;
45829 PyObject
* obj3
= 0 ;
45830 PyObject
* obj4
= 0 ;
45831 PyObject
* obj5
= 0 ;
45832 PyObject
* obj6
= 0 ;
45833 PyObject
* obj7
= 0 ;
45834 PyObject
* obj8
= 0 ;
45835 char * kwnames
[] = {
45836 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45841 if (!SWIG_IsOK(res1
)) {
45842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45844 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45846 if (!SWIG_IsOK(res2
)) {
45847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45852 if (!SWIG_IsOK(ecode3
)) {
45853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45855 arg3
= static_cast< int >(val3
);
45859 arg4
= wxString_in_helper(obj3
);
45860 if (arg4
== NULL
) SWIG_fail
;
45867 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45873 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45877 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45878 if (!SWIG_IsOK(ecode7
)) {
45879 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45881 arg7
= static_cast< long >(val7
);
45884 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45885 if (!SWIG_IsOK(res8
)) {
45886 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45891 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45895 arg9
= wxString_in_helper(obj8
);
45896 if (arg9
== NULL
) SWIG_fail
;
45901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45903 wxPyEndAllowThreads(__tstate
);
45904 if (PyErr_Occurred()) SWIG_fail
;
45907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45931 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45932 PyObject
*resultobj
= 0;
45933 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45934 bool arg2
= (bool) true ;
45939 PyObject
* obj0
= 0 ;
45940 PyObject
* obj1
= 0 ;
45941 char * kwnames
[] = {
45942 (char *) "self",(char *) "collapse", NULL
45945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45947 if (!SWIG_IsOK(res1
)) {
45948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45950 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45953 if (!SWIG_IsOK(ecode2
)) {
45954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45956 arg2
= static_cast< bool >(val2
);
45959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45960 (arg1
)->Collapse(arg2
);
45961 wxPyEndAllowThreads(__tstate
);
45962 if (PyErr_Occurred()) SWIG_fail
;
45964 resultobj
= SWIG_Py_Void();
45971 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45972 PyObject
*resultobj
= 0;
45973 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45976 PyObject
*swig_obj
[1] ;
45978 if (!args
) SWIG_fail
;
45979 swig_obj
[0] = args
;
45980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45981 if (!SWIG_IsOK(res1
)) {
45982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45984 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45988 wxPyEndAllowThreads(__tstate
);
45989 if (PyErr_Occurred()) SWIG_fail
;
45991 resultobj
= SWIG_Py_Void();
45998 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45999 PyObject
*resultobj
= 0;
46000 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46004 PyObject
*swig_obj
[1] ;
46006 if (!args
) SWIG_fail
;
46007 swig_obj
[0] = args
;
46008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46009 if (!SWIG_IsOK(res1
)) {
46010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46012 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46015 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46016 wxPyEndAllowThreads(__tstate
);
46017 if (PyErr_Occurred()) SWIG_fail
;
46020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46028 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46029 PyObject
*resultobj
= 0;
46030 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46034 PyObject
*swig_obj
[1] ;
46036 if (!args
) SWIG_fail
;
46037 swig_obj
[0] = args
;
46038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46039 if (!SWIG_IsOK(res1
)) {
46040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46042 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46045 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46046 wxPyEndAllowThreads(__tstate
);
46047 if (PyErr_Occurred()) SWIG_fail
;
46050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46058 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46059 PyObject
*resultobj
= 0;
46060 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46061 wxWindow
*result
= 0 ;
46064 PyObject
*swig_obj
[1] ;
46066 if (!args
) SWIG_fail
;
46067 swig_obj
[0] = args
;
46068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46069 if (!SWIG_IsOK(res1
)) {
46070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46072 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46075 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46076 wxPyEndAllowThreads(__tstate
);
46077 if (PyErr_Occurred()) SWIG_fail
;
46080 resultobj
= wxPyMake_wxObject(result
, 0);
46088 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46091 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46092 return SWIG_Py_Void();
46095 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46096 return SWIG_Python_InitShadowInstance(args
);
46099 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46100 PyObject
*resultobj
= 0;
46101 wxObject
*arg1
= (wxObject
*) 0 ;
46104 wxCollapsiblePaneEvent
*result
= 0 ;
46111 PyObject
* obj0
= 0 ;
46112 PyObject
* obj1
= 0 ;
46113 PyObject
* obj2
= 0 ;
46114 char * kwnames
[] = {
46115 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46120 if (!SWIG_IsOK(res1
)) {
46121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46123 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46125 if (!SWIG_IsOK(ecode2
)) {
46126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46128 arg2
= static_cast< int >(val2
);
46129 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46130 if (!SWIG_IsOK(ecode3
)) {
46131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46133 arg3
= static_cast< bool >(val3
);
46135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46136 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46137 wxPyEndAllowThreads(__tstate
);
46138 if (PyErr_Occurred()) SWIG_fail
;
46140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46147 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46148 PyObject
*resultobj
= 0;
46149 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46153 PyObject
*swig_obj
[1] ;
46155 if (!args
) SWIG_fail
;
46156 swig_obj
[0] = args
;
46157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46158 if (!SWIG_IsOK(res1
)) {
46159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46161 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46164 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46165 wxPyEndAllowThreads(__tstate
);
46166 if (PyErr_Occurred()) SWIG_fail
;
46169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46177 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46178 PyObject
*resultobj
= 0;
46179 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46185 PyObject
* obj0
= 0 ;
46186 PyObject
* obj1
= 0 ;
46187 char * kwnames
[] = {
46188 (char *) "self",(char *) "c", NULL
46191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46193 if (!SWIG_IsOK(res1
)) {
46194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46196 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46197 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46198 if (!SWIG_IsOK(ecode2
)) {
46199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46201 arg2
= static_cast< bool >(val2
);
46203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46204 (arg1
)->SetCollapsed(arg2
);
46205 wxPyEndAllowThreads(__tstate
);
46206 if (PyErr_Occurred()) SWIG_fail
;
46208 resultobj
= SWIG_Py_Void();
46215 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46218 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46219 return SWIG_Py_Void();
46222 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46223 return SWIG_Python_InitShadowInstance(args
);
46226 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46227 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46232 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46233 PyObject
*pyobj
= 0;
46237 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46239 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46246 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46247 PyObject
*resultobj
= 0;
46248 wxWindow
*arg1
= (wxWindow
*) 0 ;
46249 int arg2
= (int) -1 ;
46250 wxString
const &arg3_defvalue
= wxEmptyString
;
46251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46256 long arg6
= (long) 0 ;
46257 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46258 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46259 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46260 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46261 wxSearchCtrl
*result
= 0 ;
46266 bool temp3
= false ;
46273 bool temp8
= false ;
46274 PyObject
* obj0
= 0 ;
46275 PyObject
* obj1
= 0 ;
46276 PyObject
* obj2
= 0 ;
46277 PyObject
* obj3
= 0 ;
46278 PyObject
* obj4
= 0 ;
46279 PyObject
* obj5
= 0 ;
46280 PyObject
* obj6
= 0 ;
46281 PyObject
* obj7
= 0 ;
46282 char * kwnames
[] = {
46283 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46288 if (!SWIG_IsOK(res1
)) {
46289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46294 if (!SWIG_IsOK(ecode2
)) {
46295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46297 arg2
= static_cast< int >(val2
);
46301 arg3
= wxString_in_helper(obj2
);
46302 if (arg3
== NULL
) SWIG_fail
;
46309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46319 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46320 if (!SWIG_IsOK(ecode6
)) {
46321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46323 arg6
= static_cast< long >(val6
);
46326 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46327 if (!SWIG_IsOK(res7
)) {
46328 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46333 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46337 arg8
= wxString_in_helper(obj7
);
46338 if (arg8
== NULL
) SWIG_fail
;
46343 if (!wxPyCheckForApp()) SWIG_fail
;
46344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46345 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46346 wxPyEndAllowThreads(__tstate
);
46347 if (PyErr_Occurred()) SWIG_fail
;
46349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46372 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46373 PyObject
*resultobj
= 0;
46374 wxSearchCtrl
*result
= 0 ;
46376 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46378 if (!wxPyCheckForApp()) SWIG_fail
;
46379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46380 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46381 wxPyEndAllowThreads(__tstate
);
46382 if (PyErr_Occurred()) SWIG_fail
;
46384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46391 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46392 PyObject
*resultobj
= 0;
46393 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46394 wxWindow
*arg2
= (wxWindow
*) 0 ;
46395 int arg3
= (int) -1 ;
46396 wxString
const &arg4_defvalue
= wxEmptyString
;
46397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46402 long arg7
= (long) 0 ;
46403 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46404 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46405 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46406 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46414 bool temp4
= false ;
46421 bool temp9
= false ;
46422 PyObject
* obj0
= 0 ;
46423 PyObject
* obj1
= 0 ;
46424 PyObject
* obj2
= 0 ;
46425 PyObject
* obj3
= 0 ;
46426 PyObject
* obj4
= 0 ;
46427 PyObject
* obj5
= 0 ;
46428 PyObject
* obj6
= 0 ;
46429 PyObject
* obj7
= 0 ;
46430 PyObject
* obj8
= 0 ;
46431 char * kwnames
[] = {
46432 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46437 if (!SWIG_IsOK(res1
)) {
46438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46440 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46442 if (!SWIG_IsOK(res2
)) {
46443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46445 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46448 if (!SWIG_IsOK(ecode3
)) {
46449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46451 arg3
= static_cast< int >(val3
);
46455 arg4
= wxString_in_helper(obj3
);
46456 if (arg4
== NULL
) SWIG_fail
;
46463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46473 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46474 if (!SWIG_IsOK(ecode7
)) {
46475 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46477 arg7
= static_cast< long >(val7
);
46480 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46481 if (!SWIG_IsOK(res8
)) {
46482 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46487 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46491 arg9
= wxString_in_helper(obj8
);
46492 if (arg9
== NULL
) SWIG_fail
;
46497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46499 wxPyEndAllowThreads(__tstate
);
46500 if (PyErr_Occurred()) SWIG_fail
;
46503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46527 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46528 PyObject
*resultobj
= 0;
46529 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46530 wxMenu
*arg2
= (wxMenu
*) 0 ;
46535 PyObject
* obj0
= 0 ;
46536 PyObject
* obj1
= 0 ;
46537 char * kwnames
[] = {
46538 (char *) "self",(char *) "menu", NULL
46541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46543 if (!SWIG_IsOK(res1
)) {
46544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46546 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46548 if (!SWIG_IsOK(res2
)) {
46549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46551 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46554 (arg1
)->SetMenu(arg2
);
46555 wxPyEndAllowThreads(__tstate
);
46556 if (PyErr_Occurred()) SWIG_fail
;
46558 resultobj
= SWIG_Py_Void();
46565 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46566 PyObject
*resultobj
= 0;
46567 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46568 wxMenu
*result
= 0 ;
46571 PyObject
*swig_obj
[1] ;
46573 if (!args
) SWIG_fail
;
46574 swig_obj
[0] = args
;
46575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46576 if (!SWIG_IsOK(res1
)) {
46577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46579 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46582 result
= (wxMenu
*)(arg1
)->GetMenu();
46583 wxPyEndAllowThreads(__tstate
);
46584 if (PyErr_Occurred()) SWIG_fail
;
46587 resultobj
= wxPyMake_wxObject(result
, 0);
46595 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46596 PyObject
*resultobj
= 0;
46597 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46603 PyObject
* obj0
= 0 ;
46604 PyObject
* obj1
= 0 ;
46605 char * kwnames
[] = {
46606 (char *) "self",(char *) "show", NULL
46609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46611 if (!SWIG_IsOK(res1
)) {
46612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46614 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46616 if (!SWIG_IsOK(ecode2
)) {
46617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46619 arg2
= static_cast< bool >(val2
);
46621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46622 (arg1
)->ShowSearchButton(arg2
);
46623 wxPyEndAllowThreads(__tstate
);
46624 if (PyErr_Occurred()) SWIG_fail
;
46626 resultobj
= SWIG_Py_Void();
46633 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46634 PyObject
*resultobj
= 0;
46635 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46639 PyObject
*swig_obj
[1] ;
46641 if (!args
) SWIG_fail
;
46642 swig_obj
[0] = args
;
46643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46644 if (!SWIG_IsOK(res1
)) {
46645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46647 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46650 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46651 wxPyEndAllowThreads(__tstate
);
46652 if (PyErr_Occurred()) SWIG_fail
;
46655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46663 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46664 PyObject
*resultobj
= 0;
46665 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46671 PyObject
* obj0
= 0 ;
46672 PyObject
* obj1
= 0 ;
46673 char * kwnames
[] = {
46674 (char *) "self",(char *) "show", NULL
46677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46679 if (!SWIG_IsOK(res1
)) {
46680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46682 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46684 if (!SWIG_IsOK(ecode2
)) {
46685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46687 arg2
= static_cast< bool >(val2
);
46689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46690 (arg1
)->ShowCancelButton(arg2
);
46691 wxPyEndAllowThreads(__tstate
);
46692 if (PyErr_Occurred()) SWIG_fail
;
46694 resultobj
= SWIG_Py_Void();
46701 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46702 PyObject
*resultobj
= 0;
46703 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46707 PyObject
*swig_obj
[1] ;
46709 if (!args
) SWIG_fail
;
46710 swig_obj
[0] = args
;
46711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46712 if (!SWIG_IsOK(res1
)) {
46713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46715 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46718 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46719 wxPyEndAllowThreads(__tstate
);
46720 if (PyErr_Occurred()) SWIG_fail
;
46723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46731 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46732 PyObject
*resultobj
= 0;
46733 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46734 wxString
*arg2
= 0 ;
46737 bool temp2
= false ;
46738 PyObject
* obj0
= 0 ;
46739 PyObject
* obj1
= 0 ;
46740 char * kwnames
[] = {
46741 (char *) "self",(char *) "text", NULL
46744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46746 if (!SWIG_IsOK(res1
)) {
46747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46749 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46751 arg2
= wxString_in_helper(obj1
);
46752 if (arg2
== NULL
) SWIG_fail
;
46756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46757 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46758 wxPyEndAllowThreads(__tstate
);
46759 if (PyErr_Occurred()) SWIG_fail
;
46761 resultobj
= SWIG_Py_Void();
46776 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46777 PyObject
*resultobj
= 0;
46778 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46782 PyObject
*swig_obj
[1] ;
46784 if (!args
) SWIG_fail
;
46785 swig_obj
[0] = args
;
46786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46787 if (!SWIG_IsOK(res1
)) {
46788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46790 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46793 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46794 wxPyEndAllowThreads(__tstate
);
46795 if (PyErr_Occurred()) SWIG_fail
;
46799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46810 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46811 PyObject
*resultobj
= 0;
46812 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46813 wxBitmap
*arg2
= 0 ;
46818 PyObject
* obj0
= 0 ;
46819 PyObject
* obj1
= 0 ;
46820 char * kwnames
[] = {
46821 (char *) "self",(char *)"arg2", NULL
46824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46826 if (!SWIG_IsOK(res1
)) {
46827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46829 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46831 if (!SWIG_IsOK(res2
)) {
46832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46837 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46840 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46841 wxPyEndAllowThreads(__tstate
);
46842 if (PyErr_Occurred()) SWIG_fail
;
46844 resultobj
= SWIG_Py_Void();
46851 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46852 PyObject
*resultobj
= 0;
46853 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46854 wxBitmap
*arg2
= 0 ;
46859 PyObject
* obj0
= 0 ;
46860 PyObject
* obj1
= 0 ;
46861 char * kwnames
[] = {
46862 (char *) "self",(char *)"arg2", NULL
46865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46867 if (!SWIG_IsOK(res1
)) {
46868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46870 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46872 if (!SWIG_IsOK(res2
)) {
46873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46878 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46881 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46882 wxPyEndAllowThreads(__tstate
);
46883 if (PyErr_Occurred()) SWIG_fail
;
46885 resultobj
= SWIG_Py_Void();
46892 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46893 PyObject
*resultobj
= 0;
46894 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46895 wxBitmap
*arg2
= 0 ;
46900 PyObject
* obj0
= 0 ;
46901 PyObject
* obj1
= 0 ;
46902 char * kwnames
[] = {
46903 (char *) "self",(char *)"arg2", NULL
46906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46908 if (!SWIG_IsOK(res1
)) {
46909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46911 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46913 if (!SWIG_IsOK(res2
)) {
46914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46922 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46923 wxPyEndAllowThreads(__tstate
);
46924 if (PyErr_Occurred()) SWIG_fail
;
46926 resultobj
= SWIG_Py_Void();
46933 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46936 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46937 return SWIG_Py_Void();
46940 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46941 return SWIG_Python_InitShadowInstance(args
);
46944 static PyMethodDef SwigMethods
[] = {
46945 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46947 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46949 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46950 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46952 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46953 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46955 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46957 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46958 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46959 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46960 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46961 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46968 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46969 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46970 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46971 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46973 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46975 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46976 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46978 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46980 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46981 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46983 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46984 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46986 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46988 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46990 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46991 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46993 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46995 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46997 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46998 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46999 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47001 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47002 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47005 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47008 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47010 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47011 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47012 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47013 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47014 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47015 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47016 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47017 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47018 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47020 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47021 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47023 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47026 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47028 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47029 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47030 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47032 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47034 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47036 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47037 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47039 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47042 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47043 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47045 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47047 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47048 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47050 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47051 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47053 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47057 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47058 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47060 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47062 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47066 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47067 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47069 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47080 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47085 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47091 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47092 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47094 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47098 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47099 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47101 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47102 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47112 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47113 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47114 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47115 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47116 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47117 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47118 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47120 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47121 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47122 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47123 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47124 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47125 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47126 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47127 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47128 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47129 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47131 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47132 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47134 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47136 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47138 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47143 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47144 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47145 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47146 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47147 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47148 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47149 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47150 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47155 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47156 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47165 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47171 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47172 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47173 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47174 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47175 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47176 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47177 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47178 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47179 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47180 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47182 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47183 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47184 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47186 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47189 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47193 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47194 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47196 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47197 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47198 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47199 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47200 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47202 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47204 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47205 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47206 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47207 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47208 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47211 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47212 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47214 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47216 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47217 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47218 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47223 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47225 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47226 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47228 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47230 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47234 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47235 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47241 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47243 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47244 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47246 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47249 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47250 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47252 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47260 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47261 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47268 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47269 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47271 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47273 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47276 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47277 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47279 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47281 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47284 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47285 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47290 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47291 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47293 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47295 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47296 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47298 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47299 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47300 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47303 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47304 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47306 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47309 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47311 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47312 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47313 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47315 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47316 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47321 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47326 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47328 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47330 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47332 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47333 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47336 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47344 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47346 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47348 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47350 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47351 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47353 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47355 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47358 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47362 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47363 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47365 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47366 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47368 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47370 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47371 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47372 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47374 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47375 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47377 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47379 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47380 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47381 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47383 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47384 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47386 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47394 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47395 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47396 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47398 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47399 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47401 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47403 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47404 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47405 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47406 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47408 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47409 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47410 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47411 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47412 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47413 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47414 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47415 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47416 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47417 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47418 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47419 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47420 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47421 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47422 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47423 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47424 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47425 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47426 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47428 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47435 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47437 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47439 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47447 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47452 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47453 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47470 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47471 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47472 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47473 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47476 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47477 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47479 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47480 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47483 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47484 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47485 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47487 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47492 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47493 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47495 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47499 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47500 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47501 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47502 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47503 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47504 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47506 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47507 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47508 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47509 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47510 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47511 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47512 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47526 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47527 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47528 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47529 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47530 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47531 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47532 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47533 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47534 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47535 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47536 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47537 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47538 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47539 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47540 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47541 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47542 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47543 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47544 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47545 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47546 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47547 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47548 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47549 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47550 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47551 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47552 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47553 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47554 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47555 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47556 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47557 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47558 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47559 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47560 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47561 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47563 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47564 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47565 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47566 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47567 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47568 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47569 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47570 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47571 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47572 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47573 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47574 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47575 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47576 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47577 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47578 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47579 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47580 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47581 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47582 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47583 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47584 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47585 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47586 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47588 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47589 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47591 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47598 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47599 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47600 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47615 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47616 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47617 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47619 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47620 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47622 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47628 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47629 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47634 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47636 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47637 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47660 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47662 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47663 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47665 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47669 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47671 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47675 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47676 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47677 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47678 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47679 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47682 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47683 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47684 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47685 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47687 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47688 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47690 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47692 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47693 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47694 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47695 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47696 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47698 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47700 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47702 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47703 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47705 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47707 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47710 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47711 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47712 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47714 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47717 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47718 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47720 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47722 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47723 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47739 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47750 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47752 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47753 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47754 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47761 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47762 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47771 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47773 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47774 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47776 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47777 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47779 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47780 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47781 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47782 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47788 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47794 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47795 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47796 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47797 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47798 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47802 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47804 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47805 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47808 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47809 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47811 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47813 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47814 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47815 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47817 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47818 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47819 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47820 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47822 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47825 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47826 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47828 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47830 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47835 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47836 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47837 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47838 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47839 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47840 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47841 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47842 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47843 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47845 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47847 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47849 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47851 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47853 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47854 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47856 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47858 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47859 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47860 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47862 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47863 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47864 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47866 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47872 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47873 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47874 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47875 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47876 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47877 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47883 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47887 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47889 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47890 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47895 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47896 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47898 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47901 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47903 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47904 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47905 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47906 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47908 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47910 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47912 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47914 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47916 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47917 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47919 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47920 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47921 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47923 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47925 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47926 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47929 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47931 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47933 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47934 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47936 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47938 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47939 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47940 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47941 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47943 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47945 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47947 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47948 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47950 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47952 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47953 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47955 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47957 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47958 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47960 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47961 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47962 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47964 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47965 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47966 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47968 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47969 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47970 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47971 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47973 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47975 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47976 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47978 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47979 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47980 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47982 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47983 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47984 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47985 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47987 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47988 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47989 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47990 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47991 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47992 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47993 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47994 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47995 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47996 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47997 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47998 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47999 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48000 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48002 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48004 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48005 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48006 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48007 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48008 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48009 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48010 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48011 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48012 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48014 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48015 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48016 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48017 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48020 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48021 { NULL
, NULL
, 0, NULL
}
48025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48027 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48030 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48031 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48033 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48034 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48036 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48037 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48039 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48040 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48042 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48043 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48045 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48048 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48049 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48051 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48054 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48057 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48060 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48061 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48063 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48066 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48069 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48072 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48073 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48075 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48076 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48078 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48081 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48082 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48084 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48085 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48087 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48088 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48090 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48091 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48093 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48094 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48096 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48099 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48100 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48102 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48105 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48106 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48108 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48109 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48111 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48112 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48114 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48115 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48117 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48118 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48120 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48121 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48123 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48126 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48129 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48130 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48132 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48133 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48135 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48138 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48141 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48142 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48144 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48145 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48147 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48148 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48150 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48151 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48153 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48156 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48157 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48159 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48160 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48162 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48165 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48166 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48168 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48169 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48171 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48174 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48177 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48178 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48180 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48181 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48183 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48184 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48186 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48187 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48189 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48190 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48192 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48193 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48195 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48196 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48198 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48199 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48201 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48202 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48204 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48205 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48207 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48208 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48210 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48211 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48213 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48214 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48216 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48217 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48219 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48220 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48222 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48223 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48225 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48226 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48228 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48229 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48231 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48232 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48234 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48235 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48237 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48238 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48240 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48241 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48243 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48244 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48246 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48247 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48249 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48250 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48252 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48253 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48255 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48256 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48258 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48259 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48261 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48262 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48264 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48265 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48267 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48268 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48270 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48271 return (void *)((wxControl
*) ((wxGauge
*) x
));
48273 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48274 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48276 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48277 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48279 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48280 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48282 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48283 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48285 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48286 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48288 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48289 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48291 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48292 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48294 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48295 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48297 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48298 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48300 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48301 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48303 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48304 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48306 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48307 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48309 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48310 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48312 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48313 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48315 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48316 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48318 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48319 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48321 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48322 return (void *)((wxControl
*) ((wxSlider
*) x
));
48324 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48325 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48327 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48328 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48330 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48331 return (void *)((wxControl
*) ((wxButton
*) x
));
48333 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48334 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48336 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48337 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48339 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48340 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48342 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48343 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48345 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48346 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48348 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48349 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48351 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48352 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48354 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48355 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48357 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48358 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48360 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48361 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48363 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48364 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48366 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48367 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48369 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48370 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48372 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48373 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48375 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48376 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48378 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48379 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48381 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48382 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48384 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48385 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48387 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48388 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48390 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48391 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48393 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48394 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48396 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48397 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48399 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48400 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48402 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48403 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48405 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48406 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48408 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48411 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48412 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48414 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48415 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48417 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48420 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48421 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48423 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48424 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48426 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48429 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48432 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48433 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48435 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48438 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48441 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48444 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48445 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48447 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48450 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48451 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48453 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48456 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48459 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48462 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48465 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48468 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48469 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48471 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48474 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48477 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48480 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48483 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48486 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48489 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48492 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48495 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48498 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48501 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48504 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48507 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48510 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48513 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48516 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48519 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48522 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48525 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48528 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48531 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48534 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48537 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48540 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48543 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48546 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48549 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48552 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48555 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48558 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48561 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48564 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48567 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48568 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48570 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48571 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48573 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48574 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48576 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48577 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48579 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48580 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48582 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48585 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48588 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48591 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48594 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48597 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48600 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48603 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48606 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48609 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48612 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) ((wxSizer
*) x
));
48615 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48618 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48621 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48624 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48627 static void *_p_wxEventTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) ((wxEvent
*) x
));
48630 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48633 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48636 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48639 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48642 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48645 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48648 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48651 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48654 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48675 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48678 static void *_p_wxControlTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48681 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48684 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48687 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48690 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48693 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48696 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48699 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48702 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48705 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48708 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48711 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48714 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48717 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48720 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48723 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48726 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48729 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48732 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48733 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48735 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48738 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48741 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48744 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48745 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48747 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48750 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48753 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48754 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48756 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48759 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48760 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48762 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48765 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48766 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48768 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48769 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48771 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48772 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48774 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48775 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48777 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48778 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48780 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48781 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48783 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48786 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48787 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48789 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48792 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48795 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48798 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48801 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48804 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48807 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48810 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48811 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48813 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48814 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48816 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48817 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48819 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48822 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48825 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48826 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48828 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48831 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48834 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48837 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48838 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48840 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48841 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48843 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48846 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48849 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48852 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48855 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48858 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48861 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48864 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48865 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48867 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48868 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48870 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48873 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48876 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48879 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48882 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48883 return (void *)((wxObject
*) ((wxListItem
*) x
));
48885 static void *_p_wxImageTo_p_wxObject(void *x
) {
48886 return (void *)((wxObject
*) ((wxImage
*) x
));
48888 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48889 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48891 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48894 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48895 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48897 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48900 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48903 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48906 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48909 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48912 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48915 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48918 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48919 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48921 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48922 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48924 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48927 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48928 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48930 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48933 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48934 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48936 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48939 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48942 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48943 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48945 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48948 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48949 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48951 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48952 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48954 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48955 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48957 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48960 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48963 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48966 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48967 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48969 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48972 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48973 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48975 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48976 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48978 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48981 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48984 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48987 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48990 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48993 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48996 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48999 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49002 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49003 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49005 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49008 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49011 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49012 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49014 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49015 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49017 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49018 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49020 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49021 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49023 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49024 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49026 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49027 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49029 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49030 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49032 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49033 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49035 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49036 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49038 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49039 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49041 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49042 return (void *)((wxWindow
*) ((wxControl
*) x
));
49044 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49045 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49047 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49048 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49050 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49051 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49053 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49054 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49056 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49057 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49059 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49060 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49062 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49063 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49065 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49066 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49068 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49069 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49071 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49072 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49074 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49075 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49077 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49078 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49080 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49081 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49083 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49084 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49086 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49087 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49089 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49090 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49092 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49093 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49095 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49096 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49098 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49099 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49101 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49102 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49104 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49105 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49107 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49108 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49110 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49111 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49113 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49114 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49116 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49117 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49119 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49120 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49122 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49123 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49125 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49126 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49128 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49129 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49131 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49132 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49134 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49135 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49137 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49138 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49140 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49141 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49143 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49144 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49146 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49147 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49149 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49150 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49152 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49153 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49155 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49156 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49158 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49159 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49161 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49162 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49164 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49165 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49167 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49168 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49170 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49171 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49173 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49174 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49176 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49177 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49179 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49180 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49182 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49183 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49185 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49186 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49188 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49189 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49191 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49192 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49194 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49195 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49197 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49198 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49200 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49201 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49203 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49204 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49206 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49207 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49209 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49210 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49212 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49213 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49215 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49216 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49218 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49219 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49221 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49222 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49224 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49225 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49227 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49228 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49230 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49231 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49233 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49234 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49236 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49237 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49239 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49240 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49242 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49243 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49245 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49246 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49248 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49249 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49251 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49252 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49254 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49255 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49257 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49258 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49260 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49261 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49263 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49264 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49265 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};
49266 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49267 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49279 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49280 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49281 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49282 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49283 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49284 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49285 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49286 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49287 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49288 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49289 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49290 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49291 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49292 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49293 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49294 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49295 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49296 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49297 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49298 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49299 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49300 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49301 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49302 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49303 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49304 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49305 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49306 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49307 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49308 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49309 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49310 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49311 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49312 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49313 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49314 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49315 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49316 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49317 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49318 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49319 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49320 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49321 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49322 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49323 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49324 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49325 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49326 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49327 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49328 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49329 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49330 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49331 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49332 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49333 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49334 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49335 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49336 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49337 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49338 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49339 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49340 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49341 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49342 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49343 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49344 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49345 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49346 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49347 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49348 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49349 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49350 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49351 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49352 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49353 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49354 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49355 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49356 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49357 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49358 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49359 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49360 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49361 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49362 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49363 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49364 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49365 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49366 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49367 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49368 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49369 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49370 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49371 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49372 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49373 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49374 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49375 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49376 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49377 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49378 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49379 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49380 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49381 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49382 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49383 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49384 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49385 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49386 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49387 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49388 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49389 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49390 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49391 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49392 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49393 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49394 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49395 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49396 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49397 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49398 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49399 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49400 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49401 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49402 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49403 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49405 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49406 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49407 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49408 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49409 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49410 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49411 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49412 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49413 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49414 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49415 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49416 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49417 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49418 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49419 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49420 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49421 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49422 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49432 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49433 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49434 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49435 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49436 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49437 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49438 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49439 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49440 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49441 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49442 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49444 static swig_type_info
*swig_type_initial
[] = {
49447 &_swigt__p_form_ops_t
,
49450 &_swigt__p_unsigned_char
,
49451 &_swigt__p_unsigned_int
,
49452 &_swigt__p_unsigned_long
,
49454 &_swigt__p_wxANIHandler
,
49455 &_swigt__p_wxAcceleratorTable
,
49456 &_swigt__p_wxActivateEvent
,
49457 &_swigt__p_wxArrayInt
,
49458 &_swigt__p_wxArrayString
,
49459 &_swigt__p_wxBMPHandler
,
49460 &_swigt__p_wxBitmap
,
49461 &_swigt__p_wxBitmapButton
,
49462 &_swigt__p_wxBookCtrlBase
,
49463 &_swigt__p_wxBookCtrlBaseEvent
,
49464 &_swigt__p_wxBoxSizer
,
49465 &_swigt__p_wxButton
,
49466 &_swigt__p_wxCURHandler
,
49467 &_swigt__p_wxCheckBox
,
49468 &_swigt__p_wxCheckListBox
,
49469 &_swigt__p_wxChildFocusEvent
,
49470 &_swigt__p_wxChoice
,
49471 &_swigt__p_wxChoicebook
,
49472 &_swigt__p_wxChoicebookEvent
,
49473 &_swigt__p_wxClipboardTextEvent
,
49474 &_swigt__p_wxCloseEvent
,
49475 &_swigt__p_wxCollapsiblePane
,
49476 &_swigt__p_wxCollapsiblePaneEvent
,
49477 &_swigt__p_wxColour
,
49478 &_swigt__p_wxColourPickerCtrl
,
49479 &_swigt__p_wxColourPickerEvent
,
49480 &_swigt__p_wxComboBox
,
49481 &_swigt__p_wxCommandEvent
,
49482 &_swigt__p_wxContextHelp
,
49483 &_swigt__p_wxContextHelpButton
,
49484 &_swigt__p_wxContextMenuEvent
,
49485 &_swigt__p_wxControl
,
49486 &_swigt__p_wxControlWithItems
,
49487 &_swigt__p_wxCursor
,
49489 &_swigt__p_wxDateEvent
,
49490 &_swigt__p_wxDatePickerCtrl
,
49491 &_swigt__p_wxDateTime
,
49492 &_swigt__p_wxDirFilterListCtrl
,
49493 &_swigt__p_wxDirPickerCtrl
,
49494 &_swigt__p_wxDisplayChangedEvent
,
49495 &_swigt__p_wxDropFilesEvent
,
49496 &_swigt__p_wxDuplexMode
,
49497 &_swigt__p_wxEraseEvent
,
49498 &_swigt__p_wxEvent
,
49499 &_swigt__p_wxEventBlocker
,
49500 &_swigt__p_wxEvtHandler
,
49501 &_swigt__p_wxFSFile
,
49502 &_swigt__p_wxFileDirPickerEvent
,
49503 &_swigt__p_wxFilePickerCtrl
,
49504 &_swigt__p_wxFileSystem
,
49505 &_swigt__p_wxFlexGridSizer
,
49506 &_swigt__p_wxFocusEvent
,
49508 &_swigt__p_wxFontPickerCtrl
,
49509 &_swigt__p_wxFontPickerEvent
,
49510 &_swigt__p_wxGBSizerItem
,
49511 &_swigt__p_wxGIFHandler
,
49512 &_swigt__p_wxGauge
,
49513 &_swigt__p_wxGenericDirCtrl
,
49514 &_swigt__p_wxGenericDragImage
,
49515 &_swigt__p_wxGridBagSizer
,
49516 &_swigt__p_wxGridSizer
,
49517 &_swigt__p_wxHelpEvent
,
49518 &_swigt__p_wxHelpProvider
,
49519 &_swigt__p_wxHyperlinkCtrl
,
49520 &_swigt__p_wxHyperlinkEvent
,
49521 &_swigt__p_wxICOHandler
,
49523 &_swigt__p_wxIconizeEvent
,
49524 &_swigt__p_wxIdleEvent
,
49525 &_swigt__p_wxImage
,
49526 &_swigt__p_wxImageHandler
,
49527 &_swigt__p_wxImageList
,
49528 &_swigt__p_wxIndividualLayoutConstraint
,
49529 &_swigt__p_wxInitDialogEvent
,
49530 &_swigt__p_wxItemContainer
,
49531 &_swigt__p_wxJPEGHandler
,
49532 &_swigt__p_wxKeyEvent
,
49533 &_swigt__p_wxLayoutConstraints
,
49534 &_swigt__p_wxListBox
,
49535 &_swigt__p_wxListEvent
,
49536 &_swigt__p_wxListItem
,
49537 &_swigt__p_wxListItemAttr
,
49538 &_swigt__p_wxListView
,
49539 &_swigt__p_wxListbook
,
49540 &_swigt__p_wxListbookEvent
,
49541 &_swigt__p_wxMaximizeEvent
,
49542 &_swigt__p_wxMemoryDC
,
49544 &_swigt__p_wxMenuBar
,
49545 &_swigt__p_wxMenuEvent
,
49546 &_swigt__p_wxMenuItem
,
49547 &_swigt__p_wxMouseCaptureChangedEvent
,
49548 &_swigt__p_wxMouseCaptureLostEvent
,
49549 &_swigt__p_wxMouseEvent
,
49550 &_swigt__p_wxMoveEvent
,
49551 &_swigt__p_wxNavigationKeyEvent
,
49552 &_swigt__p_wxNcPaintEvent
,
49553 &_swigt__p_wxNotebook
,
49554 &_swigt__p_wxNotebookEvent
,
49555 &_swigt__p_wxNotifyEvent
,
49556 &_swigt__p_wxObject
,
49557 &_swigt__p_wxPCXHandler
,
49558 &_swigt__p_wxPNGHandler
,
49559 &_swigt__p_wxPNMHandler
,
49560 &_swigt__p_wxPaintEvent
,
49561 &_swigt__p_wxPaletteChangedEvent
,
49562 &_swigt__p_wxPaperSize
,
49563 &_swigt__p_wxPickerBase
,
49564 &_swigt__p_wxPoint
,
49565 &_swigt__p_wxPyApp
,
49566 &_swigt__p_wxPyCommandEvent
,
49567 &_swigt__p_wxPyControl
,
49568 &_swigt__p_wxPyEvent
,
49569 &_swigt__p_wxPyImageHandler
,
49570 &_swigt__p_wxPyListCtrl
,
49571 &_swigt__p_wxPySizer
,
49572 &_swigt__p_wxPyTreeCtrl
,
49573 &_swigt__p_wxPyTreeItemData
,
49574 &_swigt__p_wxPyValidator
,
49575 &_swigt__p_wxQueryNewPaletteEvent
,
49576 &_swigt__p_wxRadioBox
,
49577 &_swigt__p_wxRadioButton
,
49579 &_swigt__p_wxScrollBar
,
49580 &_swigt__p_wxScrollEvent
,
49581 &_swigt__p_wxScrollWinEvent
,
49582 &_swigt__p_wxSearchCtrl
,
49583 &_swigt__p_wxSetCursorEvent
,
49584 &_swigt__p_wxShowEvent
,
49585 &_swigt__p_wxSimpleHelpProvider
,
49587 &_swigt__p_wxSizeEvent
,
49588 &_swigt__p_wxSizer
,
49589 &_swigt__p_wxSizerItem
,
49590 &_swigt__p_wxSlider
,
49591 &_swigt__p_wxSpinButton
,
49592 &_swigt__p_wxSpinCtrl
,
49593 &_swigt__p_wxSpinEvent
,
49594 &_swigt__p_wxStaticBitmap
,
49595 &_swigt__p_wxStaticBox
,
49596 &_swigt__p_wxStaticBoxSizer
,
49597 &_swigt__p_wxStaticLine
,
49598 &_swigt__p_wxStaticText
,
49599 &_swigt__p_wxStdDialogButtonSizer
,
49600 &_swigt__p_wxString
,
49601 &_swigt__p_wxSysColourChangedEvent
,
49602 &_swigt__p_wxTGAHandler
,
49603 &_swigt__p_wxTIFFHandler
,
49604 &_swigt__p_wxTextAttr
,
49605 &_swigt__p_wxTextCtrl
,
49606 &_swigt__p_wxTextUrlEvent
,
49607 &_swigt__p_wxToggleButton
,
49608 &_swigt__p_wxToolBar
,
49609 &_swigt__p_wxToolBarBase
,
49610 &_swigt__p_wxToolBarToolBase
,
49611 &_swigt__p_wxToolbook
,
49612 &_swigt__p_wxToolbookEvent
,
49613 &_swigt__p_wxTreeEvent
,
49614 &_swigt__p_wxTreeItemId
,
49615 &_swigt__p_wxTreebook
,
49616 &_swigt__p_wxTreebookEvent
,
49617 &_swigt__p_wxUpdateUIEvent
,
49618 &_swigt__p_wxValidator
,
49619 &_swigt__p_wxVisualAttributes
,
49620 &_swigt__p_wxWindow
,
49621 &_swigt__p_wxWindowBase
,
49622 &_swigt__p_wxWindowCreateEvent
,
49623 &_swigt__p_wxWindowDestroyEvent
,
49624 &_swigt__p_wxXPMHandler
,
49627 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49630 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49631 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49639 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}};
49640 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}};
49641 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}};
49642 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}};
49643 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49645 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}};
49646 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49654 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49655 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49657 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49659 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49660 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49663 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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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}};
49664 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49667 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}};
49668 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49677 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49678 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49679 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49682 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49683 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49684 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49685 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49686 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49687 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49688 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49689 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49691 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49692 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49693 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49694 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49695 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49696 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49697 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49698 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49700 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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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}};
49701 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_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_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_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_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 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_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
49706 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49715 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}};
49716 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49718 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49720 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}};
49721 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49722 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}};
49723 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49726 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49727 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49728 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49729 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49730 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49731 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49732 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49733 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49734 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}};
49735 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49736 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49737 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49738 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49739 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49740 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49741 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49742 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49743 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49744 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49745 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49746 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49747 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49748 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49749 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49758 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49759 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49761 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49762 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49763 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49764 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49765 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49766 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_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_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_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}};
49767 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49768 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}};
49769 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49771 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}};
49772 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49773 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49774 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49775 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49776 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49780 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49781 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49782 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49783 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49785 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49786 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49787 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49788 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49789 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49790 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49791 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49792 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49794 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49795 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}};
49796 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49797 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49798 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49803 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}};
49804 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_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_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info
*swig_cast_initial
[] = {
49811 _swigc__p_form_ops_t
,
49814 _swigc__p_unsigned_char
,
49815 _swigc__p_unsigned_int
,
49816 _swigc__p_unsigned_long
,
49818 _swigc__p_wxANIHandler
,
49819 _swigc__p_wxAcceleratorTable
,
49820 _swigc__p_wxActivateEvent
,
49821 _swigc__p_wxArrayInt
,
49822 _swigc__p_wxArrayString
,
49823 _swigc__p_wxBMPHandler
,
49824 _swigc__p_wxBitmap
,
49825 _swigc__p_wxBitmapButton
,
49826 _swigc__p_wxBookCtrlBase
,
49827 _swigc__p_wxBookCtrlBaseEvent
,
49828 _swigc__p_wxBoxSizer
,
49829 _swigc__p_wxButton
,
49830 _swigc__p_wxCURHandler
,
49831 _swigc__p_wxCheckBox
,
49832 _swigc__p_wxCheckListBox
,
49833 _swigc__p_wxChildFocusEvent
,
49834 _swigc__p_wxChoice
,
49835 _swigc__p_wxChoicebook
,
49836 _swigc__p_wxChoicebookEvent
,
49837 _swigc__p_wxClipboardTextEvent
,
49838 _swigc__p_wxCloseEvent
,
49839 _swigc__p_wxCollapsiblePane
,
49840 _swigc__p_wxCollapsiblePaneEvent
,
49841 _swigc__p_wxColour
,
49842 _swigc__p_wxColourPickerCtrl
,
49843 _swigc__p_wxColourPickerEvent
,
49844 _swigc__p_wxComboBox
,
49845 _swigc__p_wxCommandEvent
,
49846 _swigc__p_wxContextHelp
,
49847 _swigc__p_wxContextHelpButton
,
49848 _swigc__p_wxContextMenuEvent
,
49849 _swigc__p_wxControl
,
49850 _swigc__p_wxControlWithItems
,
49851 _swigc__p_wxCursor
,
49853 _swigc__p_wxDateEvent
,
49854 _swigc__p_wxDatePickerCtrl
,
49855 _swigc__p_wxDateTime
,
49856 _swigc__p_wxDirFilterListCtrl
,
49857 _swigc__p_wxDirPickerCtrl
,
49858 _swigc__p_wxDisplayChangedEvent
,
49859 _swigc__p_wxDropFilesEvent
,
49860 _swigc__p_wxDuplexMode
,
49861 _swigc__p_wxEraseEvent
,
49863 _swigc__p_wxEventBlocker
,
49864 _swigc__p_wxEvtHandler
,
49865 _swigc__p_wxFSFile
,
49866 _swigc__p_wxFileDirPickerEvent
,
49867 _swigc__p_wxFilePickerCtrl
,
49868 _swigc__p_wxFileSystem
,
49869 _swigc__p_wxFlexGridSizer
,
49870 _swigc__p_wxFocusEvent
,
49872 _swigc__p_wxFontPickerCtrl
,
49873 _swigc__p_wxFontPickerEvent
,
49874 _swigc__p_wxGBSizerItem
,
49875 _swigc__p_wxGIFHandler
,
49877 _swigc__p_wxGenericDirCtrl
,
49878 _swigc__p_wxGenericDragImage
,
49879 _swigc__p_wxGridBagSizer
,
49880 _swigc__p_wxGridSizer
,
49881 _swigc__p_wxHelpEvent
,
49882 _swigc__p_wxHelpProvider
,
49883 _swigc__p_wxHyperlinkCtrl
,
49884 _swigc__p_wxHyperlinkEvent
,
49885 _swigc__p_wxICOHandler
,
49887 _swigc__p_wxIconizeEvent
,
49888 _swigc__p_wxIdleEvent
,
49890 _swigc__p_wxImageHandler
,
49891 _swigc__p_wxImageList
,
49892 _swigc__p_wxIndividualLayoutConstraint
,
49893 _swigc__p_wxInitDialogEvent
,
49894 _swigc__p_wxItemContainer
,
49895 _swigc__p_wxJPEGHandler
,
49896 _swigc__p_wxKeyEvent
,
49897 _swigc__p_wxLayoutConstraints
,
49898 _swigc__p_wxListBox
,
49899 _swigc__p_wxListEvent
,
49900 _swigc__p_wxListItem
,
49901 _swigc__p_wxListItemAttr
,
49902 _swigc__p_wxListView
,
49903 _swigc__p_wxListbook
,
49904 _swigc__p_wxListbookEvent
,
49905 _swigc__p_wxMaximizeEvent
,
49906 _swigc__p_wxMemoryDC
,
49908 _swigc__p_wxMenuBar
,
49909 _swigc__p_wxMenuEvent
,
49910 _swigc__p_wxMenuItem
,
49911 _swigc__p_wxMouseCaptureChangedEvent
,
49912 _swigc__p_wxMouseCaptureLostEvent
,
49913 _swigc__p_wxMouseEvent
,
49914 _swigc__p_wxMoveEvent
,
49915 _swigc__p_wxNavigationKeyEvent
,
49916 _swigc__p_wxNcPaintEvent
,
49917 _swigc__p_wxNotebook
,
49918 _swigc__p_wxNotebookEvent
,
49919 _swigc__p_wxNotifyEvent
,
49920 _swigc__p_wxObject
,
49921 _swigc__p_wxPCXHandler
,
49922 _swigc__p_wxPNGHandler
,
49923 _swigc__p_wxPNMHandler
,
49924 _swigc__p_wxPaintEvent
,
49925 _swigc__p_wxPaletteChangedEvent
,
49926 _swigc__p_wxPaperSize
,
49927 _swigc__p_wxPickerBase
,
49930 _swigc__p_wxPyCommandEvent
,
49931 _swigc__p_wxPyControl
,
49932 _swigc__p_wxPyEvent
,
49933 _swigc__p_wxPyImageHandler
,
49934 _swigc__p_wxPyListCtrl
,
49935 _swigc__p_wxPySizer
,
49936 _swigc__p_wxPyTreeCtrl
,
49937 _swigc__p_wxPyTreeItemData
,
49938 _swigc__p_wxPyValidator
,
49939 _swigc__p_wxQueryNewPaletteEvent
,
49940 _swigc__p_wxRadioBox
,
49941 _swigc__p_wxRadioButton
,
49943 _swigc__p_wxScrollBar
,
49944 _swigc__p_wxScrollEvent
,
49945 _swigc__p_wxScrollWinEvent
,
49946 _swigc__p_wxSearchCtrl
,
49947 _swigc__p_wxSetCursorEvent
,
49948 _swigc__p_wxShowEvent
,
49949 _swigc__p_wxSimpleHelpProvider
,
49951 _swigc__p_wxSizeEvent
,
49953 _swigc__p_wxSizerItem
,
49954 _swigc__p_wxSlider
,
49955 _swigc__p_wxSpinButton
,
49956 _swigc__p_wxSpinCtrl
,
49957 _swigc__p_wxSpinEvent
,
49958 _swigc__p_wxStaticBitmap
,
49959 _swigc__p_wxStaticBox
,
49960 _swigc__p_wxStaticBoxSizer
,
49961 _swigc__p_wxStaticLine
,
49962 _swigc__p_wxStaticText
,
49963 _swigc__p_wxStdDialogButtonSizer
,
49964 _swigc__p_wxString
,
49965 _swigc__p_wxSysColourChangedEvent
,
49966 _swigc__p_wxTGAHandler
,
49967 _swigc__p_wxTIFFHandler
,
49968 _swigc__p_wxTextAttr
,
49969 _swigc__p_wxTextCtrl
,
49970 _swigc__p_wxTextUrlEvent
,
49971 _swigc__p_wxToggleButton
,
49972 _swigc__p_wxToolBar
,
49973 _swigc__p_wxToolBarBase
,
49974 _swigc__p_wxToolBarToolBase
,
49975 _swigc__p_wxToolbook
,
49976 _swigc__p_wxToolbookEvent
,
49977 _swigc__p_wxTreeEvent
,
49978 _swigc__p_wxTreeItemId
,
49979 _swigc__p_wxTreebook
,
49980 _swigc__p_wxTreebookEvent
,
49981 _swigc__p_wxUpdateUIEvent
,
49982 _swigc__p_wxValidator
,
49983 _swigc__p_wxVisualAttributes
,
49984 _swigc__p_wxWindow
,
49985 _swigc__p_wxWindowBase
,
49986 _swigc__p_wxWindowCreateEvent
,
49987 _swigc__p_wxWindowDestroyEvent
,
49988 _swigc__p_wxXPMHandler
,
49992 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49994 static swig_const_info swig_const_table
[] = {
49995 {0, 0, 0, 0.0, 0, 0}};
50000 /* -----------------------------------------------------------------------------
50001 * Type initialization:
50002 * This problem is tough by the requirement that no dynamic
50003 * memory is used. Also, since swig_type_info structures store pointers to
50004 * swig_cast_info structures and swig_cast_info structures store pointers back
50005 * to swig_type_info structures, we need some lookup code at initialization.
50006 * The idea is that swig generates all the structures that are needed.
50007 * The runtime then collects these partially filled structures.
50008 * The SWIG_InitializeModule function takes these initial arrays out of
50009 * swig_module, and does all the lookup, filling in the swig_module.types
50010 * array with the correct data and linking the correct swig_cast_info
50011 * structures together.
50013 * The generated swig_type_info structures are assigned staticly to an initial
50014 * array. We just loop though that array, and handle each type individually.
50015 * First we lookup if this type has been already loaded, and if so, use the
50016 * loaded structure instead of the generated one. Then we have to fill in the
50017 * cast linked list. The cast data is initially stored in something like a
50018 * two-dimensional array. Each row corresponds to a type (there are the same
50019 * number of rows as there are in the swig_type_initial array). Each entry in
50020 * a column is one of the swig_cast_info structures for that type.
50021 * The cast_initial array is actually an array of arrays, because each row has
50022 * a variable number of columns. So to actually build the cast linked list,
50023 * we find the array of casts associated with the type, and loop through it
50024 * adding the casts to the list. The one last trick we need to do is making
50025 * sure the type pointer in the swig_cast_info struct is correct.
50027 * First off, we lookup the cast->type name to see if it is already loaded.
50028 * There are three cases to handle:
50029 * 1) If the cast->type has already been loaded AND the type we are adding
50030 * casting info to has not been loaded (it is in this module), THEN we
50031 * replace the cast->type pointer with the type pointer that has already
50033 * 2) If BOTH types (the one we are adding casting info to, and the
50034 * cast->type) are loaded, THEN the cast info has already been loaded by
50035 * the previous module so we just ignore it.
50036 * 3) Finally, if cast->type has not already been loaded, then we add that
50037 * swig_cast_info to the linked list (because the cast->type) pointer will
50039 * ----------------------------------------------------------------------------- */
50049 #define SWIGRUNTIME_DEBUG
50053 SWIG_InitializeModule(void *clientdata
) {
50055 swig_module_info
*module_head
;
50056 static int init_run
= 0;
50058 clientdata
= clientdata
;
50060 if (init_run
) return;
50063 /* Initialize the swig_module */
50064 swig_module
.type_initial
= swig_type_initial
;
50065 swig_module
.cast_initial
= swig_cast_initial
;
50067 /* Try and load any already created modules */
50068 module_head
= SWIG_GetModule(clientdata
);
50070 swig_module
.next
= module_head
->next
;
50071 module_head
->next
= &swig_module
;
50073 /* This is the first module loaded */
50074 swig_module
.next
= &swig_module
;
50075 SWIG_SetModule(clientdata
, &swig_module
);
50078 /* Now work on filling in swig_module.types */
50079 #ifdef SWIGRUNTIME_DEBUG
50080 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50082 for (i
= 0; i
< swig_module
.size
; ++i
) {
50083 swig_type_info
*type
= 0;
50084 swig_type_info
*ret
;
50085 swig_cast_info
*cast
;
50087 #ifdef SWIGRUNTIME_DEBUG
50088 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50091 /* if there is another module already loaded */
50092 if (swig_module
.next
!= &swig_module
) {
50093 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50096 /* Overwrite clientdata field */
50097 #ifdef SWIGRUNTIME_DEBUG
50098 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50100 if (swig_module
.type_initial
[i
]->clientdata
) {
50101 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50102 #ifdef SWIGRUNTIME_DEBUG
50103 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50107 type
= swig_module
.type_initial
[i
];
50110 /* Insert casting types */
50111 cast
= swig_module
.cast_initial
[i
];
50112 while (cast
->type
) {
50113 /* Don't need to add information already in the list */
50115 #ifdef SWIGRUNTIME_DEBUG
50116 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50118 if (swig_module
.next
!= &swig_module
) {
50119 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50120 #ifdef SWIGRUNTIME_DEBUG
50121 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50125 if (type
== swig_module
.type_initial
[i
]) {
50126 #ifdef SWIGRUNTIME_DEBUG
50127 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50132 /* Check for casting already in the list */
50133 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50134 #ifdef SWIGRUNTIME_DEBUG
50135 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50137 if (!ocast
) ret
= 0;
50142 #ifdef SWIGRUNTIME_DEBUG
50143 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50146 type
->cast
->prev
= cast
;
50147 cast
->next
= type
->cast
;
50153 /* Set entry in modules->types array equal to the type */
50154 swig_module
.types
[i
] = type
;
50156 swig_module
.types
[i
] = 0;
50158 #ifdef SWIGRUNTIME_DEBUG
50159 printf("**** SWIG_InitializeModule: Cast List ******\n");
50160 for (i
= 0; i
< swig_module
.size
; ++i
) {
50162 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50163 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50164 while (cast
->type
) {
50165 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50169 printf("---- Total casts: %d\n",j
);
50171 printf("**** SWIG_InitializeModule: Cast List ******\n");
50175 /* This function will propagate the clientdata field of type to
50176 * any new swig_type_info structures that have been added into the list
50177 * of equivalent types. It is like calling
50178 * SWIG_TypeClientData(type, clientdata) a second time.
50181 SWIG_PropagateClientData(void) {
50183 swig_cast_info
*equiv
;
50184 static int init_run
= 0;
50186 if (init_run
) return;
50189 for (i
= 0; i
< swig_module
.size
; i
++) {
50190 if (swig_module
.types
[i
]->clientdata
) {
50191 equiv
= swig_module
.types
[i
]->cast
;
50193 if (!equiv
->converter
) {
50194 if (equiv
->type
&& !equiv
->type
->clientdata
)
50195 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50197 equiv
= equiv
->next
;
50217 /* Python-specific SWIG API */
50218 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50219 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50220 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50222 /* -----------------------------------------------------------------------------
50223 * global variable support code.
50224 * ----------------------------------------------------------------------------- */
50226 typedef struct swig_globalvar
{
50227 char *name
; /* Name of global variable */
50228 PyObject
*(*get_attr
)(void); /* Return the current value */
50229 int (*set_attr
)(PyObject
*); /* Set the value */
50230 struct swig_globalvar
*next
;
50233 typedef struct swig_varlinkobject
{
50235 swig_globalvar
*vars
;
50236 } swig_varlinkobject
;
50238 SWIGINTERN PyObject
*
50239 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50240 return PyString_FromString("<Swig global variables>");
50243 SWIGINTERN PyObject
*
50244 swig_varlink_str(swig_varlinkobject
*v
) {
50245 PyObject
*str
= PyString_FromString("(");
50246 swig_globalvar
*var
;
50247 for (var
= v
->vars
; var
; var
=var
->next
) {
50248 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50249 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50251 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50256 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50257 PyObject
*str
= swig_varlink_str(v
);
50258 fprintf(fp
,"Swig global variables ");
50259 fprintf(fp
,"%s\n", PyString_AsString(str
));
50265 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50266 swig_globalvar
*var
= v
->vars
;
50268 swig_globalvar
*n
= var
->next
;
50275 SWIGINTERN PyObject
*
50276 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50277 PyObject
*res
= NULL
;
50278 swig_globalvar
*var
= v
->vars
;
50280 if (strcmp(var
->name
,n
) == 0) {
50281 res
= (*var
->get_attr
)();
50286 if (res
== NULL
&& !PyErr_Occurred()) {
50287 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50293 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50295 swig_globalvar
*var
= v
->vars
;
50297 if (strcmp(var
->name
,n
) == 0) {
50298 res
= (*var
->set_attr
)(p
);
50303 if (res
== 1 && !PyErr_Occurred()) {
50304 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50309 SWIGINTERN PyTypeObject
*
50310 swig_varlink_type(void) {
50311 static char varlink__doc__
[] = "Swig var link object";
50312 static PyTypeObject varlink_type
;
50313 static int type_init
= 0;
50315 const PyTypeObject tmp
50317 PyObject_HEAD_INIT(NULL
)
50318 0, /* Number of items in variable part (ob_size) */
50319 (char *)"swigvarlink", /* Type name (tp_name) */
50320 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50321 0, /* Itemsize (tp_itemsize) */
50322 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50323 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50324 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50325 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50326 0, /* tp_compare */
50327 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50328 0, /* tp_as_number */
50329 0, /* tp_as_sequence */
50330 0, /* tp_as_mapping */
50333 (reprfunc
)swig_varlink_str
, /* tp_str */
50334 0, /* tp_getattro */
50335 0, /* tp_setattro */
50336 0, /* tp_as_buffer */
50338 varlink__doc__
, /* tp_doc */
50339 0, /* tp_traverse */
50341 0, /* tp_richcompare */
50342 0, /* tp_weaklistoffset */
50343 #if PY_VERSION_HEX >= 0x02020000
50344 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50346 #if PY_VERSION_HEX >= 0x02030000
50349 #ifdef COUNT_ALLOCS
50350 0,0,0,0 /* tp_alloc -> tp_next */
50353 varlink_type
= tmp
;
50354 varlink_type
.ob_type
= &PyType_Type
;
50357 return &varlink_type
;
50360 /* Create a variable linking object for use later */
50361 SWIGINTERN PyObject
*
50362 SWIG_Python_newvarlink(void) {
50363 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50367 return ((PyObject
*) result
);
50371 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50372 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50373 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50375 size_t size
= strlen(name
)+1;
50376 gv
->name
= (char *)malloc(size
);
50378 strncpy(gv
->name
,name
,size
);
50379 gv
->get_attr
= get_attr
;
50380 gv
->set_attr
= set_attr
;
50381 gv
->next
= v
->vars
;
50387 SWIGINTERN PyObject
*
50389 static PyObject
*_SWIG_globals
= 0;
50390 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50391 return _SWIG_globals
;
50394 /* -----------------------------------------------------------------------------
50395 * constants/methods manipulation
50396 * ----------------------------------------------------------------------------- */
50398 /* Install Constants */
50400 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50403 for (i
= 0; constants
[i
].type
; ++i
) {
50404 switch(constants
[i
].type
) {
50405 case SWIG_PY_POINTER
:
50406 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50408 case SWIG_PY_BINARY
:
50409 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50416 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50422 /* -----------------------------------------------------------------------------*/
50423 /* Fix SwigMethods to carry the callback ptrs when needed */
50424 /* -----------------------------------------------------------------------------*/
50427 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50428 swig_const_info
*const_table
,
50429 swig_type_info
**types
,
50430 swig_type_info
**types_initial
) {
50432 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50433 const char *c
= methods
[i
].ml_doc
;
50434 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50436 swig_const_info
*ci
= 0;
50437 const char *name
= c
+ 10;
50438 for (j
= 0; const_table
[j
].type
; ++j
) {
50439 if (strncmp(const_table
[j
].name
, name
,
50440 strlen(const_table
[j
].name
)) == 0) {
50441 ci
= &(const_table
[j
]);
50446 size_t shift
= (ci
->ptype
) - types
;
50447 swig_type_info
*ty
= types_initial
[shift
];
50448 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50449 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50450 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50453 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50455 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50457 strncpy(buff
, "swig_ptr: ", 10);
50459 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50460 methods
[i
].ml_doc
= ndoc
;
50472 /* -----------------------------------------------------------------------------*
50473 * Partial Init method
50474 * -----------------------------------------------------------------------------*/
50479 SWIGEXPORT
void SWIG_init(void) {
50482 /* Fix SwigMethods to carry the callback ptrs when needed */
50483 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50485 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50486 d
= PyModule_GetDict(m
);
50488 SWIG_InitializeModule(0);
50489 SWIG_InstallConstants(d
,swig_const_table
);
50492 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50493 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50494 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50495 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50496 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50497 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50498 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50499 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50500 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50501 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50502 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50503 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50504 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50505 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50506 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50507 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50508 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50509 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50510 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50511 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50512 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50513 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50514 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50515 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50516 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50517 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50518 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50519 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50520 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50521 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50522 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50523 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50524 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50525 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50526 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50527 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50528 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50529 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50530 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50531 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50532 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50533 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50534 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50535 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50536 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50537 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50538 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50539 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50540 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50541 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50542 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50543 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50544 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50545 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50546 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50547 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50548 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50549 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50550 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50551 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50552 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50553 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50554 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50555 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50556 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50557 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50558 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50559 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50560 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50561 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50562 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50563 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50564 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50565 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50570 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50571 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50572 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50573 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50574 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50575 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50576 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50577 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50578 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50579 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50580 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50581 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50582 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50583 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50584 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50585 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50586 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50587 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50588 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50589 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50590 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50591 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50592 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50593 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50594 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50595 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50596 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50597 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50598 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50599 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50600 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50601 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50602 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50603 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50604 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50605 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50606 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50607 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50608 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50609 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50610 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50611 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50612 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50613 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50614 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50615 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50616 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50617 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50618 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50619 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50620 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50621 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50622 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50623 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50624 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50625 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50626 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50627 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50628 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50629 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50630 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50631 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50632 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50633 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50634 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50635 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50636 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50637 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50644 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50645 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50646 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50647 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50648 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50649 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50650 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50651 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50652 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50653 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50654 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50655 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50656 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50657 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50658 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50659 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50660 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50661 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50662 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50663 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50664 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50665 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50666 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50667 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50668 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50669 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50670 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50671 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50672 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50673 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50674 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50675 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50676 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50677 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50678 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50679 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50680 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50681 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50682 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50683 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50684 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50685 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50686 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50687 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50688 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50689 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50690 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50691 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50692 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50693 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50694 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50695 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50696 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50697 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50698 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50699 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50700 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50701 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50702 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50703 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50704 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50705 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50706 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50707 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50708 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50709 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50710 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50711 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50712 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50713 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50714 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50715 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50716 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50717 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50718 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50719 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50720 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50721 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50722 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50723 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50724 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50725 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50726 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50727 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50728 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50729 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50730 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50731 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50732 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50733 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50734 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50735 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50736 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50737 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50738 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50739 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50740 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50741 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50742 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50743 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50745 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50746 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50747 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50748 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50749 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50750 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50754 // Map renamed classes back to their common name for OOR
50755 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50757 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50758 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50759 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50760 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50761 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50762 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50763 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50764 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50765 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50766 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50767 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50768 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50769 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50770 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50771 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50772 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50773 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50774 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50775 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50776 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50777 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50778 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50779 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50780 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50781 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50782 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50783 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50784 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50785 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50786 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50787 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50788 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50789 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50790 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50794 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50795 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50797 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50799 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50812 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50814 // Map renamed classes back to their common name for OOR
50815 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50816 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50818 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50819 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50820 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50821 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50822 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50823 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50824 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50825 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50826 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50827 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50828 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50830 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50832 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50833 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50834 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50835 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50836 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50837 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50838 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50839 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50840 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50841 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50842 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50843 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50844 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50845 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50846 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50847 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50848 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50849 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50850 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50851 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50852 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50853 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50854 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50855 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50856 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50857 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50858 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50859 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50860 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50861 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50862 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50863 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50864 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50865 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50866 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50867 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50868 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50869 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50870 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50871 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50872 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50873 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50874 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50875 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50876 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50877 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50878 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50879 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50880 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50881 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));