1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6188 long *arg2
= (long *) 0 ;
6189 long *arg3
= (long *) 0 ;
6193 int res2
= SWIG_TMPOBJ
;
6195 int res3
= SWIG_TMPOBJ
;
6196 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->GetSelection(arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2
)) {
6215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6220 if (SWIG_IsTmpObj(res3
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6246 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast< int >(result
));
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6263 wxString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6312 wxString
*arg3
= 0 ;
6317 bool temp3
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6335 arg2
= static_cast< int >(val2
);
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxGauge
*arg1
= (wxGauge
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "w", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7272 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetShadowWidth(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7305 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int(static_cast< int >(result
));
7319 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxGauge
*arg1
= (wxGauge
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "w", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7338 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7340 if (!SWIG_IsOK(ecode2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7343 arg2
= static_cast< int >(val2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetBezelFace(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxGauge
*arg1
= (wxGauge
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7371 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7388 SwigValueWrapper
<wxVisualAttributes
> result
;
7391 PyObject
* obj0
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "variant", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7399 if (!SWIG_IsOK(ecode1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7402 arg1
= static_cast< wxWindowVariant
>(val1
);
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7418 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7422 return SWIG_Py_Void();
7425 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 return SWIG_Python_InitShadowInstance(args
);
7429 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7430 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7435 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7436 PyObject
*pyobj
= 0;
7440 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7442 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7449 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7450 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7455 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7456 PyObject
*pyobj
= 0;
7460 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7462 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7469 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7470 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7475 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7476 PyObject
*pyobj
= 0;
7480 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7482 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7489 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
= 0;
7491 wxWindow
*arg1
= (wxWindow
*) 0 ;
7492 int arg2
= (int) -1 ;
7493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7499 long arg6
= (long) 0 ;
7500 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7502 wxStaticBox
*result
= 0 ;
7507 bool temp3
= false ;
7512 bool temp7
= false ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 PyObject
* obj2
= 0 ;
7516 PyObject
* obj3
= 0 ;
7517 PyObject
* obj4
= 0 ;
7518 PyObject
* obj5
= 0 ;
7519 PyObject
* obj6
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7532 if (!SWIG_IsOK(ecode2
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7535 arg2
= static_cast< int >(val2
);
7539 arg3
= wxString_in_helper(obj2
);
7540 if (arg3
== NULL
) SWIG_fail
;
7547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7558 if (!SWIG_IsOK(ecode6
)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7561 arg6
= static_cast< long >(val6
);
7565 arg7
= wxString_in_helper(obj6
);
7566 if (arg7
== NULL
) SWIG_fail
;
7571 if (!wxPyCheckForApp()) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7600 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 PyObject
*resultobj
= 0;
7602 wxStaticBox
*result
= 0 ;
7604 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7606 if (!wxPyCheckForApp()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxStaticBox
*)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7619 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
= 0;
7621 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7622 wxWindow
*arg2
= (wxWindow
*) 0 ;
7623 int arg3
= (int) -1 ;
7624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7628 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7629 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7630 long arg7
= (long) 0 ;
7631 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7632 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7640 bool temp4
= false ;
7645 bool temp8
= false ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 PyObject
* obj4
= 0 ;
7651 PyObject
* obj5
= 0 ;
7652 PyObject
* obj6
= 0 ;
7653 PyObject
* obj7
= 0 ;
7654 char * kwnames
[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7663 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7665 if (!SWIG_IsOK(res2
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7671 if (!SWIG_IsOK(ecode3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7674 arg3
= static_cast< int >(val3
);
7678 arg4
= wxString_in_helper(obj3
);
7679 if (arg4
== NULL
) SWIG_fail
;
7686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7696 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7697 if (!SWIG_IsOK(ecode7
)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7700 arg7
= static_cast< long >(val7
);
7704 arg8
= wxString_in_helper(obj7
);
7705 if (arg8
== NULL
) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7740 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7743 SwigValueWrapper
<wxVisualAttributes
> result
;
7746 PyObject
* obj0
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "variant", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7754 if (!SWIG_IsOK(ecode1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7757 arg1
= static_cast< wxWindowVariant
>(val1
);
7760 if (!wxPyCheckForApp()) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7773 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7777 return SWIG_Py_Void();
7780 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 return SWIG_Python_InitShadowInstance(args
);
7784 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxWindow
*arg1
= (wxWindow
*) 0 ;
7787 int arg2
= (int) -1 ;
7788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7792 long arg5
= (long) wxLI_HORIZONTAL
;
7793 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7795 wxStaticLine
*result
= 0 ;
7804 bool temp6
= false ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 PyObject
* obj2
= 0 ;
7808 PyObject
* obj3
= 0 ;
7809 PyObject
* obj4
= 0 ;
7810 PyObject
* obj5
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7823 if (!SWIG_IsOK(ecode2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7826 arg2
= static_cast< int >(val2
);
7831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7841 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7842 if (!SWIG_IsOK(ecode5
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7845 arg5
= static_cast< long >(val5
);
7849 arg6
= wxString_in_helper(obj5
);
7850 if (arg6
== NULL
) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7876 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 PyObject
*resultobj
= 0;
7878 wxStaticLine
*result
= 0 ;
7880 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxStaticLine
*)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7895 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7898 wxWindow
*arg2
= (wxWindow
*) 0 ;
7899 int arg3
= (int) -1 ;
7900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7904 long arg6
= (long) wxLI_HORIZONTAL
;
7905 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7918 bool temp7
= false ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7923 PyObject
* obj4
= 0 ;
7924 PyObject
* obj5
= 0 ;
7925 PyObject
* obj6
= 0 ;
7926 char * kwnames
[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7932 if (!SWIG_IsOK(res1
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7935 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7937 if (!SWIG_IsOK(res2
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7943 if (!SWIG_IsOK(ecode3
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7946 arg3
= static_cast< int >(val3
);
7951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7961 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7962 if (!SWIG_IsOK(ecode6
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7965 arg6
= static_cast< long >(val6
);
7969 arg7
= wxString_in_helper(obj6
);
7970 if (arg7
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7997 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8003 PyObject
*swig_obj
[1] ;
8005 if (!args
) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8011 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8027 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8031 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_From_int(static_cast< int >(result
));
8045 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8048 SwigValueWrapper
<wxVisualAttributes
> result
;
8051 PyObject
* obj0
= 0 ;
8052 char * kwnames
[] = {
8053 (char *) "variant", NULL
8056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8059 if (!SWIG_IsOK(ecode1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8062 arg1
= static_cast< wxWindowVariant
>(val1
);
8065 if (!wxPyCheckForApp()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8078 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8082 return SWIG_Py_Void();
8085 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 return SWIG_Python_InitShadowInstance(args
);
8089 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxWindow
*arg1
= (wxWindow
*) 0 ;
8092 int arg2
= (int) -1 ;
8093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8099 long arg6
= (long) 0 ;
8100 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8102 wxStaticText
*result
= 0 ;
8107 bool temp3
= false ;
8112 bool temp7
= false ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 PyObject
* obj3
= 0 ;
8117 PyObject
* obj4
= 0 ;
8118 PyObject
* obj5
= 0 ;
8119 PyObject
* obj6
= 0 ;
8120 char * kwnames
[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8129 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8132 if (!SWIG_IsOK(ecode2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8135 arg2
= static_cast< int >(val2
);
8139 arg3
= wxString_in_helper(obj2
);
8140 if (arg3
== NULL
) SWIG_fail
;
8147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8157 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8158 if (!SWIG_IsOK(ecode6
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8161 arg6
= static_cast< long >(val6
);
8165 arg7
= wxString_in_helper(obj6
);
8166 if (arg7
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8200 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxStaticText
*result
= 0 ;
8204 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8206 if (!wxPyCheckForApp()) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxStaticText
*)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8219 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8222 wxWindow
*arg2
= (wxWindow
*) 0 ;
8223 int arg3
= (int) -1 ;
8224 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8225 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8226 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8227 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8228 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8229 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8230 long arg7
= (long) 0 ;
8231 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8240 bool temp4
= false ;
8245 bool temp8
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8249 PyObject
* obj3
= 0 ;
8250 PyObject
* obj4
= 0 ;
8251 PyObject
* obj5
= 0 ;
8252 PyObject
* obj6
= 0 ;
8253 PyObject
* obj7
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8263 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8265 if (!SWIG_IsOK(res2
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8271 if (!SWIG_IsOK(ecode3
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8274 arg3
= static_cast< int >(val3
);
8278 arg4
= wxString_in_helper(obj3
);
8279 if (arg4
== NULL
) SWIG_fail
;
8286 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8292 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8297 if (!SWIG_IsOK(ecode7
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8300 arg7
= static_cast< long >(val7
);
8304 arg8
= wxString_in_helper(obj7
);
8305 if (arg8
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 char * kwnames
[] = {
8351 (char *) "self",(char *) "width", NULL
8354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8356 if (!SWIG_IsOK(res1
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8359 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8361 if (!SWIG_IsOK(ecode2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8364 arg2
= static_cast< int >(val2
);
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_Py_Void();
8378 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= 0;
8380 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8381 SwigValueWrapper
<wxVisualAttributes
> result
;
8384 PyObject
* obj0
= 0 ;
8385 char * kwnames
[] = {
8386 (char *) "variant", NULL
8389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8392 if (!SWIG_IsOK(ecode1
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8395 arg1
= static_cast< wxWindowVariant
>(val1
);
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8411 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8415 return SWIG_Py_Void();
8418 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 return SWIG_Python_InitShadowInstance(args
);
8422 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxWindow
*arg1
= (wxWindow
*) 0 ;
8425 int arg2
= (int) -1 ;
8426 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8427 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8432 long arg6
= (long) 0 ;
8433 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8435 wxStaticBitmap
*result
= 0 ;
8446 bool temp7
= false ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8449 PyObject
* obj2
= 0 ;
8450 PyObject
* obj3
= 0 ;
8451 PyObject
* obj4
= 0 ;
8452 PyObject
* obj5
= 0 ;
8453 PyObject
* obj6
= 0 ;
8454 char * kwnames
[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8466 if (!SWIG_IsOK(ecode2
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8469 arg2
= static_cast< int >(val2
);
8472 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8473 if (!SWIG_IsOK(res3
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8479 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8495 if (!SWIG_IsOK(ecode6
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8498 arg6
= static_cast< long >(val6
);
8502 arg7
= wxString_in_helper(obj6
);
8503 if (arg7
== NULL
) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8529 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxStaticBitmap
*result
= 0 ;
8533 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8535 if (!wxPyCheckForApp()) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8548 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8551 wxWindow
*arg2
= (wxWindow
*) 0 ;
8552 int arg3
= (int) -1 ;
8553 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8554 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8555 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8556 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8557 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8558 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8559 long arg7
= (long) 0 ;
8560 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8561 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8575 bool temp8
= false ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8579 PyObject
* obj3
= 0 ;
8580 PyObject
* obj4
= 0 ;
8581 PyObject
* obj5
= 0 ;
8582 PyObject
* obj6
= 0 ;
8583 PyObject
* obj7
= 0 ;
8584 char * kwnames
[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8590 if (!SWIG_IsOK(res1
)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8593 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8595 if (!SWIG_IsOK(res2
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8601 if (!SWIG_IsOK(ecode3
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8604 arg3
= static_cast< int >(val3
);
8607 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8608 if (!SWIG_IsOK(res4
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8614 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8629 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8630 if (!SWIG_IsOK(ecode7
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8633 arg7
= static_cast< long >(val7
);
8637 arg8
= wxString_in_helper(obj7
);
8638 if (arg8
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8671 PyObject
*swig_obj
[1] ;
8673 if (!args
) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8679 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (arg1
)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8693 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8696 wxBitmap
*arg2
= 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 char * kwnames
[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8709 if (!SWIG_IsOK(res1
)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8712 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8714 if (!SWIG_IsOK(res2
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 char * kwnames
[] = {
8745 (char *) "self",(char *) "icon", NULL
8748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8750 if (!SWIG_IsOK(res1
)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8753 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8755 if (!SWIG_IsOK(res2
)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8761 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_Py_Void();
8775 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
= 0;
8777 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8778 SwigValueWrapper
<wxVisualAttributes
> result
;
8781 PyObject
* obj0
= 0 ;
8782 char * kwnames
[] = {
8783 (char *) "variant", NULL
8786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8789 if (!SWIG_IsOK(ecode1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8792 arg1
= static_cast< wxWindowVariant
>(val1
);
8795 if (!wxPyCheckForApp()) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8808 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8812 return SWIG_Py_Void();
8815 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8816 return SWIG_Python_InitShadowInstance(args
);
8819 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8820 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8825 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8826 PyObject
*pyobj
= 0;
8830 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8832 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8839 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxWindow
*arg1
= (wxWindow
*) 0 ;
8842 int arg2
= (int) -1 ;
8843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8847 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8848 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8849 long arg6
= (long) 0 ;
8850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8852 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8854 wxListBox
*result
= 0 ;
8861 bool temp5
= false ;
8866 bool temp8
= false ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 PyObject
* obj3
= 0 ;
8871 PyObject
* obj4
= 0 ;
8872 PyObject
* obj5
= 0 ;
8873 PyObject
* obj6
= 0 ;
8874 PyObject
* obj7
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8887 if (!SWIG_IsOK(ecode2
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8890 arg2
= static_cast< int >(val2
);
8895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8906 if (! PySequence_Check(obj4
)) {
8907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8910 arg5
= new wxArrayString
;
8912 int i
, len
=PySequence_Length(obj4
);
8913 for (i
=0; i
<len
; i
++) {
8914 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8915 wxString
* s
= wxString_in_helper(item
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8924 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8925 if (!SWIG_IsOK(ecode6
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8928 arg6
= static_cast< long >(val6
);
8931 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8932 if (!SWIG_IsOK(res7
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8938 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8942 arg8
= wxString_in_helper(obj7
);
8943 if (arg8
== NULL
) SWIG_fail
;
8948 if (!wxPyCheckForApp()) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8956 if (temp5
) delete arg5
;
8965 if (temp5
) delete arg5
;
8975 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxListBox
*result
= 0 ;
8979 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8981 if (!wxPyCheckForApp()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (wxListBox
*)new wxListBox();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxListBox
*arg1
= (wxListBox
*) 0 ;
8997 wxWindow
*arg2
= (wxWindow
*) 0 ;
8998 int arg3
= (int) -1 ;
8999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9003 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9004 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9005 long arg7
= (long) 0 ;
9006 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9007 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9008 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9009 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9019 bool temp6
= false ;
9024 bool temp9
= false ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 PyObject
* obj5
= 0 ;
9031 PyObject
* obj6
= 0 ;
9032 PyObject
* obj7
= 0 ;
9033 PyObject
* obj8
= 0 ;
9034 char * kwnames
[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9043 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9045 if (!SWIG_IsOK(res2
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9051 if (!SWIG_IsOK(ecode3
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9054 arg3
= static_cast< int >(val3
);
9059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9070 if (! PySequence_Check(obj5
)) {
9071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9074 arg6
= new wxArrayString
;
9076 int i
, len
=PySequence_Length(obj5
);
9077 for (i
=0; i
<len
; i
++) {
9078 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9079 wxString
* s
= wxString_in_helper(item
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9088 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9089 if (!SWIG_IsOK(ecode7
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9092 arg7
= static_cast< long >(val7
);
9095 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9096 if (!SWIG_IsOK(res8
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9102 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9106 arg9
= wxString_in_helper(obj8
);
9107 if (arg9
== NULL
) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9121 if (temp6
) delete arg6
;
9130 if (temp6
) delete arg6
;
9140 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxListBox
*arg1
= (wxListBox
*) 0 ;
9143 wxString
*arg2
= 0 ;
9145 PyObject
*arg4
= (PyObject
*) NULL
;
9148 bool temp2
= false ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 PyObject
* obj3
= 0 ;
9155 char * kwnames
[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9164 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9166 arg2
= wxString_in_helper(obj1
);
9167 if (arg2
== NULL
) SWIG_fail
;
9170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9171 if (!SWIG_IsOK(ecode3
)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9174 arg3
= static_cast< int >(val3
);
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_Py_Void();
9199 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxListBox
*arg1
= (wxListBox
*) 0 ;
9202 wxArrayString
*arg2
= 0 ;
9206 bool temp2
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 char * kwnames
[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9218 if (!SWIG_IsOK(res1
)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9221 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9223 if (! PySequence_Check(obj1
)) {
9224 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9227 arg2
= new wxArrayString
;
9229 int i
, len
=PySequence_Length(obj1
);
9230 for (i
=0; i
<len
; i
++) {
9231 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9232 wxString
* s
= wxString_in_helper(item
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9239 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9243 arg3
= static_cast< unsigned int >(val3
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_Py_Void();
9252 if (temp2
) delete arg2
;
9257 if (temp2
) delete arg2
;
9263 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxListBox
*arg1
= (wxListBox
*) 0 ;
9266 wxArrayString
*arg2
= 0 ;
9269 bool temp2
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "items", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9281 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9283 if (! PySequence_Check(obj1
)) {
9284 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9287 arg2
= new wxArrayString
;
9289 int i
, len
=PySequence_Length(obj1
);
9290 for (i
=0; i
<len
; i
++) {
9291 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9292 wxString
* s
= wxString_in_helper(item
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 (arg1
)->Set((wxArrayString
const &)*arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9307 if (temp2
) delete arg2
;
9312 if (temp2
) delete arg2
;
9318 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
= 0;
9320 wxListBox
*arg1
= (wxListBox
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 char * kwnames
[] = {
9330 (char *) "self",(char *) "n", NULL
9333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9338 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9340 if (!SWIG_IsOK(ecode2
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9343 arg2
= static_cast< int >(val2
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxListBox
*arg1
= (wxListBox
*) 0 ;
9363 bool arg3
= (bool) true ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9382 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9384 if (!SWIG_IsOK(ecode2
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9387 arg2
= static_cast< int >(val2
);
9389 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9390 if (!SWIG_IsOK(ecode3
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9393 arg3
= static_cast< bool >(val3
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetSelection(arg2
,arg3
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_Py_Void();
9408 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxListBox
*arg1
= (wxListBox
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "n", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9427 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->Select(arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxListBox
*arg1
= (wxListBox
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "n", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9465 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9467 if (!SWIG_IsOK(ecode2
)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9470 arg2
= static_cast< int >(val2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->Deselect(arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxListBox
*arg1
= (wxListBox
*) 0 ;
9487 int arg2
= (int) -1 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9503 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9506 if (!SWIG_IsOK(ecode2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9509 arg2
= static_cast< int >(val2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->DeselectAll(arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxListBox
*arg1
= (wxListBox
*) 0 ;
9527 wxString
*arg2
= 0 ;
9528 bool arg3
= (bool) true ;
9532 bool temp2
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9555 if (!SWIG_IsOK(ecode3
)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9558 arg3
= static_cast< bool >(val3
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxListBox
*arg1
= (wxListBox
*) 0 ;
9586 PyObject
*result
= 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9597 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9611 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
= 0;
9613 wxListBox
*arg1
= (wxListBox
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 char * kwnames
[] = {
9622 (char *) "self",(char *) "n", NULL
9625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9630 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9632 if (!SWIG_IsOK(ecode2
)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9635 arg2
= static_cast< int >(val2
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SetFirstItem(arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_Py_Void();
9649 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= 0;
9651 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 wxString
*arg2
= 0 ;
9655 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 char * kwnames
[] = {
9659 (char *) "self",(char *) "s", NULL
9662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9667 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_Py_Void();
9694 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxListBox
*arg1
= (wxListBox
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "n", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9713 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9715 if (!SWIG_IsOK(ecode2
)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9718 arg2
= static_cast< int >(val2
);
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->EnsureVisible(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9732 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9735 wxString
*arg2
= 0 ;
9738 bool temp2
= false ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 char * kwnames
[] = {
9742 (char *) "self",(char *) "s", NULL
9745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9750 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9752 arg2
= wxString_in_helper(obj1
);
9753 if (arg2
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_Py_Void();
9777 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9778 PyObject
*resultobj
= 0;
9779 wxListBox
*arg1
= (wxListBox
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9791 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxListBox
*arg1
= (wxListBox
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 char * kwnames
[] = {
9818 (char *) "self",(char *) "pt", NULL
9821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9826 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_From_int(static_cast< int >(result
));
9844 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxListBox
*arg1
= (wxListBox
*) 0 ;
9848 wxColour
*arg3
= 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 PyObject
* obj2
= 0 ;
9857 char * kwnames
[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9863 if (!SWIG_IsOK(res1
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9866 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9868 if (!SWIG_IsOK(ecode2
)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9871 arg2
= static_cast< int >(val2
);
9874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_Py_Void();
9889 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= 0;
9891 wxListBox
*arg1
= (wxListBox
*) 0 ;
9893 wxColour
*arg3
= 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 char * kwnames
[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9911 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9913 if (!SWIG_IsOK(ecode2
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9916 arg2
= static_cast< int >(val2
);
9919 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxListBox
*arg1
= (wxListBox
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 char * kwnames
[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9957 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9959 if (!SWIG_IsOK(ecode2
)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9962 arg2
= static_cast< int >(val2
);
9963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9964 if (!SWIG_IsOK(res3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9970 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_Py_Void();
9984 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= 0;
9986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9987 SwigValueWrapper
<wxVisualAttributes
> result
;
9990 PyObject
* obj0
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "variant", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9998 if (!SWIG_IsOK(ecode1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10001 arg1
= static_cast< wxWindowVariant
>(val1
);
10004 if (!wxPyCheckForApp()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10017 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10021 return SWIG_Py_Void();
10024 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10025 return SWIG_Python_InitShadowInstance(args
);
10028 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxWindow
*arg1
= (wxWindow
*) 0 ;
10031 int arg2
= (int) -1 ;
10032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10036 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10037 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10038 long arg6
= (long) 0 ;
10039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10041 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10043 wxCheckListBox
*result
= 0 ;
10050 bool temp5
= false ;
10055 bool temp8
= false ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 PyObject
* obj2
= 0 ;
10059 PyObject
* obj3
= 0 ;
10060 PyObject
* obj4
= 0 ;
10061 PyObject
* obj5
= 0 ;
10062 PyObject
* obj6
= 0 ;
10063 PyObject
* obj7
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10076 if (!SWIG_IsOK(ecode2
)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10079 arg2
= static_cast< int >(val2
);
10084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10095 if (! PySequence_Check(obj4
)) {
10096 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10099 arg5
= new wxArrayString
;
10101 int i
, len
=PySequence_Length(obj4
);
10102 for (i
=0; i
<len
; i
++) {
10103 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10104 wxString
* s
= wxString_in_helper(item
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10114 if (!SWIG_IsOK(ecode6
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10117 arg6
= static_cast< long >(val6
);
10120 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10121 if (!SWIG_IsOK(res7
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10127 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10131 arg8
= wxString_in_helper(obj7
);
10132 if (arg8
== NULL
) SWIG_fail
;
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10145 if (temp5
) delete arg5
;
10154 if (temp5
) delete arg5
;
10164 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxCheckListBox
*result
= 0 ;
10168 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10170 if (!wxPyCheckForApp()) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (wxCheckListBox
*)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10183 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10186 wxWindow
*arg2
= (wxWindow
*) 0 ;
10187 int arg3
= (int) -1 ;
10188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10192 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10193 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10194 long arg7
= (long) 0 ;
10195 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10196 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10197 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10198 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10208 bool temp6
= false ;
10213 bool temp9
= false ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 PyObject
* obj2
= 0 ;
10217 PyObject
* obj3
= 0 ;
10218 PyObject
* obj4
= 0 ;
10219 PyObject
* obj5
= 0 ;
10220 PyObject
* obj6
= 0 ;
10221 PyObject
* obj7
= 0 ;
10222 PyObject
* obj8
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10232 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res2
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10240 if (!SWIG_IsOK(ecode3
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10243 arg3
= static_cast< int >(val3
);
10248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10259 if (! PySequence_Check(obj5
)) {
10260 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10263 arg6
= new wxArrayString
;
10265 int i
, len
=PySequence_Length(obj5
);
10266 for (i
=0; i
<len
; i
++) {
10267 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10268 wxString
* s
= wxString_in_helper(item
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10277 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10278 if (!SWIG_IsOK(ecode7
)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10281 arg7
= static_cast< long >(val7
);
10284 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10285 if (!SWIG_IsOK(res8
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10291 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10295 arg9
= wxString_in_helper(obj8
);
10296 if (arg9
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 if (temp6
) delete arg6
;
10319 if (temp6
) delete arg6
;
10329 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10332 unsigned int arg2
;
10336 unsigned int val2
;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "index", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10349 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10350 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10354 arg2
= static_cast< unsigned int >(val2
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)(arg1
)->IsChecked(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10373 unsigned int arg2
;
10374 int arg3
= (int) true ;
10377 unsigned int val2
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10393 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10394 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10395 if (!SWIG_IsOK(ecode2
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10398 arg2
= static_cast< unsigned int >(val2
);
10400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10401 if (!SWIG_IsOK(ecode3
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10404 arg3
= static_cast< int >(val3
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->Check(arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_Py_Void();
10419 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10433 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)(arg1
)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_int(static_cast< int >(result
));
10447 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10451 return SWIG_Py_Void();
10454 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10455 return SWIG_Python_InitShadowInstance(args
);
10458 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10459 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10464 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10465 PyObject
*pyobj
= 0;
10469 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10471 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10478 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxColour
const &arg1_defvalue
= wxNullColour
;
10481 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10482 wxColour
const &arg2_defvalue
= wxNullColour
;
10483 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10484 wxFont
const &arg3_defvalue
= wxNullFont
;
10485 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10486 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10487 wxTextAttr
*result
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10506 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10516 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10517 if (!SWIG_IsOK(res3
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10523 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10527 if (!SWIG_IsOK(ecode4
)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10530 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10545 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_Py_Void();
10600 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxTextAttr
*arg1
= 0 ;
10603 wxTextAttr
*arg2
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "base",(char *) "overlay", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10623 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10631 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10645 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10648 wxColour
*arg2
= 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char * kwnames
[] = {
10655 (char *) "self",(char *) "colText", NULL
10658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10684 wxColour
*arg2
= 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "colBack", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10699 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_Py_Void();
10717 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10721 long arg3
= (long) wxTEXT_ATTR_FONT
;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 PyObject
* obj2
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10740 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10742 if (!SWIG_IsOK(res2
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10750 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10751 if (!SWIG_IsOK(ecode3
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10754 arg3
= static_cast< long >(val3
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_Py_Void();
10769 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10772 wxTextAttrAlignment arg2
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "alignment", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10788 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10793 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetAlignment(arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10810 wxArrayInt
*arg2
= 0 ;
10813 bool temp2
= false ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "tabs", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10825 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 if (! PySequence_Check(obj1
)) {
10828 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10831 arg2
= new wxArrayInt
;
10833 int i
, len
=PySequence_Length(obj1
);
10834 for (i
=0; i
<len
; i
++) {
10835 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10836 PyObject
* number
= PyNumber_Int(item
);
10837 arg2
->Add(PyInt_AS_LONG(number
));
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_Py_Void();
10850 if (temp2
) delete arg2
;
10855 if (temp2
) delete arg2
;
10861 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 int arg3
= (int) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10884 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetLeftIndent(arg2
,arg3
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_Py_Void();
10910 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
= 0;
10912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 char * kwnames
[] = {
10921 (char *) "self",(char *) "indent", NULL
10924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10929 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10931 if (!SWIG_IsOK(ecode2
)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10934 arg2
= static_cast< int >(val2
);
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->SetRightIndent(arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_Py_Void();
10948 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
= 0;
10950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 char * kwnames
[] = {
10959 (char *) "self",(char *) "flags", NULL
10962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10964 if (!SWIG_IsOK(res1
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10967 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10969 if (!SWIG_IsOK(ecode2
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10972 arg2
= static_cast< long >(val2
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->SetFlags(arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_Py_Void();
10986 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10992 PyObject
*swig_obj
[1] ;
10994 if (!args
) SWIG_fail
;
10995 swig_obj
[0] = args
;
10996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10997 if (!SWIG_IsOK(res1
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11000 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11017 PyObject
*resultobj
= 0;
11018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11022 PyObject
*swig_obj
[1] ;
11024 if (!args
) SWIG_fail
;
11025 swig_obj
[0] = args
;
11026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11030 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11047 PyObject
*resultobj
= 0;
11048 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11052 PyObject
*swig_obj
[1] ;
11054 if (!args
) SWIG_fail
;
11055 swig_obj
[0] = args
;
11056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11060 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11077 PyObject
*resultobj
= 0;
11078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11082 PyObject
*swig_obj
[1] ;
11084 if (!args
) SWIG_fail
;
11085 swig_obj
[0] = args
;
11086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11090 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11107 PyObject
*resultobj
= 0;
11108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11112 PyObject
*swig_obj
[1] ;
11114 if (!args
) SWIG_fail
;
11115 swig_obj
[0] = args
;
11116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11120 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11137 PyObject
*resultobj
= 0;
11138 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11142 PyObject
*swig_obj
[1] ;
11144 if (!args
) SWIG_fail
;
11145 swig_obj
[0] = args
;
11146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11150 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "flag", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11216 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11218 if (!SWIG_IsOK(ecode2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11221 arg2
= static_cast< long >(val2
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxColour
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11287 result
= (wxColour
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11299 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11300 PyObject
*resultobj
= 0;
11301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11302 wxFont
*result
= 0 ;
11305 PyObject
*swig_obj
[1] ;
11307 if (!args
) SWIG_fail
;
11308 swig_obj
[0] = args
;
11309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11313 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11318 result
= (wxFont
*) &_result_ref
;
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 wxFont
* resultptr
= new wxFont(*result
);
11325 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11333 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 wxTextAttrAlignment result
;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11347 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int(static_cast< int >(result
));
11361 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11364 wxArrayInt
*result
= 0 ;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11375 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11380 result
= (wxArrayInt
*) &_result_ref
;
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= wxArrayInt2PyList_helper(*result
);
11394 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11400 PyObject
*swig_obj
[1] ;
11402 if (!args
) SWIG_fail
;
11403 swig_obj
[0] = args
;
11404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11408 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_long(static_cast< long >(result
));
11422 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11424 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11428 PyObject
*swig_obj
[1] ;
11430 if (!args
) SWIG_fail
;
11431 swig_obj
[0] = args
;
11432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11436 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_From_long(static_cast< long >(result
));
11450 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11451 PyObject
*resultobj
= 0;
11452 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11456 PyObject
*swig_obj
[1] ;
11458 if (!args
) SWIG_fail
;
11459 swig_obj
[0] = args
;
11460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11464 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_From_long(static_cast< long >(result
));
11478 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 PyObject
*resultobj
= 0;
11480 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11484 PyObject
*swig_obj
[1] ;
11486 if (!args
) SWIG_fail
;
11487 swig_obj
[0] = args
;
11488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11492 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_From_long(static_cast< long >(result
));
11506 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11508 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11512 PyObject
*swig_obj
[1] ;
11514 if (!args
) SWIG_fail
;
11515 swig_obj
[0] = args
;
11516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11520 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11536 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxTextAttr
*arg1
= 0 ;
11539 wxTextAttr
*arg2
= 0 ;
11540 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 char * kwnames
[] = {
11552 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11563 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11565 if (!SWIG_IsOK(res2
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11571 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11573 if (!SWIG_IsOK(res3
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11576 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11590 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11594 return SWIG_Py_Void();
11597 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 return SWIG_Python_InitShadowInstance(args
);
11601 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxWindow
*arg1
= (wxWindow
*) 0 ;
11604 int arg2
= (int) -1 ;
11605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11611 long arg6
= (long) 0 ;
11612 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11613 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11614 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11615 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11616 wxTextCtrl
*result
= 0 ;
11621 bool temp3
= false ;
11628 bool temp8
= false ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 PyObject
* obj2
= 0 ;
11632 PyObject
* obj3
= 0 ;
11633 PyObject
* obj4
= 0 ;
11634 PyObject
* obj5
= 0 ;
11635 PyObject
* obj6
= 0 ;
11636 PyObject
* obj7
= 0 ;
11637 char * kwnames
[] = {
11638 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11649 if (!SWIG_IsOK(ecode2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11652 arg2
= static_cast< int >(val2
);
11656 arg3
= wxString_in_helper(obj2
);
11657 if (arg3
== NULL
) SWIG_fail
;
11664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11675 if (!SWIG_IsOK(ecode6
)) {
11676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11678 arg6
= static_cast< long >(val6
);
11681 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11682 if (!SWIG_IsOK(res7
)) {
11683 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11688 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11692 arg8
= wxString_in_helper(obj7
);
11693 if (arg8
== NULL
) SWIG_fail
;
11698 if (!wxPyCheckForApp()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11727 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxTextCtrl
*result
= 0 ;
11731 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11733 if (!wxPyCheckForApp()) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxTextCtrl
*)new wxTextCtrl();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11746 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
= 0;
11748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11749 wxWindow
*arg2
= (wxWindow
*) 0 ;
11750 int arg3
= (int) -1 ;
11751 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11752 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11753 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11754 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11755 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11756 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11757 long arg7
= (long) 0 ;
11758 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11759 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11760 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11761 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11769 bool temp4
= false ;
11776 bool temp9
= false ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 PyObject
* obj7
= 0 ;
11785 PyObject
* obj8
= 0 ;
11786 char * kwnames
[] = {
11787 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11792 if (!SWIG_IsOK(res1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11797 if (!SWIG_IsOK(res2
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11803 if (!SWIG_IsOK(ecode3
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11806 arg3
= static_cast< int >(val3
);
11810 arg4
= wxString_in_helper(obj3
);
11811 if (arg4
== NULL
) SWIG_fail
;
11818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11828 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11829 if (!SWIG_IsOK(ecode7
)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11832 arg7
= static_cast< long >(val7
);
11835 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11836 if (!SWIG_IsOK(res8
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11842 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11846 arg9
= wxString_in_helper(obj8
);
11847 if (arg9
== NULL
) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11882 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11883 PyObject
*resultobj
= 0;
11884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11888 PyObject
*swig_obj
[1] ;
11890 if (!args
) SWIG_fail
;
11891 swig_obj
[0] = args
;
11892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11896 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11916 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11919 wxString
*arg2
= 0 ;
11922 bool temp2
= false ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char * kwnames
[] = {
11926 (char *) "self",(char *) "value", NULL
11929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11934 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11936 arg2
= wxString_in_helper(obj1
);
11937 if (arg2
== NULL
) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->SetValue((wxString
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_Py_Void();
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11975 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11994 wxString
*arg2
= 0 ;
11997 bool temp2
= false ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char * kwnames
[] = {
12001 (char *) "self",(char *) "value", NULL
12004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12009 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 arg2
= wxString_in_helper(obj1
);
12012 if (arg2
== NULL
) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_Py_Void();
12036 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 PyObject
* obj2
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "from",(char *) "to", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12065 arg2
= static_cast< long >(val2
);
12066 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12067 if (!SWIG_IsOK(ecode3
)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12070 arg3
= static_cast< long >(val3
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "lineNo", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12110 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12112 if (!SWIG_IsOK(ecode2
)) {
12113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12115 arg2
= static_cast< long >(val2
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "lineNo", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12151 if (!SWIG_IsOK(ecode2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12154 arg2
= static_cast< long >(val2
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12174 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12188 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12216 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 PyObject
*resultobj
= 0;
12264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12268 PyObject
*swig_obj
[1] ;
12270 if (!args
) SWIG_fail
;
12271 swig_obj
[0] = args
;
12272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12273 if (!SWIG_IsOK(res1
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12276 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 PyObject
*resultobj
= 0;
12294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12298 PyObject
*swig_obj
[1] ;
12300 if (!args
) SWIG_fail
;
12301 swig_obj
[0] = args
;
12302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12303 if (!SWIG_IsOK(res1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12325 long *arg2
= (long *) 0 ;
12326 long *arg3
= (long *) 0 ;
12330 int res2
= SWIG_TMPOBJ
;
12332 int res3
= SWIG_TMPOBJ
;
12333 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12343 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_Py_Void();
12351 if (SWIG_IsTmpObj(res2
)) {
12352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12354 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12357 if (SWIG_IsTmpObj(res3
)) {
12358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12360 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12369 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12370 PyObject
*resultobj
= 0;
12371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12375 PyObject
*swig_obj
[1] ;
12377 if (!args
) SWIG_fail
;
12378 swig_obj
[0] = args
;
12379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12380 if (!SWIG_IsOK(res1
)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12403 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12408 PyObject
*swig_obj
[1] ;
12410 if (!args
) SWIG_fail
;
12411 swig_obj
[0] = args
;
12412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_Py_Void();
12430 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
= 0;
12432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12435 wxString
*arg4
= 0 ;
12442 bool temp4
= false ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 PyObject
* obj2
= 0 ;
12446 PyObject
* obj3
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12457 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12458 if (!SWIG_IsOK(ecode2
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12461 arg2
= static_cast< long >(val2
);
12462 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12463 if (!SWIG_IsOK(ecode3
)) {
12464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12466 arg3
= static_cast< long >(val3
);
12468 arg4
= wxString_in_helper(obj3
);
12469 if (arg4
== NULL
) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= 0;
12495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 PyObject
* obj2
= 0 ;
12507 char * kwnames
[] = {
12508 (char *) "self",(char *) "from",(char *) "to", NULL
12511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12517 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12518 if (!SWIG_IsOK(ecode2
)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12521 arg2
= static_cast< long >(val2
);
12522 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12523 if (!SWIG_IsOK(ecode3
)) {
12524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12526 arg3
= static_cast< long >(val3
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->Remove(arg2
,arg3
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_Py_Void();
12540 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= 0;
12542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12543 wxString
*arg2
= 0 ;
12544 int arg3
= (int) wxTEXT_TYPE_ANY
;
12548 bool temp2
= false ;
12551 PyObject
* obj0
= 0 ;
12552 PyObject
* obj1
= 0 ;
12553 PyObject
* obj2
= 0 ;
12554 char * kwnames
[] = {
12555 (char *) "self",(char *) "file",(char *) "fileType", NULL
12558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12563 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12565 arg2
= wxString_in_helper(obj1
);
12566 if (arg2
== NULL
) SWIG_fail
;
12570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12571 if (!SWIG_IsOK(ecode3
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12574 arg3
= static_cast< int >(val3
);
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12599 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= 0;
12601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12602 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12603 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12604 int arg3
= (int) wxTEXT_TYPE_ANY
;
12608 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 PyObject
* obj2
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "file",(char *) "fileType", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12623 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12633 if (!SWIG_IsOK(ecode3
)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12636 arg3
= static_cast< int >(val3
);
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12666 PyObject
*swig_obj
[1] ;
12668 if (!args
) SWIG_fail
;
12669 swig_obj
[0] = args
;
12670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->MarkDirty();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12693 PyObject
*swig_obj
[1] ;
12695 if (!args
) SWIG_fail
;
12696 swig_obj
[0] = args
;
12697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12701 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->DiscardEdits();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_Py_Void();
12715 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char * kwnames
[] = {
12726 (char *) "self",(char *) "modified", NULL
12729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12736 if (!SWIG_IsOK(ecode2
)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12739 arg2
= static_cast< bool >(val2
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->SetModified(arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
= 0;
12755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12756 unsigned long arg2
;
12759 unsigned long val2
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char * kwnames
[] = {
12764 (char *) "self",(char *) "len", NULL
12767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12769 if (!SWIG_IsOK(res1
)) {
12770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12773 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12774 if (!SWIG_IsOK(ecode2
)) {
12775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12777 arg2
= static_cast< unsigned long >(val2
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->SetMaxLength(arg2
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_Py_Void();
12791 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
= 0;
12793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12794 wxString
*arg2
= 0 ;
12797 bool temp2
= false ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "text", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12811 arg2
= wxString_in_helper(obj1
);
12812 if (arg2
== NULL
) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->WriteText((wxString
const &)*arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12836 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= 0;
12838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12839 wxString
*arg2
= 0 ;
12842 bool temp2
= false ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "text", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12856 arg2
= wxString_in_helper(obj1
);
12857 if (arg2
== NULL
) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->AppendText((wxString
const &)*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12884 wxKeyEvent
*arg2
= 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char * kwnames
[] = {
12893 (char *) "self",(char *) "event", NULL
12896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12903 if (!SWIG_IsOK(res2
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12909 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12930 wxTextAttr
*arg4
= 0 ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 PyObject
* obj2
= 0 ;
12943 PyObject
* obj3
= 0 ;
12944 char * kwnames
[] = {
12945 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12950 if (!SWIG_IsOK(res1
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12953 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12955 if (!SWIG_IsOK(ecode2
)) {
12956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12958 arg2
= static_cast< long >(val2
);
12959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12960 if (!SWIG_IsOK(ecode3
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12963 arg3
= static_cast< long >(val3
);
12964 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12965 if (!SWIG_IsOK(res4
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12971 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12991 wxTextAttr
*arg3
= 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "position",(char *) "style", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13012 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13013 if (!SWIG_IsOK(ecode2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13016 arg2
= static_cast< long >(val2
);
13017 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13018 if (!SWIG_IsOK(res3
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13024 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13040 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13043 wxTextAttr
*arg2
= 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char * kwnames
[] = {
13052 (char *) "self",(char *) "style", NULL
13055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13057 if (!SWIG_IsOK(res1
)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13062 if (!SWIG_IsOK(res2
)) {
13063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13068 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 PyObject
*resultobj
= 0;
13086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13087 wxTextAttr
*result
= 0 ;
13090 PyObject
*swig_obj
[1] ;
13092 if (!args
) SWIG_fail
;
13093 swig_obj
[0] = args
;
13094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13098 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13103 result
= (wxTextAttr
*) &_result_ref
;
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13115 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= 0;
13117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "x",(char *) "y", NULL
13134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13139 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13140 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13144 arg2
= static_cast< long >(val2
);
13145 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13146 if (!SWIG_IsOK(ecode3
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13149 arg3
= static_cast< long >(val3
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_From_long(static_cast< long >(result
));
13163 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13167 long *arg3
= (long *) 0 ;
13168 long *arg4
= (long *) 0 ;
13174 int res3
= SWIG_TMPOBJ
;
13176 int res4
= SWIG_TMPOBJ
;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "self",(char *) "pos", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13192 if (!SWIG_IsOK(ecode2
)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13195 arg2
= static_cast< long >(val2
);
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_Py_Void();
13203 if (SWIG_IsTmpObj(res3
)) {
13204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13206 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13209 if (SWIG_IsTmpObj(res4
)) {
13210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13212 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13221 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= 0;
13223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char * kwnames
[] = {
13232 (char *) "self",(char *) "pos", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13242 if (!SWIG_IsOK(ecode2
)) {
13243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13245 arg2
= static_cast< long >(val2
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->ShowPosition(arg2
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_Py_Void();
13259 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13262 wxPoint
*arg2
= 0 ;
13263 long *arg3
= (long *) 0 ;
13264 long *arg4
= (long *) 0 ;
13265 wxTextCtrlHitTestResult result
;
13270 int res3
= SWIG_TMPOBJ
;
13272 int res4
= SWIG_TMPOBJ
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "pt", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast< int >(result
));
13298 if (SWIG_IsTmpObj(res3
)) {
13299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13304 if (SWIG_IsTmpObj(res4
)) {
13305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13307 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13316 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
= 0;
13318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13319 wxPoint
*arg2
= 0 ;
13320 long *arg3
= (long *) 0 ;
13321 wxTextCtrlHitTestResult result
;
13326 int res3
= SWIG_TMPOBJ
;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char * kwnames
[] = {
13330 (char *) "self",(char *) "pt", NULL
13334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13339 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_From_int(static_cast< int >(result
));
13351 if (SWIG_IsTmpObj(res3
)) {
13352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13363 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13364 PyObject
*resultobj
= 0;
13365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13368 PyObject
*swig_obj
[1] ;
13370 if (!args
) SWIG_fail
;
13371 swig_obj
[0] = args
;
13372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13376 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_Py_Void();
13390 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13395 PyObject
*swig_obj
[1] ;
13397 if (!args
) SWIG_fail
;
13398 swig_obj
[0] = args
;
13399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13400 if (!SWIG_IsOK(res1
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_Py_Void();
13417 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 PyObject
*resultobj
= 0;
13419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13422 PyObject
*swig_obj
[1] ;
13424 if (!args
) SWIG_fail
;
13425 swig_obj
[0] = args
;
13426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13427 if (!SWIG_IsOK(res1
)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13430 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 PyObject
*resultobj
= 0;
13446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13450 PyObject
*swig_obj
[1] ;
13452 if (!args
) SWIG_fail
;
13453 swig_obj
[0] = args
;
13454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13455 if (!SWIG_IsOK(res1
)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13458 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13474 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13480 PyObject
*swig_obj
[1] ;
13482 if (!args
) SWIG_fail
;
13483 swig_obj
[0] = args
;
13484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13510 PyObject
*swig_obj
[1] ;
13512 if (!args
) SWIG_fail
;
13513 swig_obj
[0] = args
;
13514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13515 if (!SWIG_IsOK(res1
)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13518 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13535 PyObject
*resultobj
= 0;
13536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13539 PyObject
*swig_obj
[1] ;
13541 if (!args
) SWIG_fail
;
13542 swig_obj
[0] = args
;
13543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13547 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_Py_Void();
13561 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13562 PyObject
*resultobj
= 0;
13563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13566 PyObject
*swig_obj
[1] ;
13568 if (!args
) SWIG_fail
;
13569 swig_obj
[0] = args
;
13570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13574 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 PyObject
*resultobj
= 0;
13590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13594 PyObject
*swig_obj
[1] ;
13596 if (!args
) SWIG_fail
;
13597 swig_obj
[0] = args
;
13598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13599 if (!SWIG_IsOK(res1
)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13602 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13624 PyObject
*swig_obj
[1] ;
13626 if (!args
) SWIG_fail
;
13627 swig_obj
[0] = args
;
13628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13632 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "pos", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13669 if (!SWIG_IsOK(ecode2
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13672 arg2
= static_cast< long >(val2
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SetInsertionPoint(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13691 PyObject
*swig_obj
[1] ;
13693 if (!args
) SWIG_fail
;
13694 swig_obj
[0] = args
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetInsertionPointEnd();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_Py_Void();
13713 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13714 PyObject
*resultobj
= 0;
13715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13719 PyObject
*swig_obj
[1] ;
13721 if (!args
) SWIG_fail
;
13722 swig_obj
[0] = args
;
13723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13724 if (!SWIG_IsOK(res1
)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13727 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_From_long(static_cast< long >(result
));
13741 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13742 PyObject
*resultobj
= 0;
13743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13747 PyObject
*swig_obj
[1] ;
13749 if (!args
) SWIG_fail
;
13750 swig_obj
[0] = args
;
13751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13755 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_From_long(static_cast< long >(result
));
13769 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 PyObject
* obj2
= 0 ;
13783 char * kwnames
[] = {
13784 (char *) "self",(char *) "from",(char *) "to", NULL
13787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13789 if (!SWIG_IsOK(res1
)) {
13790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13792 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13793 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13794 if (!SWIG_IsOK(ecode2
)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13797 arg2
= static_cast< long >(val2
);
13798 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13799 if (!SWIG_IsOK(ecode3
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13802 arg3
= static_cast< long >(val3
);
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 (arg1
)->SetSelection(arg2
,arg3
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_Py_Void();
13816 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13817 PyObject
*resultobj
= 0;
13818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13821 PyObject
*swig_obj
[1] ;
13823 if (!args
) SWIG_fail
;
13824 swig_obj
[0] = args
;
13825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13826 if (!SWIG_IsOK(res1
)) {
13827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SelectAll();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_Py_Void();
13843 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
= 0;
13845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "editable", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13862 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13867 arg2
= static_cast< bool >(val2
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->SetEditable(arg2
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13882 PyObject
*resultobj
= 0;
13883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13886 PyObject
*swig_obj
[1] ;
13888 if (!args
) SWIG_fail
;
13889 swig_obj
[0] = args
;
13890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13891 if (!SWIG_IsOK(res1
)) {
13892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13894 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SendTextUpdatedEvent();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_Py_Void();
13908 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13911 bool arg2
= (bool) true ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 char * kwnames
[] = {
13920 (char *) "self",(char *) "show", NULL
13923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13925 if (!SWIG_IsOK(res1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13928 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13931 if (!SWIG_IsOK(ecode2
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13934 arg2
= static_cast< bool >(val2
);
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13951 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13952 PyObject
*resultobj
= 0;
13953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13957 PyObject
*swig_obj
[1] ;
13959 if (!args
) SWIG_fail
;
13960 swig_obj
[0] = args
;
13961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13962 if (!SWIG_IsOK(res1
)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (bool)(arg1
)->HideNativeCaret();
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13981 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
= 0;
13983 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13984 wxString
*arg2
= 0 ;
13987 bool temp2
= false ;
13988 PyObject
* obj0
= 0 ;
13989 PyObject
* obj1
= 0 ;
13990 char * kwnames
[] = {
13991 (char *) "self",(char *) "text", NULL
13994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13996 if (!SWIG_IsOK(res1
)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13999 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14001 arg2
= wxString_in_helper(obj1
);
14002 if (arg2
== NULL
) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_Py_Void();
14026 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= 0;
14028 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 PyObject
* obj2
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "self",(char *) "from",(char *) "to", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14050 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14052 if (!SWIG_IsOK(ecode2
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14055 arg2
= static_cast< long >(val2
);
14056 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14057 if (!SWIG_IsOK(ecode3
)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14060 arg3
= static_cast< long >(val3
);
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14080 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
= 0;
14082 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14083 SwigValueWrapper
<wxVisualAttributes
> result
;
14086 PyObject
* obj0
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "variant", NULL
14091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14094 if (!SWIG_IsOK(ecode1
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14097 arg1
= static_cast< wxWindowVariant
>(val1
);
14100 if (!wxPyCheckForApp()) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14113 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14116 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14117 return SWIG_Py_Void();
14120 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14121 return SWIG_Python_InitShadowInstance(args
);
14124 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
= 0;
14127 wxMouseEvent
*arg2
= 0 ;
14130 wxTextUrlEvent
*result
= 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 PyObject
* obj2
= 0 ;
14142 PyObject
* obj3
= 0 ;
14143 char * kwnames
[] = {
14144 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14149 if (!SWIG_IsOK(ecode1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14152 arg1
= static_cast< int >(val1
);
14153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14154 if (!SWIG_IsOK(res2
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14160 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14162 if (!SWIG_IsOK(ecode3
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14165 arg3
= static_cast< long >(val3
);
14166 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14167 if (!SWIG_IsOK(ecode4
)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14170 arg4
= static_cast< long >(val4
);
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14184 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 PyObject
*resultobj
= 0;
14186 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14187 wxMouseEvent
*result
= 0 ;
14190 PyObject
*swig_obj
[1] ;
14192 if (!args
) SWIG_fail
;
14193 swig_obj
[0] = args
;
14194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14198 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14203 result
= (wxMouseEvent
*) &_result_ref
;
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14215 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 PyObject
*resultobj
= 0;
14217 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14221 PyObject
*swig_obj
[1] ;
14223 if (!args
) SWIG_fail
;
14224 swig_obj
[0] = args
;
14225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14229 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_From_long(static_cast< long >(result
));
14243 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14244 PyObject
*resultobj
= 0;
14245 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14249 PyObject
*swig_obj
[1] ;
14251 if (!args
) SWIG_fail
;
14252 swig_obj
[0] = args
;
14253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14254 if (!SWIG_IsOK(res1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14257 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_From_long(static_cast< long >(result
));
14271 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14274 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14275 return SWIG_Py_Void();
14278 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 return SWIG_Python_InitShadowInstance(args
);
14282 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14283 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14288 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14289 PyObject
*pyobj
= 0;
14293 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14295 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14302 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
= 0;
14304 wxWindow
*arg1
= (wxWindow
*) 0 ;
14305 int arg2
= (int) -1 ;
14306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14310 long arg5
= (long) wxSB_HORIZONTAL
;
14311 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14312 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14313 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14315 wxScrollBar
*result
= 0 ;
14326 bool temp7
= false ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 PyObject
* obj2
= 0 ;
14330 PyObject
* obj3
= 0 ;
14331 PyObject
* obj4
= 0 ;
14332 PyObject
* obj5
= 0 ;
14333 PyObject
* obj6
= 0 ;
14334 char * kwnames
[] = {
14335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14346 if (!SWIG_IsOK(ecode2
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14349 arg2
= static_cast< int >(val2
);
14354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14364 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14365 if (!SWIG_IsOK(ecode5
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14368 arg5
= static_cast< long >(val5
);
14371 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14372 if (!SWIG_IsOK(res6
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14378 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14382 arg7
= wxString_in_helper(obj6
);
14383 if (arg7
== NULL
) SWIG_fail
;
14388 if (!wxPyCheckForApp()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14409 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 PyObject
*resultobj
= 0;
14411 wxScrollBar
*result
= 0 ;
14413 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14415 if (!wxPyCheckForApp()) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (wxScrollBar
*)new wxScrollBar();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14428 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14431 wxWindow
*arg2
= (wxWindow
*) 0 ;
14432 int arg3
= (int) -1 ;
14433 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14434 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14435 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14436 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14437 long arg6
= (long) wxSB_HORIZONTAL
;
14438 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14439 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14440 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14441 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14455 bool temp8
= false ;
14456 PyObject
* obj0
= 0 ;
14457 PyObject
* obj1
= 0 ;
14458 PyObject
* obj2
= 0 ;
14459 PyObject
* obj3
= 0 ;
14460 PyObject
* obj4
= 0 ;
14461 PyObject
* obj5
= 0 ;
14462 PyObject
* obj6
= 0 ;
14463 PyObject
* obj7
= 0 ;
14464 char * kwnames
[] = {
14465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14473 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14475 if (!SWIG_IsOK(res2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14478 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14481 if (!SWIG_IsOK(ecode3
)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14484 arg3
= static_cast< int >(val3
);
14489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14500 if (!SWIG_IsOK(ecode6
)) {
14501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14503 arg6
= static_cast< long >(val6
);
14506 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14507 if (!SWIG_IsOK(res7
)) {
14508 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14513 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14517 arg8
= wxString_in_helper(obj7
);
14518 if (arg8
== NULL
) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(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_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14559 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_From_int(static_cast< int >(result
));
14573 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(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_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14587 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_From_int(static_cast< int >(result
));
14601 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14602 PyObject
*resultobj
= 0;
14603 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14607 PyObject
*swig_obj
[1] ;
14609 if (!args
) SWIG_fail
;
14610 swig_obj
[0] = args
;
14611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14615 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_From_int(static_cast< int >(result
));
14629 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14643 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= SWIG_From_int(static_cast< int >(result
));
14657 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14658 PyObject
*resultobj
= 0;
14659 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14663 PyObject
*swig_obj
[1] ;
14665 if (!args
) SWIG_fail
;
14666 swig_obj
[0] = args
;
14667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14668 if (!SWIG_IsOK(res1
)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14671 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14687 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
= 0;
14689 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char * kwnames
[] = {
14698 (char *) "self",(char *) "viewStart", NULL
14701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14706 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14708 if (!SWIG_IsOK(ecode2
)) {
14709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14711 arg2
= static_cast< int >(val2
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 (arg1
)->SetThumbPosition(arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_Py_Void();
14725 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14728 SwigValueWrapper
<wxVisualAttributes
> result
;
14731 PyObject
* obj0
= 0 ;
14732 char * kwnames
[] = {
14733 (char *) "variant", NULL
14736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14739 if (!SWIG_IsOK(ecode1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14742 arg1
= static_cast< wxWindowVariant
>(val1
);
14745 if (!wxPyCheckForApp()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14758 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14761 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14762 return SWIG_Py_Void();
14765 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 return SWIG_Python_InitShadowInstance(args
);
14769 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14770 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14775 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14776 PyObject
*pyobj
= 0;
14780 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14782 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14789 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14790 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14795 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14796 PyObject
*pyobj
= 0;
14800 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14802 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14809 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
= 0;
14811 wxWindow
*arg1
= (wxWindow
*) 0 ;
14812 int arg2
= (int) -1 ;
14813 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14814 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14815 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14816 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14817 long arg5
= (long) wxSP_HORIZONTAL
;
14818 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14819 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14820 wxSpinButton
*result
= 0 ;
14829 bool temp6
= false ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 PyObject
* obj4
= 0 ;
14835 PyObject
* obj5
= 0 ;
14836 char * kwnames
[] = {
14837 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14842 if (!SWIG_IsOK(res1
)) {
14843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14848 if (!SWIG_IsOK(ecode2
)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14851 arg2
= static_cast< int >(val2
);
14856 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14862 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14866 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14867 if (!SWIG_IsOK(ecode5
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14870 arg5
= static_cast< long >(val5
);
14874 arg6
= wxString_in_helper(obj5
);
14875 if (arg6
== NULL
) SWIG_fail
;
14880 if (!wxPyCheckForApp()) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14901 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14902 PyObject
*resultobj
= 0;
14903 wxSpinButton
*result
= 0 ;
14905 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14907 if (!wxPyCheckForApp()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (wxSpinButton
*)new wxSpinButton();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14920 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14922 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14923 wxWindow
*arg2
= (wxWindow
*) 0 ;
14924 int arg3
= (int) -1 ;
14925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14929 long arg6
= (long) wxSP_HORIZONTAL
;
14930 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14943 bool temp7
= false ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 PyObject
* obj2
= 0 ;
14947 PyObject
* obj3
= 0 ;
14948 PyObject
* obj4
= 0 ;
14949 PyObject
* obj5
= 0 ;
14950 PyObject
* obj6
= 0 ;
14951 char * kwnames
[] = {
14952 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14960 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14962 if (!SWIG_IsOK(res2
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14968 if (!SWIG_IsOK(ecode3
)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14971 arg3
= static_cast< int >(val3
);
14976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14986 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14987 if (!SWIG_IsOK(ecode6
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14990 arg6
= static_cast< long >(val6
);
14994 arg7
= wxString_in_helper(obj6
);
14995 if (arg7
== NULL
) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15023 PyObject
*resultobj
= 0;
15024 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15028 PyObject
*swig_obj
[1] ;
15030 if (!args
) SWIG_fail
;
15031 swig_obj
[0] = args
;
15032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15033 if (!SWIG_IsOK(res1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15036 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_From_int(static_cast< int >(result
));
15050 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15051 PyObject
*resultobj
= 0;
15052 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15056 PyObject
*swig_obj
[1] ;
15058 if (!args
) SWIG_fail
;
15059 swig_obj
[0] = args
;
15060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15064 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_From_int(static_cast< int >(result
));
15078 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 PyObject
*resultobj
= 0;
15080 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15084 PyObject
*swig_obj
[1] ;
15086 if (!args
) SWIG_fail
;
15087 swig_obj
[0] = args
;
15088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15092 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_From_int(static_cast< int >(result
));
15106 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
= 0;
15108 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char * kwnames
[] = {
15117 (char *) "self",(char *) "val", NULL
15120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15125 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15127 if (!SWIG_IsOK(ecode2
)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15130 arg2
= static_cast< int >(val2
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->SetValue(arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_Py_Void();
15144 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char * kwnames
[] = {
15155 (char *) "self",(char *) "minVal", NULL
15158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15163 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15165 if (!SWIG_IsOK(ecode2
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15168 arg2
= static_cast< int >(val2
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetMin(arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char * kwnames
[] = {
15193 (char *) "self",(char *) "maxVal", NULL
15196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15198 if (!SWIG_IsOK(res1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15201 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15203 if (!SWIG_IsOK(ecode2
)) {
15204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15206 arg2
= static_cast< int >(val2
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 (arg1
)->SetMax(arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_Py_Void();
15220 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
= 0;
15222 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 char * kwnames
[] = {
15235 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15243 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15245 if (!SWIG_IsOK(ecode2
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15248 arg2
= static_cast< int >(val2
);
15249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15250 if (!SWIG_IsOK(ecode3
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15253 arg3
= static_cast< int >(val3
);
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 (arg1
)->SetRange(arg2
,arg3
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_Py_Void();
15267 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15273 PyObject
*swig_obj
[1] ;
15275 if (!args
) SWIG_fail
;
15276 swig_obj
[0] = args
;
15277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15281 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= 0;
15299 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15300 SwigValueWrapper
<wxVisualAttributes
> result
;
15303 PyObject
* obj0
= 0 ;
15304 char * kwnames
[] = {
15305 (char *) "variant", NULL
15308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15311 if (!SWIG_IsOK(ecode1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15314 arg1
= static_cast< wxWindowVariant
>(val1
);
15317 if (!wxPyCheckForApp()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15330 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15333 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15334 return SWIG_Py_Void();
15337 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 return SWIG_Python_InitShadowInstance(args
);
15341 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
= 0;
15343 wxWindow
*arg1
= (wxWindow
*) 0 ;
15344 int arg2
= (int) -1 ;
15345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15347 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15348 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15349 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15350 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15351 long arg6
= (long) wxSP_ARROW_KEYS
;
15352 int arg7
= (int) 0 ;
15353 int arg8
= (int) 100 ;
15354 int arg9
= (int) 0 ;
15355 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15356 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15357 wxSpinCtrl
*result
= 0 ;
15362 bool temp3
= false ;
15373 bool temp10
= false ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 PyObject
* obj3
= 0 ;
15378 PyObject
* obj4
= 0 ;
15379 PyObject
* obj5
= 0 ;
15380 PyObject
* obj6
= 0 ;
15381 PyObject
* obj7
= 0 ;
15382 PyObject
* obj8
= 0 ;
15383 PyObject
* obj9
= 0 ;
15384 char * kwnames
[] = {
15385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15396 if (!SWIG_IsOK(ecode2
)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15399 arg2
= static_cast< int >(val2
);
15403 arg3
= wxString_in_helper(obj2
);
15404 if (arg3
== NULL
) SWIG_fail
;
15411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15421 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15422 if (!SWIG_IsOK(ecode6
)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15425 arg6
= static_cast< long >(val6
);
15428 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15429 if (!SWIG_IsOK(ecode7
)) {
15430 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15432 arg7
= static_cast< int >(val7
);
15435 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15436 if (!SWIG_IsOK(ecode8
)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15439 arg8
= static_cast< int >(val8
);
15442 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15443 if (!SWIG_IsOK(ecode9
)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15446 arg9
= static_cast< int >(val9
);
15450 arg10
= wxString_in_helper(obj9
);
15451 if (arg10
== NULL
) SWIG_fail
;
15456 if (!wxPyCheckForApp()) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15485 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15486 PyObject
*resultobj
= 0;
15487 wxSpinCtrl
*result
= 0 ;
15489 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15491 if (!wxPyCheckForApp()) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15504 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15507 wxWindow
*arg2
= (wxWindow
*) 0 ;
15508 int arg3
= (int) -1 ;
15509 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15510 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15511 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15512 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15513 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15514 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15515 long arg7
= (long) wxSP_ARROW_KEYS
;
15516 int arg8
= (int) 0 ;
15517 int arg9
= (int) 100 ;
15518 int arg10
= (int) 0 ;
15519 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15520 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15528 bool temp4
= false ;
15539 bool temp11
= false ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 PyObject
* obj3
= 0 ;
15544 PyObject
* obj4
= 0 ;
15545 PyObject
* obj5
= 0 ;
15546 PyObject
* obj6
= 0 ;
15547 PyObject
* obj7
= 0 ;
15548 PyObject
* obj8
= 0 ;
15549 PyObject
* obj9
= 0 ;
15550 PyObject
* obj10
= 0 ;
15551 char * kwnames
[] = {
15552 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15560 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15562 if (!SWIG_IsOK(res2
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15568 if (!SWIG_IsOK(ecode3
)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15571 arg3
= static_cast< int >(val3
);
15575 arg4
= wxString_in_helper(obj3
);
15576 if (arg4
== NULL
) SWIG_fail
;
15583 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15589 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15593 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15594 if (!SWIG_IsOK(ecode7
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15597 arg7
= static_cast< long >(val7
);
15600 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15601 if (!SWIG_IsOK(ecode8
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15604 arg8
= static_cast< int >(val8
);
15607 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15608 if (!SWIG_IsOK(ecode9
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15611 arg9
= static_cast< int >(val9
);
15614 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15615 if (!SWIG_IsOK(ecode10
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15618 arg10
= static_cast< int >(val10
);
15622 arg11
= wxString_in_helper(obj10
);
15623 if (arg11
== NULL
) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15658 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15664 PyObject
*swig_obj
[1] ;
15666 if (!args
) SWIG_fail
;
15667 swig_obj
[0] = args
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15672 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_From_int(static_cast< int >(result
));
15686 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
= 0;
15688 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char * kwnames
[] = {
15697 (char *) "self",(char *) "value", NULL
15700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15702 if (!SWIG_IsOK(res1
)) {
15703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15705 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15707 if (!SWIG_IsOK(ecode2
)) {
15708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15710 arg2
= static_cast< int >(val2
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 (arg1
)->SetValue(arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_Py_Void();
15724 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15727 wxString
*arg2
= 0 ;
15730 bool temp2
= false ;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char * kwnames
[] = {
15734 (char *) "self",(char *) "text", NULL
15737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15742 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15744 arg2
= wxString_in_helper(obj1
);
15745 if (arg2
== NULL
) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->SetValue((wxString
const &)*arg2
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_Py_Void();
15769 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
= 0;
15771 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 PyObject
* obj2
= 0 ;
15783 char * kwnames
[] = {
15784 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15789 if (!SWIG_IsOK(res1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15792 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15794 if (!SWIG_IsOK(ecode2
)) {
15795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15797 arg2
= static_cast< int >(val2
);
15798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15799 if (!SWIG_IsOK(ecode3
)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15802 arg3
= static_cast< int >(val3
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->SetRange(arg2
,arg3
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_Py_Void();
15816 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 PyObject
*resultobj
= 0;
15818 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15822 PyObject
*swig_obj
[1] ;
15824 if (!args
) SWIG_fail
;
15825 swig_obj
[0] = args
;
15826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15827 if (!SWIG_IsOK(res1
)) {
15828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15830 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= SWIG_From_int(static_cast< int >(result
));
15844 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15845 PyObject
*resultobj
= 0;
15846 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15850 PyObject
*swig_obj
[1] ;
15852 if (!args
) SWIG_fail
;
15853 swig_obj
[0] = args
;
15854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15855 if (!SWIG_IsOK(res1
)) {
15856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15858 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_From_int(static_cast< int >(result
));
15872 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 PyObject
* obj2
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "self",(char *) "from",(char *) "to", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15892 if (!SWIG_IsOK(res1
)) {
15893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15895 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15900 arg2
= static_cast< long >(val2
);
15901 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15902 if (!SWIG_IsOK(ecode3
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15905 arg3
= static_cast< long >(val3
);
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 (arg1
)->SetSelection(arg2
,arg3
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_Py_Void();
15919 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
= 0;
15921 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15922 SwigValueWrapper
<wxVisualAttributes
> result
;
15925 PyObject
* obj0
= 0 ;
15926 char * kwnames
[] = {
15927 (char *) "variant", NULL
15930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15933 if (!SWIG_IsOK(ecode1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15936 arg1
= static_cast< wxWindowVariant
>(val1
);
15939 if (!wxPyCheckForApp()) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15952 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15955 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15956 return SWIG_Py_Void();
15959 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15960 return SWIG_Python_InitShadowInstance(args
);
15963 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= 0;
15965 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15966 int arg2
= (int) 0 ;
15967 wxSpinEvent
*result
= 0 ;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 char * kwnames
[] = {
15975 (char *) "commandType",(char *) "winid", NULL
15978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15981 if (!SWIG_IsOK(ecode1
)) {
15982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15984 arg1
= static_cast< wxEventType
>(val1
);
15987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15988 if (!SWIG_IsOK(ecode2
)) {
15989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15991 arg2
= static_cast< int >(val2
);
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16006 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16007 PyObject
*resultobj
= 0;
16008 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16012 PyObject
*swig_obj
[1] ;
16014 if (!args
) SWIG_fail
;
16015 swig_obj
[0] = args
;
16016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16020 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int(static_cast< int >(result
));
16034 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char * kwnames
[] = {
16045 (char *) "self",(char *) "pos", NULL
16048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16050 if (!SWIG_IsOK(res1
)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16053 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16055 if (!SWIG_IsOK(ecode2
)) {
16056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16058 arg2
= static_cast< int >(val2
);
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 (arg1
)->SetPosition(arg2
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= SWIG_Py_Void();
16072 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16075 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16076 return SWIG_Py_Void();
16079 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 return SWIG_Python_InitShadowInstance(args
);
16083 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16084 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16089 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16090 PyObject
*pyobj
= 0;
16094 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16096 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16103 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16104 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16109 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16110 PyObject
*pyobj
= 0;
16114 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16116 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16123 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
= 0;
16125 wxWindow
*arg1
= (wxWindow
*) 0 ;
16126 int arg2
= (int) -1 ;
16127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16129 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16130 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16131 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16132 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16133 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16134 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16135 int arg7
= (int) 0 ;
16136 long arg8
= (long) wxRA_HORIZONTAL
;
16137 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16138 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16139 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16140 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16141 wxRadioBox
*result
= 0 ;
16146 bool temp3
= false ;
16149 bool temp6
= false ;
16156 bool temp10
= false ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 PyObject
* obj2
= 0 ;
16160 PyObject
* obj3
= 0 ;
16161 PyObject
* obj4
= 0 ;
16162 PyObject
* obj5
= 0 ;
16163 PyObject
* obj6
= 0 ;
16164 PyObject
* obj7
= 0 ;
16165 PyObject
* obj8
= 0 ;
16166 PyObject
* obj9
= 0 ;
16167 char * kwnames
[] = {
16168 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16173 if (!SWIG_IsOK(res1
)) {
16174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16176 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16179 if (!SWIG_IsOK(ecode2
)) {
16180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16182 arg2
= static_cast< int >(val2
);
16186 arg3
= wxString_in_helper(obj2
);
16187 if (arg3
== NULL
) SWIG_fail
;
16194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16205 if (! PySequence_Check(obj5
)) {
16206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16209 arg6
= new wxArrayString
;
16211 int i
, len
=PySequence_Length(obj5
);
16212 for (i
=0; i
<len
; i
++) {
16213 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16214 wxString
* s
= wxString_in_helper(item
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16223 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16224 if (!SWIG_IsOK(ecode7
)) {
16225 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16227 arg7
= static_cast< int >(val7
);
16230 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16231 if (!SWIG_IsOK(ecode8
)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16234 arg8
= static_cast< long >(val8
);
16237 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16238 if (!SWIG_IsOK(res9
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16244 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16248 arg10
= wxString_in_helper(obj9
);
16249 if (arg10
== NULL
) SWIG_fail
;
16254 if (!wxPyCheckForApp()) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 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
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16266 if (temp6
) delete arg6
;
16279 if (temp6
) delete arg6
;
16289 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxRadioBox
*result
= 0 ;
16293 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16295 if (!wxPyCheckForApp()) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxRadioBox
*)new wxRadioBox();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16308 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16311 wxWindow
*arg2
= (wxWindow
*) 0 ;
16312 int arg3
= (int) -1 ;
16313 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16315 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16316 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16317 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16318 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16319 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16320 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16321 int arg8
= (int) 0 ;
16322 long arg9
= (long) wxRA_HORIZONTAL
;
16323 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16324 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16325 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16326 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16334 bool temp4
= false ;
16337 bool temp7
= false ;
16344 bool temp11
= false ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 PyObject
* obj2
= 0 ;
16348 PyObject
* obj3
= 0 ;
16349 PyObject
* obj4
= 0 ;
16350 PyObject
* obj5
= 0 ;
16351 PyObject
* obj6
= 0 ;
16352 PyObject
* obj7
= 0 ;
16353 PyObject
* obj8
= 0 ;
16354 PyObject
* obj9
= 0 ;
16355 PyObject
* obj10
= 0 ;
16356 char * kwnames
[] = {
16357 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16362 if (!SWIG_IsOK(res1
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16365 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16367 if (!SWIG_IsOK(res2
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16370 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16373 if (!SWIG_IsOK(ecode3
)) {
16374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16376 arg3
= static_cast< int >(val3
);
16380 arg4
= wxString_in_helper(obj3
);
16381 if (arg4
== NULL
) SWIG_fail
;
16388 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16394 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16399 if (! PySequence_Check(obj6
)) {
16400 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16403 arg7
= new wxArrayString
;
16405 int i
, len
=PySequence_Length(obj6
);
16406 for (i
=0; i
<len
; i
++) {
16407 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16408 wxString
* s
= wxString_in_helper(item
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16417 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16418 if (!SWIG_IsOK(ecode8
)) {
16419 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16421 arg8
= static_cast< int >(val8
);
16424 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16425 if (!SWIG_IsOK(ecode9
)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16428 arg9
= static_cast< long >(val9
);
16431 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16432 if (!SWIG_IsOK(res10
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16438 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16442 arg11
= wxString_in_helper(obj10
);
16443 if (arg11
== NULL
) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 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
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16461 if (temp7
) delete arg7
;
16474 if (temp7
) delete arg7
;
16484 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
= 0;
16486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char * kwnames
[] = {
16495 (char *) "self",(char *) "n", NULL
16498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16500 if (!SWIG_IsOK(res1
)) {
16501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16503 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16505 if (!SWIG_IsOK(ecode2
)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16508 arg2
= static_cast< int >(val2
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->SetSelection(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_Py_Void();
16522 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16523 PyObject
*resultobj
= 0;
16524 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16528 PyObject
*swig_obj
[1] ;
16530 if (!args
) SWIG_fail
;
16531 swig_obj
[0] = args
;
16532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16533 if (!SWIG_IsOK(res1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16536 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_From_int(static_cast< int >(result
));
16550 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16551 PyObject
*resultobj
= 0;
16552 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16556 PyObject
*swig_obj
[1] ;
16558 if (!args
) SWIG_fail
;
16559 swig_obj
[0] = args
;
16560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16564 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16584 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
= 0;
16586 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16587 wxString
*arg2
= 0 ;
16591 bool temp2
= false ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char * kwnames
[] = {
16595 (char *) "self",(char *) "s", NULL
16598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16603 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16605 arg2
= wxString_in_helper(obj1
);
16606 if (arg2
== NULL
) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16632 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 PyObject
*resultobj
= 0;
16634 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16638 PyObject
*swig_obj
[1] ;
16640 if (!args
) SWIG_fail
;
16641 swig_obj
[0] = args
;
16642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16643 if (!SWIG_IsOK(res1
)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16646 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16660 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= 0;
16662 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16663 wxString
*arg2
= 0 ;
16667 bool temp2
= false ;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char * kwnames
[] = {
16671 (char *) "self",(char *) "s", NULL
16674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16679 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16681 arg2
= wxString_in_helper(obj1
);
16682 if (arg2
== NULL
) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_From_int(static_cast< int >(result
));
16706 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
= 0;
16708 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 char * kwnames
[] = {
16718 (char *) "self",(char *) "n", NULL
16721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16723 if (!SWIG_IsOK(res1
)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16726 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16728 if (!SWIG_IsOK(ecode2
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16731 arg2
= static_cast< int >(val2
);
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16751 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= 0;
16753 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16755 wxString
*arg3
= 0 ;
16760 bool temp3
= false ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 PyObject
* obj2
= 0 ;
16764 char * kwnames
[] = {
16765 (char *) "self",(char *) "n",(char *) "label", NULL
16768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16770 if (!SWIG_IsOK(res1
)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16773 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16775 if (!SWIG_IsOK(ecode2
)) {
16776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16778 arg2
= static_cast< int >(val2
);
16780 arg3
= wxString_in_helper(obj2
);
16781 if (arg3
== NULL
) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= SWIG_Py_Void();
16805 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
= 0;
16807 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16808 unsigned int arg2
;
16809 bool arg3
= (bool) true ;
16812 unsigned int val2
;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 PyObject
* obj2
= 0 ;
16819 char * kwnames
[] = {
16820 (char *) "self",(char *) "n",(char *) "enable", NULL
16823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16825 if (!SWIG_IsOK(res1
)) {
16826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16828 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16829 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16830 if (!SWIG_IsOK(ecode2
)) {
16831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16833 arg2
= static_cast< unsigned int >(val2
);
16835 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16836 if (!SWIG_IsOK(ecode3
)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16839 arg3
= static_cast< bool >(val3
);
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->Enable(arg2
,arg3
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= SWIG_Py_Void();
16854 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
= 0;
16856 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16857 unsigned int arg2
;
16858 bool arg3
= (bool) true ;
16861 unsigned int val2
;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 PyObject
* obj2
= 0 ;
16868 char * kwnames
[] = {
16869 (char *) "self",(char *) "n",(char *) "show", NULL
16872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16877 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16878 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16879 if (!SWIG_IsOK(ecode2
)) {
16880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16882 arg2
= static_cast< unsigned int >(val2
);
16884 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16885 if (!SWIG_IsOK(ecode3
)) {
16886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16888 arg3
= static_cast< bool >(val3
);
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 (arg1
)->Show(arg2
,arg3
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_Py_Void();
16903 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= 0;
16905 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16906 unsigned int arg2
;
16910 unsigned int val2
;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "self",(char *) "n", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16923 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16924 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16925 if (!SWIG_IsOK(ecode2
)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16928 arg2
= static_cast< unsigned int >(val2
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16944 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= 0;
16946 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16947 unsigned int arg2
;
16951 unsigned int val2
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "self",(char *) "n", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16964 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16965 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16966 if (!SWIG_IsOK(ecode2
)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16969 arg2
= static_cast< unsigned int >(val2
);
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16985 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16986 PyObject
*resultobj
= 0;
16987 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16988 unsigned int result
;
16991 PyObject
*swig_obj
[1] ;
16993 if (!args
) SWIG_fail
;
16994 swig_obj
[0] = args
;
16995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16999 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17013 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17014 PyObject
*resultobj
= 0;
17015 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17016 unsigned int result
;
17019 PyObject
*swig_obj
[1] ;
17021 if (!args
) SWIG_fail
;
17022 swig_obj
[0] = args
;
17023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17027 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17041 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
= 0;
17043 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 PyObject
* obj3
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17069 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17071 if (!SWIG_IsOK(ecode2
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17074 arg2
= static_cast< int >(val2
);
17075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17076 if (!SWIG_IsOK(ecode3
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17079 arg3
= static_cast< wxDirection
>(val3
);
17080 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17081 if (!SWIG_IsOK(ecode4
)) {
17082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17084 arg4
= static_cast< long >(val4
);
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= SWIG_From_int(static_cast< int >(result
));
17098 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
= 0;
17100 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17101 unsigned int arg2
;
17102 wxString
*arg3
= 0 ;
17105 unsigned int val2
;
17107 bool temp3
= false ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 PyObject
* obj2
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "self",(char *) "item",(char *) "text", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17120 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17121 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17122 if (!SWIG_IsOK(ecode2
)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17125 arg2
= static_cast< unsigned int >(val2
);
17127 arg3
= wxString_in_helper(obj2
);
17128 if (arg3
== NULL
) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_Py_Void();
17152 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17155 unsigned int arg2
;
17156 wxToolTip
*result
= 0 ;
17159 unsigned int val2
;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char * kwnames
[] = {
17164 (char *) "self",(char *) "item", NULL
17167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17169 if (!SWIG_IsOK(res1
)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17172 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17173 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17174 if (!SWIG_IsOK(ecode2
)) {
17175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17177 arg2
= static_cast< unsigned int >(val2
);
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17193 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17196 unsigned int arg2
;
17197 wxString
*arg3
= 0 ;
17200 unsigned int val2
;
17202 bool temp3
= false ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 PyObject
* obj2
= 0 ;
17206 char * kwnames
[] = {
17207 (char *) "self",(char *) "n",(char *) "helpText", NULL
17210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17212 if (!SWIG_IsOK(res1
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17215 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17216 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17217 if (!SWIG_IsOK(ecode2
)) {
17218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17220 arg2
= static_cast< unsigned int >(val2
);
17222 arg3
= wxString_in_helper(obj2
);
17223 if (arg3
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_Py_Void();
17247 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
= 0;
17249 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17250 unsigned int arg2
;
17254 unsigned int val2
;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char * kwnames
[] = {
17259 (char *) "self",(char *) "n", NULL
17262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17264 if (!SWIG_IsOK(res1
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17267 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17268 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17269 if (!SWIG_IsOK(ecode2
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17272 arg2
= static_cast< unsigned int >(val2
);
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17292 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
= 0;
17294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17295 SwigValueWrapper
<wxVisualAttributes
> result
;
17298 PyObject
* obj0
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "variant", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17306 if (!SWIG_IsOK(ecode1
)) {
17307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17309 arg1
= static_cast< wxWindowVariant
>(val1
);
17312 if (!wxPyCheckForApp()) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17325 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17328 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17329 return SWIG_Py_Void();
17332 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17333 return SWIG_Python_InitShadowInstance(args
);
17336 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17338 wxWindow
*arg1
= (wxWindow
*) 0 ;
17339 int arg2
= (int) -1 ;
17340 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17341 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17346 long arg6
= (long) 0 ;
17347 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17348 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17349 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17350 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17351 wxRadioButton
*result
= 0 ;
17356 bool temp3
= false ;
17363 bool temp8
= false ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 PyObject
* obj3
= 0 ;
17368 PyObject
* obj4
= 0 ;
17369 PyObject
* obj5
= 0 ;
17370 PyObject
* obj6
= 0 ;
17371 PyObject
* obj7
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17384 if (!SWIG_IsOK(ecode2
)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17387 arg2
= static_cast< int >(val2
);
17391 arg3
= wxString_in_helper(obj2
);
17392 if (arg3
== NULL
) SWIG_fail
;
17399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17409 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17410 if (!SWIG_IsOK(ecode6
)) {
17411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17413 arg6
= static_cast< long >(val6
);
17416 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17417 if (!SWIG_IsOK(res7
)) {
17418 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17423 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17427 arg8
= wxString_in_helper(obj7
);
17428 if (arg8
== NULL
) SWIG_fail
;
17433 if (!wxPyCheckForApp()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17462 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 PyObject
*resultobj
= 0;
17464 wxRadioButton
*result
= 0 ;
17466 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17468 if (!wxPyCheckForApp()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxRadioButton
*)new wxRadioButton();
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17481 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17484 wxWindow
*arg2
= (wxWindow
*) 0 ;
17485 int arg3
= (int) -1 ;
17486 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17487 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17488 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17489 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17490 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17491 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17492 long arg7
= (long) 0 ;
17493 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17494 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17495 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17496 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17504 bool temp4
= false ;
17511 bool temp9
= false ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 PyObject
* obj2
= 0 ;
17515 PyObject
* obj3
= 0 ;
17516 PyObject
* obj4
= 0 ;
17517 PyObject
* obj5
= 0 ;
17518 PyObject
* obj6
= 0 ;
17519 PyObject
* obj7
= 0 ;
17520 PyObject
* obj8
= 0 ;
17521 char * kwnames
[] = {
17522 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17527 if (!SWIG_IsOK(res1
)) {
17528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17530 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17532 if (!SWIG_IsOK(res2
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17538 if (!SWIG_IsOK(ecode3
)) {
17539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17541 arg3
= static_cast< int >(val3
);
17545 arg4
= wxString_in_helper(obj3
);
17546 if (arg4
== NULL
) SWIG_fail
;
17553 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17559 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17563 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17564 if (!SWIG_IsOK(ecode7
)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17567 arg7
= static_cast< long >(val7
);
17570 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17571 if (!SWIG_IsOK(res8
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17577 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17581 arg9
= wxString_in_helper(obj8
);
17582 if (arg9
== NULL
) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17617 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17618 PyObject
*resultobj
= 0;
17619 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17623 PyObject
*swig_obj
[1] ;
17625 if (!args
) SWIG_fail
;
17626 swig_obj
[0] = args
;
17627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17628 if (!SWIG_IsOK(res1
)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17631 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (bool)(arg1
)->GetValue();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
= 0;
17649 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char * kwnames
[] = {
17658 (char *) "self",(char *) "value", NULL
17661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17666 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17667 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17668 if (!SWIG_IsOK(ecode2
)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17671 arg2
= static_cast< bool >(val2
);
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->SetValue(arg2
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_Py_Void();
17685 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
= 0;
17687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17688 SwigValueWrapper
<wxVisualAttributes
> result
;
17691 PyObject
* obj0
= 0 ;
17692 char * kwnames
[] = {
17693 (char *) "variant", NULL
17696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17699 if (!SWIG_IsOK(ecode1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17702 arg1
= static_cast< wxWindowVariant
>(val1
);
17705 if (!wxPyCheckForApp()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17718 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17721 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17722 return SWIG_Py_Void();
17725 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17726 return SWIG_Python_InitShadowInstance(args
);
17729 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17730 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17735 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17736 PyObject
*pyobj
= 0;
17740 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17742 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17749 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
= 0;
17751 wxWindow
*arg1
= (wxWindow
*) 0 ;
17752 int arg2
= (int) -1 ;
17753 int arg3
= (int) 0 ;
17754 int arg4
= (int) 0 ;
17755 int arg5
= (int) 100 ;
17756 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17757 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17758 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17759 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17760 long arg8
= (long) wxSL_HORIZONTAL
;
17761 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17762 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17763 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17764 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17765 wxSlider
*result
= 0 ;
17782 bool temp10
= false ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 PyObject
* obj2
= 0 ;
17786 PyObject
* obj3
= 0 ;
17787 PyObject
* obj4
= 0 ;
17788 PyObject
* obj5
= 0 ;
17789 PyObject
* obj6
= 0 ;
17790 PyObject
* obj7
= 0 ;
17791 PyObject
* obj8
= 0 ;
17792 PyObject
* obj9
= 0 ;
17793 char * kwnames
[] = {
17794 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17799 if (!SWIG_IsOK(res1
)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17805 if (!SWIG_IsOK(ecode2
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17808 arg2
= static_cast< int >(val2
);
17811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17815 arg3
= static_cast< int >(val3
);
17818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17819 if (!SWIG_IsOK(ecode4
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17822 arg4
= static_cast< int >(val4
);
17825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17826 if (!SWIG_IsOK(ecode5
)) {
17827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17829 arg5
= static_cast< int >(val5
);
17834 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17840 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17844 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17845 if (!SWIG_IsOK(ecode8
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17848 arg8
= static_cast< long >(val8
);
17851 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17852 if (!SWIG_IsOK(res9
)) {
17853 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17858 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17862 arg10
= wxString_in_helper(obj9
);
17863 if (arg10
== NULL
) SWIG_fail
;
17868 if (!wxPyCheckForApp()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17889 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17890 PyObject
*resultobj
= 0;
17891 wxSlider
*result
= 0 ;
17893 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17895 if (!wxPyCheckForApp()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (wxSlider
*)new wxSlider();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17908 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxSlider
*arg1
= (wxSlider
*) 0 ;
17911 wxWindow
*arg2
= (wxWindow
*) 0 ;
17912 int arg3
= (int) -1 ;
17913 int arg4
= (int) 0 ;
17914 int arg5
= (int) 0 ;
17915 int arg6
= (int) 100 ;
17916 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17917 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17918 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17919 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17920 long arg9
= (long) wxSL_HORIZONTAL
;
17921 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17922 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17923 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17924 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17944 bool temp11
= false ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 PyObject
* obj2
= 0 ;
17948 PyObject
* obj3
= 0 ;
17949 PyObject
* obj4
= 0 ;
17950 PyObject
* obj5
= 0 ;
17951 PyObject
* obj6
= 0 ;
17952 PyObject
* obj7
= 0 ;
17953 PyObject
* obj8
= 0 ;
17954 PyObject
* obj9
= 0 ;
17955 PyObject
* obj10
= 0 ;
17956 char * kwnames
[] = {
17957 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17965 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17967 if (!SWIG_IsOK(res2
)) {
17968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17973 if (!SWIG_IsOK(ecode3
)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17976 arg3
= static_cast< int >(val3
);
17979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17980 if (!SWIG_IsOK(ecode4
)) {
17981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17983 arg4
= static_cast< int >(val4
);
17986 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17987 if (!SWIG_IsOK(ecode5
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17990 arg5
= static_cast< int >(val5
);
17993 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17994 if (!SWIG_IsOK(ecode6
)) {
17995 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17997 arg6
= static_cast< int >(val6
);
18002 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18008 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18012 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18013 if (!SWIG_IsOK(ecode9
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18016 arg9
= static_cast< long >(val9
);
18019 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18020 if (!SWIG_IsOK(res10
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18026 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18030 arg11
= wxString_in_helper(obj10
);
18031 if (arg11
== NULL
) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18059 PyObject
*resultobj
= 0;
18060 wxSlider
*arg1
= (wxSlider
*) 0 ;
18064 PyObject
*swig_obj
[1] ;
18066 if (!args
) SWIG_fail
;
18067 swig_obj
[0] = args
;
18068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18072 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_From_int(static_cast< int >(result
));
18086 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= 0;
18088 wxSlider
*arg1
= (wxSlider
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "value", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18105 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18107 if (!SWIG_IsOK(ecode2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18110 arg2
= static_cast< int >(val2
);
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 (arg1
)->SetValue(arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_Py_Void();
18124 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= 0;
18126 wxSlider
*arg1
= (wxSlider
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 char * kwnames
[] = {
18139 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18144 if (!SWIG_IsOK(res1
)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18147 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18149 if (!SWIG_IsOK(ecode2
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18152 arg2
= static_cast< int >(val2
);
18153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18154 if (!SWIG_IsOK(ecode3
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18157 arg3
= static_cast< int >(val3
);
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->SetRange(arg2
,arg3
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_Py_Void();
18171 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18172 PyObject
*resultobj
= 0;
18173 wxSlider
*arg1
= (wxSlider
*) 0 ;
18177 PyObject
*swig_obj
[1] ;
18179 if (!args
) SWIG_fail
;
18180 swig_obj
[0] = args
;
18181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18182 if (!SWIG_IsOK(res1
)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18185 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_From_int(static_cast< int >(result
));
18199 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18200 PyObject
*resultobj
= 0;
18201 wxSlider
*arg1
= (wxSlider
*) 0 ;
18205 PyObject
*swig_obj
[1] ;
18207 if (!args
) SWIG_fail
;
18208 swig_obj
[0] = args
;
18209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18210 if (!SWIG_IsOK(res1
)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18213 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_From_int(static_cast< int >(result
));
18227 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= 0;
18229 wxSlider
*arg1
= (wxSlider
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char * kwnames
[] = {
18238 (char *) "self",(char *) "minValue", NULL
18241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18246 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18248 if (!SWIG_IsOK(ecode2
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18251 arg2
= static_cast< int >(val2
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->SetMin(arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_Py_Void();
18265 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
= 0;
18267 wxSlider
*arg1
= (wxSlider
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char * kwnames
[] = {
18276 (char *) "self",(char *) "maxValue", NULL
18279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18281 if (!SWIG_IsOK(res1
)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18284 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18286 if (!SWIG_IsOK(ecode2
)) {
18287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18289 arg2
= static_cast< int >(val2
);
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->SetMax(arg2
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_Py_Void();
18303 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
= 0;
18305 wxSlider
*arg1
= (wxSlider
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char * kwnames
[] = {
18314 (char *) "self",(char *) "lineSize", NULL
18317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18319 if (!SWIG_IsOK(res1
)) {
18320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18322 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18324 if (!SWIG_IsOK(ecode2
)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18327 arg2
= static_cast< int >(val2
);
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetLineSize(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
= 0;
18343 wxSlider
*arg1
= (wxSlider
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 char * kwnames
[] = {
18352 (char *) "self",(char *) "pageSize", NULL
18355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18357 if (!SWIG_IsOK(res1
)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18360 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18362 if (!SWIG_IsOK(ecode2
)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18365 arg2
= static_cast< int >(val2
);
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->SetPageSize(arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= SWIG_Py_Void();
18379 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18380 PyObject
*resultobj
= 0;
18381 wxSlider
*arg1
= (wxSlider
*) 0 ;
18385 PyObject
*swig_obj
[1] ;
18387 if (!args
) SWIG_fail
;
18388 swig_obj
[0] = args
;
18389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18390 if (!SWIG_IsOK(res1
)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18393 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= SWIG_From_int(static_cast< int >(result
));
18407 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18408 PyObject
*resultobj
= 0;
18409 wxSlider
*arg1
= (wxSlider
*) 0 ;
18413 PyObject
*swig_obj
[1] ;
18415 if (!args
) SWIG_fail
;
18416 swig_obj
[0] = args
;
18417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18418 if (!SWIG_IsOK(res1
)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18421 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_From_int(static_cast< int >(result
));
18435 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxSlider
*arg1
= (wxSlider
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 char * kwnames
[] = {
18446 (char *) "self",(char *) "lenPixels", NULL
18449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18451 if (!SWIG_IsOK(res1
)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18454 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18456 if (!SWIG_IsOK(ecode2
)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18459 arg2
= static_cast< int >(val2
);
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 (arg1
)->SetThumbLength(arg2
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_Py_Void();
18473 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18474 PyObject
*resultobj
= 0;
18475 wxSlider
*arg1
= (wxSlider
*) 0 ;
18479 PyObject
*swig_obj
[1] ;
18481 if (!args
) SWIG_fail
;
18482 swig_obj
[0] = args
;
18483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18484 if (!SWIG_IsOK(res1
)) {
18485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18487 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_From_int(static_cast< int >(result
));
18501 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
= 0;
18503 wxSlider
*arg1
= (wxSlider
*) 0 ;
18505 int arg3
= (int) 1 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 PyObject
* obj2
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "n",(char *) "pos", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18524 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18526 if (!SWIG_IsOK(ecode2
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18529 arg2
= static_cast< int >(val2
);
18531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18532 if (!SWIG_IsOK(ecode3
)) {
18533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18535 arg3
= static_cast< int >(val3
);
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->SetTickFreq(arg2
,arg3
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_Py_Void();
18550 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18551 PyObject
*resultobj
= 0;
18552 wxSlider
*arg1
= (wxSlider
*) 0 ;
18556 PyObject
*swig_obj
[1] ;
18558 if (!args
) SWIG_fail
;
18559 swig_obj
[0] = args
;
18560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18564 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_From_int(static_cast< int >(result
));
18578 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxSlider
*arg1
= (wxSlider
*) 0 ;
18583 PyObject
*swig_obj
[1] ;
18585 if (!args
) SWIG_fail
;
18586 swig_obj
[0] = args
;
18587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18591 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->ClearTicks();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_Py_Void();
18605 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
= 0;
18607 wxSlider
*arg1
= (wxSlider
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "tickPos", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18624 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18626 if (!SWIG_IsOK(ecode2
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18629 arg2
= static_cast< int >(val2
);
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->SetTick(arg2
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_Py_Void();
18643 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18644 PyObject
*resultobj
= 0;
18645 wxSlider
*arg1
= (wxSlider
*) 0 ;
18648 PyObject
*swig_obj
[1] ;
18650 if (!args
) SWIG_fail
;
18651 swig_obj
[0] = args
;
18652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18656 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 (arg1
)->ClearSel();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_Py_Void();
18670 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18671 PyObject
*resultobj
= 0;
18672 wxSlider
*arg1
= (wxSlider
*) 0 ;
18676 PyObject
*swig_obj
[1] ;
18678 if (!args
) SWIG_fail
;
18679 swig_obj
[0] = args
;
18680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18684 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_From_int(static_cast< int >(result
));
18698 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18699 PyObject
*resultobj
= 0;
18700 wxSlider
*arg1
= (wxSlider
*) 0 ;
18704 PyObject
*swig_obj
[1] ;
18706 if (!args
) SWIG_fail
;
18707 swig_obj
[0] = args
;
18708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18712 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_From_int(static_cast< int >(result
));
18726 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
= 0;
18728 wxSlider
*arg1
= (wxSlider
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char * kwnames
[] = {
18741 (char *) "self",(char *) "min",(char *) "max", NULL
18744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18749 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18751 if (!SWIG_IsOK(ecode2
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18754 arg2
= static_cast< int >(val2
);
18755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18756 if (!SWIG_IsOK(ecode3
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18759 arg3
= static_cast< int >(val3
);
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetSelection(arg2
,arg3
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18776 SwigValueWrapper
<wxVisualAttributes
> result
;
18779 PyObject
* obj0
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "variant", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18787 if (!SWIG_IsOK(ecode1
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18790 arg1
= static_cast< wxWindowVariant
>(val1
);
18793 if (!wxPyCheckForApp()) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18806 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18809 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18810 return SWIG_Py_Void();
18813 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18814 return SWIG_Python_InitShadowInstance(args
);
18817 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18818 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18823 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18824 PyObject
*pyobj
= 0;
18828 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18830 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18837 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxWindow
*arg1
= (wxWindow
*) 0 ;
18840 int arg2
= (int) -1 ;
18841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18847 long arg6
= (long) 0 ;
18848 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18849 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18850 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18851 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18852 wxToggleButton
*result
= 0 ;
18857 bool temp3
= false ;
18864 bool temp8
= false ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 PyObject
* obj3
= 0 ;
18869 PyObject
* obj4
= 0 ;
18870 PyObject
* obj5
= 0 ;
18871 PyObject
* obj6
= 0 ;
18872 PyObject
* obj7
= 0 ;
18873 char * kwnames
[] = {
18874 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18885 if (!SWIG_IsOK(ecode2
)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18888 arg2
= static_cast< int >(val2
);
18892 arg3
= wxString_in_helper(obj2
);
18893 if (arg3
== NULL
) SWIG_fail
;
18900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18910 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18911 if (!SWIG_IsOK(ecode6
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18914 arg6
= static_cast< long >(val6
);
18917 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18918 if (!SWIG_IsOK(res7
)) {
18919 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18924 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18928 arg8
= wxString_in_helper(obj7
);
18929 if (arg8
== NULL
) SWIG_fail
;
18934 if (!wxPyCheckForApp()) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18963 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18964 PyObject
*resultobj
= 0;
18965 wxToggleButton
*result
= 0 ;
18967 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18969 if (!wxPyCheckForApp()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (wxToggleButton
*)new wxToggleButton();
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18982 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
= 0;
18984 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18985 wxWindow
*arg2
= (wxWindow
*) 0 ;
18986 int arg3
= (int) -1 ;
18987 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18988 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18989 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18990 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18991 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18992 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18993 long arg7
= (long) 0 ;
18994 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18995 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18996 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18997 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19005 bool temp4
= false ;
19012 bool temp9
= false ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 PyObject
* obj2
= 0 ;
19016 PyObject
* obj3
= 0 ;
19017 PyObject
* obj4
= 0 ;
19018 PyObject
* obj5
= 0 ;
19019 PyObject
* obj6
= 0 ;
19020 PyObject
* obj7
= 0 ;
19021 PyObject
* obj8
= 0 ;
19022 char * kwnames
[] = {
19023 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19031 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19033 if (!SWIG_IsOK(res2
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19039 if (!SWIG_IsOK(ecode3
)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19042 arg3
= static_cast< int >(val3
);
19046 arg4
= wxString_in_helper(obj3
);
19047 if (arg4
== NULL
) SWIG_fail
;
19054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19060 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19064 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19065 if (!SWIG_IsOK(ecode7
)) {
19066 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19068 arg7
= static_cast< long >(val7
);
19071 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19072 if (!SWIG_IsOK(res8
)) {
19073 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19078 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19082 arg9
= wxString_in_helper(obj8
);
19083 if (arg9
== NULL
) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19118 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
= 0;
19120 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char * kwnames
[] = {
19129 (char *) "self",(char *) "value", NULL
19132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19134 if (!SWIG_IsOK(res1
)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19137 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19138 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19139 if (!SWIG_IsOK(ecode2
)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19142 arg2
= static_cast< bool >(val2
);
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->SetValue(arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_Py_Void();
19156 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19157 PyObject
*resultobj
= 0;
19158 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19162 PyObject
*swig_obj
[1] ;
19164 if (!args
) SWIG_fail
;
19165 swig_obj
[0] = args
;
19166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19167 if (!SWIG_IsOK(res1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19170 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19186 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
= 0;
19188 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19189 SwigValueWrapper
<wxVisualAttributes
> result
;
19192 PyObject
* obj0
= 0 ;
19193 char * kwnames
[] = {
19194 (char *) "variant", NULL
19197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19200 if (!SWIG_IsOK(ecode1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19203 arg1
= static_cast< wxWindowVariant
>(val1
);
19206 if (!wxPyCheckForApp()) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19219 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19222 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19223 return SWIG_Py_Void();
19226 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19227 return SWIG_Python_InitShadowInstance(args
);
19230 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19231 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19236 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19237 PyObject
*pyobj
= 0;
19241 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19243 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19250 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19251 PyObject
*resultobj
= 0;
19252 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19256 PyObject
*swig_obj
[1] ;
19258 if (!args
) SWIG_fail
;
19259 swig_obj
[0] = args
;
19260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19264 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19278 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
= 0;
19280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19282 wxWindow
*result
= 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "self",(char *) "n", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19298 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19299 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19300 if (!SWIG_IsOK(ecode2
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19303 arg2
= static_cast< size_t >(val2
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= wxPyMake_wxObject(result
, 0);
19319 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19320 PyObject
*resultobj
= 0;
19321 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19322 wxWindow
*result
= 0 ;
19325 PyObject
*swig_obj
[1] ;
19327 if (!args
) SWIG_fail
;
19328 swig_obj
[0] = args
;
19329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19333 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= wxPyMake_wxObject(result
, 0);
19349 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19350 PyObject
*resultobj
= 0;
19351 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19355 PyObject
*swig_obj
[1] ;
19357 if (!args
) SWIG_fail
;
19358 swig_obj
[0] = args
;
19359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19360 if (!SWIG_IsOK(res1
)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19363 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_From_int(static_cast< int >(result
));
19377 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= 0;
19379 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19381 wxString
*arg3
= 0 ;
19387 bool temp3
= false ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 PyObject
* obj2
= 0 ;
19391 char * kwnames
[] = {
19392 (char *) "self",(char *) "n",(char *) "strText", NULL
19395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19397 if (!SWIG_IsOK(res1
)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19400 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19401 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19402 if (!SWIG_IsOK(ecode2
)) {
19403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19405 arg2
= static_cast< size_t >(val2
);
19407 arg3
= wxString_in_helper(obj2
);
19408 if (arg3
== NULL
) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19434 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char * kwnames
[] = {
19446 (char *) "self",(char *) "n", NULL
19449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19454 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19455 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19456 if (!SWIG_IsOK(ecode2
)) {
19457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19459 arg2
= static_cast< size_t >(val2
);
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19479 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= 0;
19481 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19482 wxImageList
*arg2
= (wxImageList
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char * kwnames
[] = {
19490 (char *) "self",(char *) "imageList", NULL
19493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19498 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19500 if (!SWIG_IsOK(res2
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19503 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetImageList(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19520 wxImageList
*arg2
= (wxImageList
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char * kwnames
[] = {
19527 (char *) "self",(char *) "imageList", NULL
19530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19535 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19536 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19537 if (!SWIG_IsOK(res2
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->AssignImageList(arg2
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_Py_Void();
19553 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19554 PyObject
*resultobj
= 0;
19555 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19556 wxImageList
*result
= 0 ;
19559 PyObject
*swig_obj
[1] ;
19561 if (!args
) SWIG_fail
;
19562 swig_obj
[0] = args
;
19563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19567 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19583 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
= 0;
19585 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char * kwnames
[] = {
19595 (char *) "self",(char *) "n", NULL
19598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19600 if (!SWIG_IsOK(res1
)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19603 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19604 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19605 if (!SWIG_IsOK(ecode2
)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19608 arg2
= static_cast< size_t >(val2
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_From_int(static_cast< int >(result
));
19622 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 PyObject
* obj2
= 0 ;
19637 char * kwnames
[] = {
19638 (char *) "self",(char *) "n",(char *) "imageId", NULL
19641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19643 if (!SWIG_IsOK(res1
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19646 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19647 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19648 if (!SWIG_IsOK(ecode2
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19651 arg2
= static_cast< size_t >(val2
);
19652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19653 if (!SWIG_IsOK(ecode3
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19656 arg3
= static_cast< int >(val3
);
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19672 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
= 0;
19674 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 char * kwnames
[] = {
19682 (char *) "self",(char *) "size", NULL
19685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19687 if (!SWIG_IsOK(res1
)) {
19688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19690 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= SWIG_Py_Void();
19708 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
= 0;
19710 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char * kwnames
[] = {
19719 (char *) "self",(char *) "sizePage", NULL
19722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19724 if (!SWIG_IsOK(res1
)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19727 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19745 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 PyObject
*resultobj
= 0;
19747 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19748 unsigned int result
;
19751 PyObject
*swig_obj
[1] ;
19753 if (!args
) SWIG_fail
;
19754 swig_obj
[0] = args
;
19755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19759 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19773 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
= 0;
19775 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19776 unsigned int arg2
;
19779 unsigned int val2
;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "self",(char *) "internalBorder", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19792 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19793 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19794 if (!SWIG_IsOK(ecode2
)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19797 arg2
= static_cast< unsigned int >(val2
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->SetInternalBorder(arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19811 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19812 PyObject
*resultobj
= 0;
19813 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19817 PyObject
*swig_obj
[1] ;
19819 if (!args
) SWIG_fail
;
19820 swig_obj
[0] = args
;
19821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19825 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
= 0;
19843 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "margin", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19860 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19862 if (!SWIG_IsOK(ecode2
)) {
19863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19865 arg2
= static_cast< int >(val2
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->SetControlMargin(arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19879 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19880 PyObject
*resultobj
= 0;
19881 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19885 PyObject
*swig_obj
[1] ;
19887 if (!args
) SWIG_fail
;
19888 swig_obj
[0] = args
;
19889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19890 if (!SWIG_IsOK(res1
)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19893 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_From_int(static_cast< int >(result
));
19907 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
= 0;
19909 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char * kwnames
[] = {
19918 (char *) "self",(char *) "fit", NULL
19921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19927 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19928 if (!SWIG_IsOK(ecode2
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19931 arg2
= static_cast< bool >(val2
);
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 (arg1
)->SetFitToCurrentPage(arg2
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_Py_Void();
19945 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19946 PyObject
*resultobj
= 0;
19947 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19951 PyObject
*swig_obj
[1] ;
19953 if (!args
) SWIG_fail
;
19954 swig_obj
[0] = args
;
19955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19959 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19976 PyObject
*resultobj
= 0;
19977 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19978 wxSizer
*result
= 0 ;
19981 PyObject
*swig_obj
[1] ;
19983 if (!args
) SWIG_fail
;
19984 swig_obj
[0] = args
;
19985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19986 if (!SWIG_IsOK(res1
)) {
19987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19989 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20005 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
= 0;
20007 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char * kwnames
[] = {
20017 (char *) "self",(char *) "n", NULL
20020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20022 if (!SWIG_IsOK(res1
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20025 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20027 if (!SWIG_IsOK(ecode2
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20030 arg2
= static_cast< size_t >(val2
);
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (bool)(arg1
)->DeletePage(arg2
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= 0;
20048 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char * kwnames
[] = {
20058 (char *) "self",(char *) "n", NULL
20061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20063 if (!SWIG_IsOK(res1
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20066 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20067 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20068 if (!SWIG_IsOK(ecode2
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20071 arg2
= static_cast< size_t >(val2
);
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)(arg1
)->RemovePage(arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20087 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20088 PyObject
*resultobj
= 0;
20089 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20093 PyObject
*swig_obj
[1] ;
20095 if (!args
) SWIG_fail
;
20096 swig_obj
[0] = args
;
20097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20101 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)(arg1
)->DeleteAllPages();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20117 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20120 wxWindow
*arg2
= (wxWindow
*) 0 ;
20121 wxString
*arg3
= 0 ;
20122 bool arg4
= (bool) false ;
20123 int arg5
= (int) -1 ;
20129 bool temp3
= false ;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 PyObject
* obj2
= 0 ;
20137 PyObject
* obj3
= 0 ;
20138 PyObject
* obj4
= 0 ;
20139 char * kwnames
[] = {
20140 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20148 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20150 if (!SWIG_IsOK(res2
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20155 arg3
= wxString_in_helper(obj2
);
20156 if (arg3
== NULL
) SWIG_fail
;
20160 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20161 if (!SWIG_IsOK(ecode4
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20164 arg4
= static_cast< bool >(val4
);
20167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20168 if (!SWIG_IsOK(ecode5
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20171 arg5
= static_cast< int >(val5
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
= 0;
20198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20200 wxWindow
*arg3
= (wxWindow
*) 0 ;
20201 wxString
*arg4
= 0 ;
20202 bool arg5
= (bool) false ;
20203 int arg6
= (int) -1 ;
20211 bool temp4
= false ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 PyObject
* obj2
= 0 ;
20219 PyObject
* obj3
= 0 ;
20220 PyObject
* obj4
= 0 ;
20221 PyObject
* obj5
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20231 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20232 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20233 if (!SWIG_IsOK(ecode2
)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20236 arg2
= static_cast< size_t >(val2
);
20237 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20238 if (!SWIG_IsOK(res3
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20241 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20243 arg4
= wxString_in_helper(obj3
);
20244 if (arg4
== NULL
) SWIG_fail
;
20248 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20249 if (!SWIG_IsOK(ecode5
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20252 arg5
= static_cast< bool >(val5
);
20255 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20256 if (!SWIG_IsOK(ecode6
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20259 arg6
= static_cast< int >(val6
);
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20284 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= 0;
20286 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char * kwnames
[] = {
20296 (char *) "self",(char *) "n", NULL
20299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20301 if (!SWIG_IsOK(res1
)) {
20302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20304 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20305 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20306 if (!SWIG_IsOK(ecode2
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20309 arg2
= static_cast< size_t >(val2
);
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)(arg1
)->SetSelection(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_From_int(static_cast< int >(result
));
20323 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
= 0;
20325 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char * kwnames
[] = {
20335 (char *) "self",(char *) "n", NULL
20338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20340 if (!SWIG_IsOK(res1
)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20343 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20344 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20345 if (!SWIG_IsOK(ecode2
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20348 arg2
= static_cast< size_t >(val2
);
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (int)(arg1
)->ChangeSelection(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_From_int(static_cast< int >(result
));
20362 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
= 0;
20364 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20365 bool arg2
= (bool) true ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "forward", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20383 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20384 if (!SWIG_IsOK(ecode2
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20387 arg2
= static_cast< bool >(val2
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->AdvanceSelection(arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20402 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= 0;
20404 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20405 wxPoint
*arg2
= 0 ;
20406 long *arg3
= (long *) 0 ;
20412 int res3
= SWIG_TMPOBJ
;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "pt", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20425 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_From_int(static_cast< int >(result
));
20437 if (SWIG_IsTmpObj(res3
)) {
20438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20440 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20449 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
= 0;
20451 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20452 SwigValueWrapper
<wxVisualAttributes
> result
;
20455 PyObject
* obj0
= 0 ;
20456 char * kwnames
[] = {
20457 (char *) "variant", NULL
20460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20463 if (!SWIG_IsOK(ecode1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20466 arg1
= static_cast< wxWindowVariant
>(val1
);
20469 if (!wxPyCheckForApp()) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20482 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20485 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20486 return SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20492 int arg2
= (int) 0 ;
20493 int arg3
= (int) -1 ;
20494 int arg4
= (int) -1 ;
20495 wxBookCtrlBaseEvent
*result
= 0 ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 PyObject
* obj2
= 0 ;
20507 PyObject
* obj3
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20515 if (!SWIG_IsOK(ecode1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20518 arg1
= static_cast< wxEventType
>(val1
);
20521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20522 if (!SWIG_IsOK(ecode2
)) {
20523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20525 arg2
= static_cast< int >(val2
);
20528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20529 if (!SWIG_IsOK(ecode3
)) {
20530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20532 arg3
= static_cast< int >(val3
);
20535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20536 if (!SWIG_IsOK(ecode4
)) {
20537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20539 arg4
= static_cast< int >(val4
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20554 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20568 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_From_int(static_cast< int >(result
));
20582 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
= 0;
20584 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char * kwnames
[] = {
20593 (char *) "self",(char *) "nSel", NULL
20596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20598 if (!SWIG_IsOK(res1
)) {
20599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20601 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20603 if (!SWIG_IsOK(ecode2
)) {
20604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20606 arg2
= static_cast< int >(val2
);
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 (arg1
)->SetSelection(arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_Py_Void();
20620 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20621 PyObject
*resultobj
= 0;
20622 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20626 PyObject
*swig_obj
[1] ;
20628 if (!args
) SWIG_fail
;
20629 swig_obj
[0] = args
;
20630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20631 if (!SWIG_IsOK(res1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20634 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= SWIG_From_int(static_cast< int >(result
));
20648 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
= 0;
20650 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 char * kwnames
[] = {
20659 (char *) "self",(char *) "nOldSel", NULL
20662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20664 if (!SWIG_IsOK(res1
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20667 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20669 if (!SWIG_IsOK(ecode2
)) {
20670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20672 arg2
= static_cast< int >(val2
);
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->SetOldSelection(arg2
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_Py_Void();
20686 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20689 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20690 return SWIG_Py_Void();
20693 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20694 return SWIG_Python_InitShadowInstance(args
);
20697 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= 0;
20699 wxWindow
*arg1
= (wxWindow
*) 0 ;
20700 int arg2
= (int) -1 ;
20701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20705 long arg5
= (long) 0 ;
20706 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20707 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20708 wxNotebook
*result
= 0 ;
20717 bool temp6
= false ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 PyObject
* obj2
= 0 ;
20721 PyObject
* obj3
= 0 ;
20722 PyObject
* obj4
= 0 ;
20723 PyObject
* obj5
= 0 ;
20724 char * kwnames
[] = {
20725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20730 if (!SWIG_IsOK(res1
)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20736 if (!SWIG_IsOK(ecode2
)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20739 arg2
= static_cast< int >(val2
);
20744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20754 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20755 if (!SWIG_IsOK(ecode5
)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20758 arg5
= static_cast< long >(val5
);
20762 arg6
= wxString_in_helper(obj5
);
20763 if (arg6
== NULL
) SWIG_fail
;
20768 if (!wxPyCheckForApp()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20789 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20790 PyObject
*resultobj
= 0;
20791 wxNotebook
*result
= 0 ;
20793 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20795 if (!wxPyCheckForApp()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxNotebook
*)new wxNotebook();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20808 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
= 0;
20810 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20811 wxWindow
*arg2
= (wxWindow
*) 0 ;
20812 int arg3
= (int) -1 ;
20813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20817 long arg6
= (long) 0 ;
20818 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20831 bool temp7
= false ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 PyObject
* obj2
= 0 ;
20835 PyObject
* obj3
= 0 ;
20836 PyObject
* obj4
= 0 ;
20837 PyObject
* obj5
= 0 ;
20838 PyObject
* obj6
= 0 ;
20839 char * kwnames
[] = {
20840 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20848 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20850 if (!SWIG_IsOK(res2
)) {
20851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20853 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20856 if (!SWIG_IsOK(ecode3
)) {
20857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20859 arg3
= static_cast< int >(val3
);
20864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20874 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20875 if (!SWIG_IsOK(ecode6
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20878 arg6
= static_cast< long >(val6
);
20882 arg7
= wxString_in_helper(obj6
);
20883 if (arg7
== NULL
) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20910 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 PyObject
*resultobj
= 0;
20912 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20924 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_From_int(static_cast< int >(result
));
20938 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
= 0;
20940 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "self",(char *) "padding", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20956 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_Py_Void();
20974 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= 0;
20976 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "self",(char *) "sz", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20992 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_Py_Void();
21010 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21011 PyObject
*resultobj
= 0;
21012 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21016 PyObject
*swig_obj
[1] ;
21018 if (!args
) SWIG_fail
;
21019 swig_obj
[0] = args
;
21020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21024 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21038 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21041 SwigValueWrapper
<wxVisualAttributes
> result
;
21044 PyObject
* obj0
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "variant", NULL
21049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21052 if (!SWIG_IsOK(ecode1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21055 arg1
= static_cast< wxWindowVariant
>(val1
);
21058 if (!wxPyCheckForApp()) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21071 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
= 0;
21073 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char * kwnames
[] = {
21083 (char *) "self",(char *) "nPage", NULL
21086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21088 if (!SWIG_IsOK(res1
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21091 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21093 if (!SWIG_IsOK(ecode2
)) {
21094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21096 arg2
= static_cast< int >(val2
);
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21112 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= 0;
21114 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21116 int arg3
= (int) -1 ;
21123 PyObject
* obj0
= 0 ;
21124 PyObject
* obj1
= 0 ;
21125 PyObject
* obj2
= 0 ;
21126 char * kwnames
[] = {
21127 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21135 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21137 if (!SWIG_IsOK(ecode2
)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21140 arg2
= static_cast< int >(val2
);
21142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21143 if (!SWIG_IsOK(ecode3
)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21146 arg3
= static_cast< int >(val3
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_Py_Void();
21161 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21164 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21165 return SWIG_Py_Void();
21168 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21169 return SWIG_Python_InitShadowInstance(args
);
21172 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
= 0;
21174 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21175 int arg2
= (int) 0 ;
21176 int arg3
= (int) -1 ;
21177 int arg4
= (int) -1 ;
21178 wxNotebookEvent
*result
= 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 PyObject
* obj2
= 0 ;
21190 PyObject
* obj3
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21198 if (!SWIG_IsOK(ecode1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21201 arg1
= static_cast< wxEventType
>(val1
);
21204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21205 if (!SWIG_IsOK(ecode2
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21208 arg2
= static_cast< int >(val2
);
21211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21212 if (!SWIG_IsOK(ecode3
)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21215 arg3
= static_cast< int >(val3
);
21218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21219 if (!SWIG_IsOK(ecode4
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21222 arg4
= static_cast< int >(val4
);
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21237 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21240 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21241 return SWIG_Py_Void();
21244 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 return SWIG_Python_InitShadowInstance(args
);
21248 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
= 0;
21250 wxWindow
*arg1
= (wxWindow
*) 0 ;
21251 int arg2
= (int) -1 ;
21252 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21253 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21254 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21255 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21256 long arg5
= (long) 0 ;
21257 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21258 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21259 wxListbook
*result
= 0 ;
21268 bool temp6
= false ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 PyObject
* obj2
= 0 ;
21272 PyObject
* obj3
= 0 ;
21273 PyObject
* obj4
= 0 ;
21274 PyObject
* obj5
= 0 ;
21275 char * kwnames
[] = {
21276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21281 if (!SWIG_IsOK(res1
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21287 if (!SWIG_IsOK(ecode2
)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21290 arg2
= static_cast< int >(val2
);
21295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21301 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21305 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21306 if (!SWIG_IsOK(ecode5
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21309 arg5
= static_cast< long >(val5
);
21313 arg6
= wxString_in_helper(obj5
);
21314 if (arg6
== NULL
) SWIG_fail
;
21319 if (!wxPyCheckForApp()) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21340 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21341 PyObject
*resultobj
= 0;
21342 wxListbook
*result
= 0 ;
21344 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21346 if (!wxPyCheckForApp()) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (wxListbook
*)new wxListbook();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21359 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxListbook
*arg1
= (wxListbook
*) 0 ;
21362 wxWindow
*arg2
= (wxWindow
*) 0 ;
21363 int arg3
= (int) -1 ;
21364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21368 long arg6
= (long) 0 ;
21369 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21382 bool temp7
= false ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 PyObject
* obj2
= 0 ;
21386 PyObject
* obj3
= 0 ;
21387 PyObject
* obj4
= 0 ;
21388 PyObject
* obj5
= 0 ;
21389 PyObject
* obj6
= 0 ;
21390 char * kwnames
[] = {
21391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21396 if (!SWIG_IsOK(res1
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21399 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21401 if (!SWIG_IsOK(res2
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21407 if (!SWIG_IsOK(ecode3
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21410 arg3
= static_cast< int >(val3
);
21415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21425 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21426 if (!SWIG_IsOK(ecode6
)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21429 arg6
= static_cast< long >(val6
);
21433 arg7
= wxString_in_helper(obj6
);
21434 if (arg7
== NULL
) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21461 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21462 PyObject
*resultobj
= 0;
21463 wxListbook
*arg1
= (wxListbook
*) 0 ;
21464 wxListView
*result
= 0 ;
21467 PyObject
*swig_obj
[1] ;
21469 if (!args
) SWIG_fail
;
21470 swig_obj
[0] = args
;
21471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21475 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxListView
*)(arg1
)->GetListView();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21489 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21492 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21493 return SWIG_Py_Void();
21496 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 return SWIG_Python_InitShadowInstance(args
);
21500 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
= 0;
21502 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21503 int arg2
= (int) 0 ;
21504 int arg3
= (int) -1 ;
21505 int arg4
= (int) -1 ;
21506 wxListbookEvent
*result
= 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 char * kwnames
[] = {
21520 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21525 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21526 if (!SWIG_IsOK(ecode1
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21529 arg1
= static_cast< wxEventType
>(val1
);
21532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21533 if (!SWIG_IsOK(ecode2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21536 arg2
= static_cast< int >(val2
);
21539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21540 if (!SWIG_IsOK(ecode3
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21543 arg3
= static_cast< int >(val3
);
21546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21547 if (!SWIG_IsOK(ecode4
)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21550 arg4
= static_cast< int >(val4
);
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21565 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21568 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21569 return SWIG_Py_Void();
21572 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21573 return SWIG_Python_InitShadowInstance(args
);
21576 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
= 0;
21578 wxWindow
*arg1
= (wxWindow
*) 0 ;
21580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21584 long arg5
= (long) 0 ;
21585 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21587 wxChoicebook
*result
= 0 ;
21596 bool temp6
= false ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 PyObject
* obj2
= 0 ;
21600 PyObject
* obj3
= 0 ;
21601 PyObject
* obj4
= 0 ;
21602 PyObject
* obj5
= 0 ;
21603 char * kwnames
[] = {
21604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21609 if (!SWIG_IsOK(res1
)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21614 if (!SWIG_IsOK(ecode2
)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21617 arg2
= static_cast< int >(val2
);
21621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21631 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21632 if (!SWIG_IsOK(ecode5
)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21635 arg5
= static_cast< long >(val5
);
21639 arg6
= wxString_in_helper(obj5
);
21640 if (arg6
== NULL
) SWIG_fail
;
21645 if (!wxPyCheckForApp()) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21666 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21667 PyObject
*resultobj
= 0;
21668 wxChoicebook
*result
= 0 ;
21670 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21672 if (!wxPyCheckForApp()) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (wxChoicebook
*)new wxChoicebook();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21685 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
= 0;
21687 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21688 wxWindow
*arg2
= (wxWindow
*) 0 ;
21690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21694 long arg6
= (long) 0 ;
21695 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21708 bool temp7
= false ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 PyObject
* obj2
= 0 ;
21712 PyObject
* obj3
= 0 ;
21713 PyObject
* obj4
= 0 ;
21714 PyObject
* obj5
= 0 ;
21715 PyObject
* obj6
= 0 ;
21716 char * kwnames
[] = {
21717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21725 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21727 if (!SWIG_IsOK(res2
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21732 if (!SWIG_IsOK(ecode3
)) {
21733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21735 arg3
= static_cast< int >(val3
);
21739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21749 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21750 if (!SWIG_IsOK(ecode6
)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21753 arg6
= static_cast< long >(val6
);
21757 arg7
= wxString_in_helper(obj6
);
21758 if (arg7
== NULL
) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21786 PyObject
*resultobj
= 0;
21787 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21788 wxChoice
*result
= 0 ;
21791 PyObject
*swig_obj
[1] ;
21793 if (!args
) SWIG_fail
;
21794 swig_obj
[0] = args
;
21795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21799 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21813 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21816 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21817 return SWIG_Py_Void();
21820 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 return SWIG_Python_InitShadowInstance(args
);
21824 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
= 0;
21826 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21827 int arg2
= (int) 0 ;
21828 int arg3
= (int) -1 ;
21829 int arg4
= (int) -1 ;
21830 wxChoicebookEvent
*result
= 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 PyObject
* obj2
= 0 ;
21842 PyObject
* obj3
= 0 ;
21843 char * kwnames
[] = {
21844 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21850 if (!SWIG_IsOK(ecode1
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21853 arg1
= static_cast< wxEventType
>(val1
);
21856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21857 if (!SWIG_IsOK(ecode2
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21860 arg2
= static_cast< int >(val2
);
21863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21864 if (!SWIG_IsOK(ecode3
)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21867 arg3
= static_cast< int >(val3
);
21870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21871 if (!SWIG_IsOK(ecode4
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21874 arg4
= static_cast< int >(val4
);
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21889 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21892 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21893 return SWIG_Py_Void();
21896 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21897 return SWIG_Python_InitShadowInstance(args
);
21900 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
= 0;
21902 wxWindow
*arg1
= (wxWindow
*) 0 ;
21904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21908 long arg5
= (long) wxBK_DEFAULT
;
21909 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21910 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21911 wxTreebook
*result
= 0 ;
21920 bool temp6
= false ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 PyObject
* obj3
= 0 ;
21925 PyObject
* obj4
= 0 ;
21926 PyObject
* obj5
= 0 ;
21927 char * kwnames
[] = {
21928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21933 if (!SWIG_IsOK(res1
)) {
21934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21936 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21938 if (!SWIG_IsOK(ecode2
)) {
21939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21941 arg2
= static_cast< int >(val2
);
21945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21955 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21956 if (!SWIG_IsOK(ecode5
)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21959 arg5
= static_cast< long >(val5
);
21963 arg6
= wxString_in_helper(obj5
);
21964 if (arg6
== NULL
) SWIG_fail
;
21969 if (!wxPyCheckForApp()) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21990 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21991 PyObject
*resultobj
= 0;
21992 wxTreebook
*result
= 0 ;
21994 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21996 if (!wxPyCheckForApp()) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxTreebook
*)new wxTreebook();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22009 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
= 0;
22011 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22012 wxWindow
*arg2
= (wxWindow
*) 0 ;
22014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22018 long arg6
= (long) wxBK_DEFAULT
;
22019 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22032 bool temp7
= false ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 PyObject
* obj2
= 0 ;
22036 PyObject
* obj3
= 0 ;
22037 PyObject
* obj4
= 0 ;
22038 PyObject
* obj5
= 0 ;
22039 PyObject
* obj6
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22049 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22051 if (!SWIG_IsOK(res2
)) {
22052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22056 if (!SWIG_IsOK(ecode3
)) {
22057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22059 arg3
= static_cast< int >(val3
);
22063 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22069 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22073 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22074 if (!SWIG_IsOK(ecode6
)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22077 arg6
= static_cast< long >(val6
);
22081 arg7
= wxString_in_helper(obj6
);
22082 if (arg7
== NULL
) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22113 wxWindow
*arg3
= (wxWindow
*) 0 ;
22114 wxString
*arg4
= 0 ;
22115 bool arg5
= (bool) false ;
22116 int arg6
= (int) wxNOT_FOUND
;
22124 bool temp4
= false ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 PyObject
* obj2
= 0 ;
22132 PyObject
* obj3
= 0 ;
22133 PyObject
* obj4
= 0 ;
22134 PyObject
* obj5
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22144 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22145 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22146 if (!SWIG_IsOK(ecode2
)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22149 arg2
= static_cast< size_t >(val2
);
22150 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22151 if (!SWIG_IsOK(res3
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22154 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22156 arg4
= wxString_in_helper(obj3
);
22157 if (arg4
== NULL
) SWIG_fail
;
22161 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22162 if (!SWIG_IsOK(ecode5
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22165 arg5
= static_cast< bool >(val5
);
22168 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22169 if (!SWIG_IsOK(ecode6
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22172 arg6
= static_cast< int >(val6
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
= 0;
22199 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22200 wxWindow
*arg2
= (wxWindow
*) 0 ;
22201 wxString
*arg3
= 0 ;
22202 bool arg4
= (bool) false ;
22203 int arg5
= (int) wxNOT_FOUND
;
22209 bool temp3
= false ;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 PyObject
* obj3
= 0 ;
22218 PyObject
* obj4
= 0 ;
22219 char * kwnames
[] = {
22220 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22228 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22230 if (!SWIG_IsOK(res2
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22235 arg3
= wxString_in_helper(obj2
);
22236 if (arg3
== NULL
) SWIG_fail
;
22240 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22241 if (!SWIG_IsOK(ecode4
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22244 arg4
= static_cast< bool >(val4
);
22247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22248 if (!SWIG_IsOK(ecode5
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22251 arg5
= static_cast< int >(val5
);
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22276 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= 0;
22278 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char * kwnames
[] = {
22288 (char *) "self",(char *) "pos", NULL
22291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22296 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22297 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22298 if (!SWIG_IsOK(ecode2
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22301 arg2
= static_cast< size_t >(val2
);
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22317 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
= 0;
22319 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22321 bool arg3
= (bool) true ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "self",(char *) "pos",(char *) "expand", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22341 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22342 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22343 if (!SWIG_IsOK(ecode2
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22346 arg2
= static_cast< size_t >(val2
);
22348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22349 if (!SWIG_IsOK(ecode3
)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22352 arg3
= static_cast< bool >(val3
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22369 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
= 0;
22371 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char * kwnames
[] = {
22381 (char *) "self",(char *) "pos", NULL
22384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22386 if (!SWIG_IsOK(res1
)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22389 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22390 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22391 if (!SWIG_IsOK(ecode2
)) {
22392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22394 arg2
= static_cast< size_t >(val2
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (bool)(arg1
)->CollapseNode(arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22410 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
= 0;
22412 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 PyObject
* obj1
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "self",(char *) "pos", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22427 if (!SWIG_IsOK(res1
)) {
22428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22430 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22431 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22432 if (!SWIG_IsOK(ecode2
)) {
22433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22435 arg2
= static_cast< size_t >(val2
);
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_From_int(static_cast< int >(result
));
22449 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 PyObject
*resultobj
= 0;
22451 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22452 wxPyTreeCtrl
*result
= 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22463 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22479 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22482 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22483 return SWIG_Py_Void();
22486 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22487 return SWIG_Python_InitShadowInstance(args
);
22490 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
= 0;
22492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22493 int arg2
= (int) 0 ;
22494 int arg3
= (int) wxNOT_FOUND
;
22495 int arg4
= (int) wxNOT_FOUND
;
22496 wxTreebookEvent
*result
= 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 PyObject
* obj2
= 0 ;
22508 PyObject
* obj3
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22515 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22516 if (!SWIG_IsOK(ecode1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22519 arg1
= static_cast< wxEventType
>(val1
);
22522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22523 if (!SWIG_IsOK(ecode2
)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22526 arg2
= static_cast< int >(val2
);
22529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22530 if (!SWIG_IsOK(ecode3
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22533 arg3
= static_cast< int >(val3
);
22536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22537 if (!SWIG_IsOK(ecode4
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22540 arg4
= static_cast< int >(val4
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22555 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22558 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22559 return SWIG_Py_Void();
22562 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 return SWIG_Python_InitShadowInstance(args
);
22566 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxWindow
*arg1
= (wxWindow
*) 0 ;
22570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22574 long arg5
= (long) wxBK_DEFAULT
;
22575 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22577 wxToolbook
*result
= 0 ;
22586 bool temp6
= false ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 PyObject
* obj2
= 0 ;
22590 PyObject
* obj3
= 0 ;
22591 PyObject
* obj4
= 0 ;
22592 PyObject
* obj5
= 0 ;
22593 char * kwnames
[] = {
22594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22604 if (!SWIG_IsOK(ecode2
)) {
22605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22607 arg2
= static_cast< int >(val2
);
22611 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22617 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22621 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22622 if (!SWIG_IsOK(ecode5
)) {
22623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22625 arg5
= static_cast< long >(val5
);
22629 arg6
= wxString_in_helper(obj5
);
22630 if (arg6
== NULL
) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22655 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22656 PyObject
*resultobj
= 0;
22657 wxToolbook
*result
= 0 ;
22659 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (wxToolbook
*)new wxToolbook();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22673 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
= 0;
22675 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22676 wxWindow
*arg2
= (wxWindow
*) 0 ;
22678 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22679 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22680 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22681 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22682 long arg6
= (long) 0 ;
22683 wxString
const &arg7_defvalue
= wxEmptyString
;
22684 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22696 bool temp7
= false ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 PyObject
* obj2
= 0 ;
22700 PyObject
* obj3
= 0 ;
22701 PyObject
* obj4
= 0 ;
22702 PyObject
* obj5
= 0 ;
22703 PyObject
* obj6
= 0 ;
22704 char * kwnames
[] = {
22705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22713 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22715 if (!SWIG_IsOK(res2
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22720 if (!SWIG_IsOK(ecode3
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22723 arg3
= static_cast< int >(val3
);
22727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22737 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22738 if (!SWIG_IsOK(ecode6
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22741 arg6
= static_cast< long >(val6
);
22745 arg7
= wxString_in_helper(obj6
);
22746 if (arg7
== NULL
) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22773 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22776 wxToolBarBase
*result
= 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22787 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22803 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22804 PyObject
*resultobj
= 0;
22805 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22808 PyObject
*swig_obj
[1] ;
22810 if (!args
) SWIG_fail
;
22811 swig_obj
[0] = args
;
22812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22816 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_Py_Void();
22830 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22833 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22834 return SWIG_Py_Void();
22837 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 return SWIG_Python_InitShadowInstance(args
);
22841 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22844 int arg2
= (int) 0 ;
22845 int arg3
= (int) wxNOT_FOUND
;
22846 int arg4
= (int) wxNOT_FOUND
;
22847 wxToolbookEvent
*result
= 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 PyObject
* obj2
= 0 ;
22859 PyObject
* obj3
= 0 ;
22860 char * kwnames
[] = {
22861 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22867 if (!SWIG_IsOK(ecode1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22870 arg1
= static_cast< wxEventType
>(val1
);
22873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22874 if (!SWIG_IsOK(ecode2
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22877 arg2
= static_cast< int >(val2
);
22880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22881 if (!SWIG_IsOK(ecode3
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22884 arg3
= static_cast< int >(val3
);
22887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22888 if (!SWIG_IsOK(ecode4
)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22891 arg4
= static_cast< int >(val4
);
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22906 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22909 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22910 return SWIG_Py_Void();
22913 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22914 return SWIG_Python_InitShadowInstance(args
);
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22931 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (int)(arg1
)->GetId();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_From_int(static_cast< int >(result
));
22945 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 PyObject
*resultobj
= 0;
22947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22948 wxControl
*result
= 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22959 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (wxControl
*)(arg1
)->GetControl();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= wxPyMake_wxObject(result
, 0);
22975 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22978 wxToolBarBase
*result
= 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23005 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(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_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23019 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (int)(arg1
)->IsButton();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_From_int(static_cast< int >(result
));
23033 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(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_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23047 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (int)(arg1
)->IsControl();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_From_int(static_cast< int >(result
));
23061 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23075 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (int)(arg1
)->IsSeparator();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_From_int(static_cast< int >(result
));
23089 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 PyObject
*resultobj
= 0;
23091 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23095 PyObject
*swig_obj
[1] ;
23097 if (!args
) SWIG_fail
;
23098 swig_obj
[0] = args
;
23099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23103 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (int)(arg1
)->GetStyle();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_From_int(static_cast< int >(result
));
23117 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23123 PyObject
*swig_obj
[1] ;
23125 if (!args
) SWIG_fail
;
23126 swig_obj
[0] = args
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23131 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (wxItemKind
)(arg1
)->GetKind();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_From_int(static_cast< int >(result
));
23145 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23146 PyObject
*resultobj
= 0;
23147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23151 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23159 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (bool)(arg1
)->IsEnabled();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23176 PyObject
*resultobj
= 0;
23177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23181 PyObject
*swig_obj
[1] ;
23183 if (!args
) SWIG_fail
;
23184 swig_obj
[0] = args
;
23185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23189 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (bool)(arg1
)->IsToggled();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23205 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23206 PyObject
*resultobj
= 0;
23207 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23211 PyObject
*swig_obj
[1] ;
23213 if (!args
) SWIG_fail
;
23214 swig_obj
[0] = args
;
23215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23216 if (!SWIG_IsOK(res1
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23219 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)(arg1
)->CanBeToggled();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23235 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 PyObject
*resultobj
= 0;
23237 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23238 wxBitmap
*result
= 0 ;
23241 PyObject
*swig_obj
[1] ;
23243 if (!args
) SWIG_fail
;
23244 swig_obj
[0] = args
;
23245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23249 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23254 result
= (wxBitmap
*) &_result_ref
;
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 wxBitmap
* resultptr
= new wxBitmap(*result
);
23261 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23269 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 PyObject
*resultobj
= 0;
23271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23272 wxBitmap
*result
= 0 ;
23275 PyObject
*swig_obj
[1] ;
23277 if (!args
) SWIG_fail
;
23278 swig_obj
[0] = args
;
23279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23283 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23288 result
= (wxBitmap
*) &_result_ref
;
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 wxBitmap
* resultptr
= new wxBitmap(*result
);
23295 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23303 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23304 PyObject
*resultobj
= 0;
23305 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23309 PyObject
*swig_obj
[1] ;
23311 if (!args
) SWIG_fail
;
23312 swig_obj
[0] = args
;
23313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23317 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (arg1
)->GetBitmap();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23331 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23332 PyObject
*resultobj
= 0;
23333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23345 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (arg1
)->GetLabel();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23365 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 PyObject
*resultobj
= 0;
23367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23371 PyObject
*swig_obj
[1] ;
23373 if (!args
) SWIG_fail
;
23374 swig_obj
[0] = args
;
23375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23379 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (arg1
)->GetShortHelp();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23399 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23400 PyObject
*resultobj
= 0;
23401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23405 PyObject
*swig_obj
[1] ;
23407 if (!args
) SWIG_fail
;
23408 swig_obj
[0] = args
;
23409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23413 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (arg1
)->GetLongHelp();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23433 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
= 0;
23435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char * kwnames
[] = {
23445 (char *) "self",(char *) "enable", NULL
23448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23453 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23455 if (!SWIG_IsOK(ecode2
)) {
23456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23458 arg2
= static_cast< bool >(val2
);
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (bool)(arg1
)->Enable(arg2
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23474 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 PyObject
*resultobj
= 0;
23476 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23479 PyObject
*swig_obj
[1] ;
23481 if (!args
) SWIG_fail
;
23482 swig_obj
[0] = args
;
23483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23487 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_Py_Void();
23501 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= 0;
23503 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "self",(char *) "toggle", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23521 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23523 if (!SWIG_IsOK(ecode2
)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23526 arg2
= static_cast< bool >(val2
);
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->SetToggle(arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23542 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
= 0;
23544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23545 wxString
*arg2
= 0 ;
23549 bool temp2
= false ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 char * kwnames
[] = {
23553 (char *) "self",(char *) "help", NULL
23556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23561 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23563 arg2
= wxString_in_helper(obj1
);
23564 if (arg2
== NULL
) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23590 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23592 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23593 wxString
*arg2
= 0 ;
23597 bool temp2
= false ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "self",(char *) "help", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23609 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23611 arg2
= wxString_in_helper(obj1
);
23612 if (arg2
== NULL
) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23638 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
= 0;
23640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23641 wxBitmap
*arg2
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char * kwnames
[] = {
23649 (char *) "self",(char *) "bmp", NULL
23652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23657 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23659 if (!SWIG_IsOK(res2
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_Py_Void();
23679 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
= 0;
23681 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23682 wxBitmap
*arg2
= 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char * kwnames
[] = {
23690 (char *) "self",(char *) "bmp", NULL
23693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23698 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23700 if (!SWIG_IsOK(res2
)) {
23701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23706 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_Py_Void();
23720 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
= 0;
23722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23723 wxString
*arg2
= 0 ;
23726 bool temp2
= false ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char * kwnames
[] = {
23730 (char *) "self",(char *) "label", NULL
23733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23738 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23740 arg2
= wxString_in_helper(obj1
);
23741 if (arg2
== NULL
) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetLabel((wxString
const &)*arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_Py_Void();
23765 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23766 PyObject
*resultobj
= 0;
23767 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23770 PyObject
*swig_obj
[1] ;
23772 if (!args
) SWIG_fail
;
23773 swig_obj
[0] = args
;
23774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23778 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_Py_Void();
23792 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23795 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 char * kwnames
[] = {
23803 (char *) "self",(char *) "tbar", NULL
23806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23811 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23813 if (!SWIG_IsOK(res2
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23816 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 (arg1
)->Attach(arg2
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_Py_Void();
23830 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23833 PyObject
*result
= 0 ;
23836 PyObject
*swig_obj
[1] ;
23838 if (!args
) SWIG_fail
;
23839 swig_obj
[0] = args
;
23840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23844 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= result
;
23858 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23861 PyObject
*arg2
= (PyObject
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 char * kwnames
[] = {
23867 (char *) "self",(char *) "clientData", NULL
23870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23875 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_Py_Void();
23890 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23893 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23894 return SWIG_Py_Void();
23897 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23901 wxString
*arg3
= 0 ;
23902 wxBitmap
*arg4
= 0 ;
23903 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23904 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23905 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23906 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23908 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23909 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23910 PyObject
*arg9
= (PyObject
*) NULL
;
23911 wxToolBarToolBase
*result
= 0 ;
23916 bool temp3
= false ;
23923 bool temp7
= false ;
23924 bool temp8
= false ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 PyObject
* obj2
= 0 ;
23928 PyObject
* obj3
= 0 ;
23929 PyObject
* obj4
= 0 ;
23930 PyObject
* obj5
= 0 ;
23931 PyObject
* obj6
= 0 ;
23932 PyObject
* obj7
= 0 ;
23933 PyObject
* obj8
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23948 arg2
= static_cast< int >(val2
);
23950 arg3
= wxString_in_helper(obj2
);
23951 if (arg3
== NULL
) SWIG_fail
;
23954 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23955 if (!SWIG_IsOK(res4
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23961 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23963 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23964 if (!SWIG_IsOK(res5
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23970 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23973 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23974 if (!SWIG_IsOK(ecode6
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23977 arg6
= static_cast< wxItemKind
>(val6
);
23981 arg7
= wxString_in_helper(obj6
);
23982 if (arg7
== NULL
) SWIG_fail
;
23988 arg8
= wxString_in_helper(obj7
);
23989 if (arg8
== NULL
) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24035 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
= 0;
24037 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24040 wxString
*arg4
= 0 ;
24041 wxBitmap
*arg5
= 0 ;
24042 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24043 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24044 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24045 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24047 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24048 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24049 PyObject
*arg10
= (PyObject
*) NULL
;
24050 wxToolBarToolBase
*result
= 0 ;
24057 bool temp4
= false ;
24064 bool temp8
= false ;
24065 bool temp9
= false ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 PyObject
* obj2
= 0 ;
24069 PyObject
* obj3
= 0 ;
24070 PyObject
* obj4
= 0 ;
24071 PyObject
* obj5
= 0 ;
24072 PyObject
* obj6
= 0 ;
24073 PyObject
* obj7
= 0 ;
24074 PyObject
* obj8
= 0 ;
24075 PyObject
* obj9
= 0 ;
24076 char * kwnames
[] = {
24077 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24082 if (!SWIG_IsOK(res1
)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24085 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24086 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24087 if (!SWIG_IsOK(ecode2
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24090 arg2
= static_cast< size_t >(val2
);
24091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24092 if (!SWIG_IsOK(ecode3
)) {
24093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24095 arg3
= static_cast< int >(val3
);
24097 arg4
= wxString_in_helper(obj3
);
24098 if (arg4
== NULL
) SWIG_fail
;
24101 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24102 if (!SWIG_IsOK(res5
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24108 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24110 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24111 if (!SWIG_IsOK(res6
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24117 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24120 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24121 if (!SWIG_IsOK(ecode7
)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24124 arg7
= static_cast< wxItemKind
>(val7
);
24128 arg8
= wxString_in_helper(obj7
);
24129 if (arg8
== NULL
) SWIG_fail
;
24135 arg9
= wxString_in_helper(obj8
);
24136 if (arg9
== NULL
) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24182 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24185 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24186 wxToolBarToolBase
*result
= 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "self",(char *) "tool", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24202 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24204 if (!SWIG_IsOK(res2
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24207 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24223 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
= 0;
24225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24227 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24228 wxToolBarToolBase
*result
= 0 ;
24235 PyObject
* obj0
= 0 ;
24236 PyObject
* obj1
= 0 ;
24237 PyObject
* obj2
= 0 ;
24238 char * kwnames
[] = {
24239 (char *) "self",(char *) "pos",(char *) "tool", NULL
24242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24247 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24248 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24249 if (!SWIG_IsOK(ecode2
)) {
24250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24252 arg2
= static_cast< size_t >(val2
);
24253 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24254 if (!SWIG_IsOK(res3
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24257 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24273 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
= 0;
24275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24276 wxControl
*arg2
= (wxControl
*) 0 ;
24277 wxToolBarToolBase
*result
= 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char * kwnames
[] = {
24285 (char *) "self",(char *) "control", NULL
24288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24293 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24295 if (!SWIG_IsOK(res2
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24298 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24314 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
= 0;
24316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24318 wxControl
*arg3
= (wxControl
*) 0 ;
24319 wxToolBarToolBase
*result
= 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 PyObject
* obj2
= 0 ;
24329 char * kwnames
[] = {
24330 (char *) "self",(char *) "pos",(char *) "control", NULL
24333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) 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_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24338 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24339 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24340 if (!SWIG_IsOK(ecode2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24343 arg2
= static_cast< size_t >(val2
);
24344 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24345 if (!SWIG_IsOK(res3
)) {
24346 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24348 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24364 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
= 0;
24366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24368 wxControl
*result
= 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char * kwnames
[] = {
24376 (char *) "self",(char *) "id", NULL
24379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24384 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24386 if (!SWIG_IsOK(ecode2
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24389 arg2
= static_cast< int >(val2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= wxPyMake_wxObject(result
, 0);
24405 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 PyObject
*resultobj
= 0;
24407 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24408 wxToolBarToolBase
*result
= 0 ;
24411 PyObject
*swig_obj
[1] ;
24413 if (!args
) SWIG_fail
;
24414 swig_obj
[0] = args
;
24415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24416 if (!SWIG_IsOK(res1
)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24419 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24435 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= 0;
24437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24439 wxToolBarToolBase
*result
= 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char * kwnames
[] = {
24447 (char *) "self",(char *) "pos", NULL
24450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24456 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24457 if (!SWIG_IsOK(ecode2
)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24460 arg2
= static_cast< size_t >(val2
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24476 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
= 0;
24478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24480 wxToolBarToolBase
*result
= 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char * kwnames
[] = {
24488 (char *) "self",(char *) "id", NULL
24491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24496 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24498 if (!SWIG_IsOK(ecode2
)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24501 arg2
= static_cast< int >(val2
);
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24517 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= 0;
24519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 char * kwnames
[] = {
24529 (char *) "self",(char *) "pos", NULL
24532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24537 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24538 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24539 if (!SWIG_IsOK(ecode2
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24542 arg2
= static_cast< size_t >(val2
);
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24558 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= 0;
24560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char * kwnames
[] = {
24570 (char *) "self",(char *) "id", NULL
24573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24575 if (!SWIG_IsOK(res1
)) {
24576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24578 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24580 if (!SWIG_IsOK(ecode2
)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24583 arg2
= static_cast< int >(val2
);
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (bool)(arg1
)->DeleteTool(arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24599 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24600 PyObject
*resultobj
= 0;
24601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24604 PyObject
*swig_obj
[1] ;
24606 if (!args
) SWIG_fail
;
24607 swig_obj
[0] = args
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24612 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 (arg1
)->ClearTools();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= SWIG_Py_Void();
24626 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 PyObject
*resultobj
= 0;
24628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24632 PyObject
*swig_obj
[1] ;
24634 if (!args
) SWIG_fail
;
24635 swig_obj
[0] = args
;
24636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24637 if (!SWIG_IsOK(res1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24640 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)(arg1
)->Realize();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 PyObject
* obj2
= 0 ;
24670 char * kwnames
[] = {
24671 (char *) "self",(char *) "id",(char *) "enable", NULL
24674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24676 if (!SWIG_IsOK(res1
)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24679 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24681 if (!SWIG_IsOK(ecode2
)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24684 arg2
= static_cast< int >(val2
);
24685 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24686 if (!SWIG_IsOK(ecode3
)) {
24687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24689 arg3
= static_cast< bool >(val3
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->EnableTool(arg2
,arg3
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_Py_Void();
24703 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
= 0;
24705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 PyObject
* obj2
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "self",(char *) "id",(char *) "toggle", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24726 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24728 if (!SWIG_IsOK(ecode2
)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24731 arg2
= static_cast< int >(val2
);
24732 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24733 if (!SWIG_IsOK(ecode3
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24736 arg3
= static_cast< bool >(val3
);
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 (arg1
)->ToggleTool(arg2
,arg3
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= SWIG_Py_Void();
24750 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
= 0;
24752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 PyObject
* obj2
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "id",(char *) "toggle", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24773 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24775 if (!SWIG_IsOK(ecode2
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24778 arg2
= static_cast< int >(val2
);
24779 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24780 if (!SWIG_IsOK(ecode3
)) {
24781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24783 arg3
= static_cast< bool >(val3
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->SetToggle(arg2
,arg3
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_Py_Void();
24797 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
= 0;
24799 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24801 PyObject
*result
= 0 ;
24806 PyObject
* obj0
= 0 ;
24807 PyObject
* obj1
= 0 ;
24808 char * kwnames
[] = {
24809 (char *) "self",(char *) "id", NULL
24812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24817 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24819 if (!SWIG_IsOK(ecode2
)) {
24820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24822 arg2
= static_cast< int >(val2
);
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= result
;
24836 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24840 PyObject
*arg3
= (PyObject
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 PyObject
* obj2
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "self",(char *) "id",(char *) "clientData", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24857 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24859 if (!SWIG_IsOK(ecode2
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24862 arg2
= static_cast< int >(val2
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_Py_Void();
24877 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
= 0;
24879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char * kwnames
[] = {
24889 (char *) "self",(char *) "id", NULL
24892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24897 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24899 if (!SWIG_IsOK(ecode2
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24902 arg2
= static_cast< int >(val2
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_From_int(static_cast< int >(result
));
24916 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= 0;
24918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char * kwnames
[] = {
24928 (char *) "self",(char *) "id", NULL
24931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24936 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24938 if (!SWIG_IsOK(ecode2
)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24941 arg2
= static_cast< int >(val2
);
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (bool)(arg1
)->GetToolState(arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24957 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
= 0;
24959 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char * kwnames
[] = {
24969 (char *) "self",(char *) "id", NULL
24972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24974 if (!SWIG_IsOK(res1
)) {
24975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24977 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24979 if (!SWIG_IsOK(ecode2
)) {
24980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24982 arg2
= static_cast< int >(val2
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24998 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
= 0;
25000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25002 wxString
*arg3
= 0 ;
25007 bool temp3
= false ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 char * kwnames
[] = {
25012 (char *) "self",(char *) "id",(char *) "helpString", NULL
25015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25020 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25022 if (!SWIG_IsOK(ecode2
)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25025 arg2
= static_cast< int >(val2
);
25027 arg3
= wxString_in_helper(obj2
);
25028 if (arg3
== NULL
) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_Py_Void();
25052 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= 0;
25054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char * kwnames
[] = {
25064 (char *) "self",(char *) "id", NULL
25067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25069 if (!SWIG_IsOK(res1
)) {
25070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25074 if (!SWIG_IsOK(ecode2
)) {
25075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25077 arg2
= static_cast< int >(val2
);
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (arg1
)->GetToolShortHelp(arg2
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25097 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25101 wxString
*arg3
= 0 ;
25106 bool temp3
= false ;
25107 PyObject
* obj0
= 0 ;
25108 PyObject
* obj1
= 0 ;
25109 PyObject
* obj2
= 0 ;
25110 char * kwnames
[] = {
25111 (char *) "self",(char *) "id",(char *) "helpString", NULL
25114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25116 if (!SWIG_IsOK(res1
)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25119 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25121 if (!SWIG_IsOK(ecode2
)) {
25122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25124 arg2
= static_cast< int >(val2
);
25126 arg3
= wxString_in_helper(obj2
);
25127 if (arg3
== NULL
) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_Py_Void();
25151 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char * kwnames
[] = {
25163 (char *) "self",(char *) "id", NULL
25166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25171 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25173 if (!SWIG_IsOK(ecode2
)) {
25174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25176 arg2
= static_cast< int >(val2
);
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (arg1
)->GetToolLongHelp(arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25196 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "self",(char *) "x",(char *) "y", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25219 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25221 if (!SWIG_IsOK(ecode2
)) {
25222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25224 arg2
= static_cast< int >(val2
);
25225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25226 if (!SWIG_IsOK(ecode3
)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25229 arg3
= static_cast< int >(val3
);
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 (arg1
)->SetMargins(arg2
,arg3
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_Py_Void();
25243 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
= 0;
25245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 char * kwnames
[] = {
25253 (char *) "self",(char *) "size", NULL
25256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25258 if (!SWIG_IsOK(res1
)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25261 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25264 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= SWIG_Py_Void();
25279 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
= 0;
25281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 char * kwnames
[] = {
25290 (char *) "self",(char *) "packing", NULL
25293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25295 if (!SWIG_IsOK(res1
)) {
25296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25298 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25300 if (!SWIG_IsOK(ecode2
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25303 arg2
= static_cast< int >(val2
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 (arg1
)->SetToolPacking(arg2
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_Py_Void();
25317 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "separation", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25336 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25338 if (!SWIG_IsOK(ecode2
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25341 arg2
= static_cast< int >(val2
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 (arg1
)->SetToolSeparation(arg2
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 PyObject
*resultobj
= 0;
25357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25369 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (arg1
)->GetToolMargins();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25383 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25384 PyObject
*resultobj
= 0;
25385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25389 PyObject
*swig_obj
[1] ;
25391 if (!args
) SWIG_fail
;
25392 swig_obj
[0] = args
;
25393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (arg1
)->GetMargins();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25411 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 PyObject
*resultobj
= 0;
25413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25417 PyObject
*swig_obj
[1] ;
25419 if (!args
) SWIG_fail
;
25420 swig_obj
[0] = args
;
25421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25425 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (int)(arg1
)->GetToolPacking();
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_From_int(static_cast< int >(result
));
25439 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 PyObject
*resultobj
= 0;
25441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25445 PyObject
*swig_obj
[1] ;
25447 if (!args
) SWIG_fail
;
25448 swig_obj
[0] = args
;
25449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25453 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (int)(arg1
)->GetToolSeparation();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_From_int(static_cast< int >(result
));
25467 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25475 PyObject
* obj0
= 0 ;
25476 PyObject
* obj1
= 0 ;
25477 char * kwnames
[] = {
25478 (char *) "self",(char *) "nRows", NULL
25481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25486 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25488 if (!SWIG_IsOK(ecode2
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25491 arg2
= static_cast< int >(val2
);
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 (arg1
)->SetRows(arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_Py_Void();
25505 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
= 0;
25507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 PyObject
* obj2
= 0 ;
25519 char * kwnames
[] = {
25520 (char *) "self",(char *) "rows",(char *) "cols", NULL
25523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25528 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25530 if (!SWIG_IsOK(ecode2
)) {
25531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25533 arg2
= static_cast< int >(val2
);
25534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25535 if (!SWIG_IsOK(ecode3
)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25538 arg3
= static_cast< int >(val3
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_Py_Void();
25552 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25558 PyObject
*swig_obj
[1] ;
25560 if (!args
) SWIG_fail
;
25561 swig_obj
[0] = args
;
25562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (int)(arg1
)->GetMaxRows();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_From_int(static_cast< int >(result
));
25580 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25581 PyObject
*resultobj
= 0;
25582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25586 PyObject
*swig_obj
[1] ;
25588 if (!args
) SWIG_fail
;
25589 swig_obj
[0] = args
;
25590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25591 if (!SWIG_IsOK(res1
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25594 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (int)(arg1
)->GetMaxCols();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_From_int(static_cast< int >(result
));
25608 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
= 0;
25610 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 char * kwnames
[] = {
25618 (char *) "self",(char *) "size", NULL
25621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25623 if (!SWIG_IsOK(res1
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25626 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25629 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_Py_Void();
25644 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 PyObject
*resultobj
= 0;
25646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25650 PyObject
*swig_obj
[1] ;
25652 if (!args
) SWIG_fail
;
25653 swig_obj
[0] = args
;
25654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25655 if (!SWIG_IsOK(res1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25658 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (arg1
)->GetToolBitmapSize();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25672 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25673 PyObject
*resultobj
= 0;
25674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25678 PyObject
*swig_obj
[1] ;
25680 if (!args
) SWIG_fail
;
25681 swig_obj
[0] = args
;
25682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25686 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (arg1
)->GetToolSize();
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25700 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= 0;
25702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25705 wxToolBarToolBase
*result
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 PyObject
* obj2
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "x",(char *) "y", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
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_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25729 arg2
= static_cast< int >(val2
);
25730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25731 if (!SWIG_IsOK(ecode3
)) {
25732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25734 arg3
= static_cast< int >(val3
);
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25750 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
= 0;
25752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25754 wxToolBarToolBase
*result
= 0 ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 char * kwnames
[] = {
25762 (char *) "self",(char *) "toolid", NULL
25765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25767 if (!SWIG_IsOK(res1
)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25770 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25772 if (!SWIG_IsOK(ecode2
)) {
25773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25775 arg2
= static_cast< int >(val2
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25791 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25792 PyObject
*resultobj
= 0;
25793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25797 PyObject
*swig_obj
[1] ;
25799 if (!args
) SWIG_fail
;
25800 swig_obj
[0] = args
;
25801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25802 if (!SWIG_IsOK(res1
)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25805 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= (bool)(arg1
)->IsVertical();
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25821 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 PyObject
*resultobj
= 0;
25823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25827 PyObject
*swig_obj
[1] ;
25829 if (!args
) SWIG_fail
;
25830 swig_obj
[0] = args
;
25831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25835 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25849 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25852 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25853 return SWIG_Py_Void();
25856 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= 0;
25858 wxWindow
*arg1
= (wxWindow
*) 0 ;
25859 int arg2
= (int) -1 ;
25860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25864 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25865 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25866 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25867 wxToolBar
*result
= 0 ;
25876 bool temp6
= false ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 PyObject
* obj3
= 0 ;
25881 PyObject
* obj4
= 0 ;
25882 PyObject
* obj5
= 0 ;
25883 char * kwnames
[] = {
25884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25889 if (!SWIG_IsOK(res1
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25895 if (!SWIG_IsOK(ecode2
)) {
25896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25898 arg2
= static_cast< int >(val2
);
25903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25913 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25914 if (!SWIG_IsOK(ecode5
)) {
25915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25917 arg5
= static_cast< long >(val5
);
25921 arg6
= wxString_in_helper(obj5
);
25922 if (arg6
== NULL
) SWIG_fail
;
25927 if (!wxPyCheckForApp()) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25948 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25949 PyObject
*resultobj
= 0;
25950 wxToolBar
*result
= 0 ;
25952 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25954 if (!wxPyCheckForApp()) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (wxToolBar
*)new wxToolBar();
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25967 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
= 0;
25969 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25970 wxWindow
*arg2
= (wxWindow
*) 0 ;
25971 int arg3
= (int) -1 ;
25972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25976 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25977 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25990 bool temp7
= false ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 PyObject
* obj2
= 0 ;
25994 PyObject
* obj3
= 0 ;
25995 PyObject
* obj4
= 0 ;
25996 PyObject
* obj5
= 0 ;
25997 PyObject
* obj6
= 0 ;
25998 char * kwnames
[] = {
25999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26007 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26009 if (!SWIG_IsOK(res2
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26012 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26015 if (!SWIG_IsOK(ecode3
)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26018 arg3
= static_cast< int >(val3
);
26023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26033 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26034 if (!SWIG_IsOK(ecode6
)) {
26035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26037 arg6
= static_cast< long >(val6
);
26041 arg7
= wxString_in_helper(obj6
);
26042 if (arg7
== NULL
) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26069 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
= 0;
26071 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26072 SwigValueWrapper
<wxVisualAttributes
> result
;
26075 PyObject
* obj0
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "variant", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26083 if (!SWIG_IsOK(ecode1
)) {
26084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26086 arg1
= static_cast< wxWindowVariant
>(val1
);
26089 if (!wxPyCheckForApp()) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26102 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26105 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26106 return SWIG_Py_Void();
26109 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26110 return SWIG_Python_InitShadowInstance(args
);
26113 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26114 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26119 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26120 PyObject
*pyobj
= 0;
26124 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26126 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26133 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
= 0;
26135 wxColour
const &arg1_defvalue
= wxNullColour
;
26136 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26137 wxColour
const &arg2_defvalue
= wxNullColour
;
26138 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26139 wxFont
const &arg3_defvalue
= wxNullFont
;
26140 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26141 wxListItemAttr
*result
= 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 char * kwnames
[] = {
26150 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26157 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26167 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26168 if (!SWIG_IsOK(res3
)) {
26169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26174 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26189 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26190 PyObject
*resultobj
= 0;
26191 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26194 PyObject
*swig_obj
[1] ;
26196 if (!args
) SWIG_fail
;
26197 swig_obj
[0] = args
;
26198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26202 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
= 0;
26219 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26220 wxColour
*arg2
= 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char * kwnames
[] = {
26227 (char *) "self",(char *) "colText", NULL
26230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26235 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_Py_Void();
26253 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= 0;
26255 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26256 wxColour
*arg2
= 0 ;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 char * kwnames
[] = {
26263 (char *) "self",(char *) "colBack", NULL
26266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26268 if (!SWIG_IsOK(res1
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26271 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26274 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_Py_Void();
26289 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
= 0;
26291 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 char * kwnames
[] = {
26300 (char *) "self",(char *) "font", NULL
26303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26305 if (!SWIG_IsOK(res1
)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26308 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26310 if (!SWIG_IsOK(res2
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26316 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 (arg1
)->SetFont((wxFont
const &)*arg2
);
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_Py_Void();
26330 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26331 PyObject
*resultobj
= 0;
26332 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26336 PyObject
*swig_obj
[1] ;
26338 if (!args
) SWIG_fail
;
26339 swig_obj
[0] = args
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26344 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= (bool)(arg1
)->HasTextColour();
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26360 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 PyObject
*resultobj
= 0;
26362 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26366 PyObject
*swig_obj
[1] ;
26368 if (!args
) SWIG_fail
;
26369 swig_obj
[0] = args
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26374 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (bool)(arg1
)->HasBackgroundColour();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26390 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 PyObject
*resultobj
= 0;
26392 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26396 PyObject
*swig_obj
[1] ;
26398 if (!args
) SWIG_fail
;
26399 swig_obj
[0] = args
;
26400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26404 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (bool)(arg1
)->HasFont();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26420 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 PyObject
*resultobj
= 0;
26422 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26426 PyObject
*swig_obj
[1] ;
26428 if (!args
) SWIG_fail
;
26429 swig_obj
[0] = args
;
26430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26434 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (arg1
)->GetTextColour();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26448 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 PyObject
*resultobj
= 0;
26450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26454 PyObject
*swig_obj
[1] ;
26456 if (!args
) SWIG_fail
;
26457 swig_obj
[0] = args
;
26458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26462 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (arg1
)->GetBackgroundColour();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26476 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26477 PyObject
*resultobj
= 0;
26478 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26482 PyObject
*swig_obj
[1] ;
26484 if (!args
) SWIG_fail
;
26485 swig_obj
[0] = args
;
26486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26487 if (!SWIG_IsOK(res1
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26490 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 result
= (arg1
)->GetFont();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26504 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26507 wxListItemAttr
*arg2
= 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char * kwnames
[] = {
26515 (char *) "self",(char *) "source", NULL
26518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26523 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26525 if (!SWIG_IsOK(res2
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26531 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_Py_Void();
26545 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26546 PyObject
*resultobj
= 0;
26547 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26550 PyObject
*swig_obj
[1] ;
26552 if (!args
) SWIG_fail
;
26553 swig_obj
[0] = args
;
26554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26555 if (!SWIG_IsOK(res1
)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26558 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 wxListItemAttr_Destroy(arg1
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26575 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26576 return SWIG_Py_Void();
26579 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26580 return SWIG_Python_InitShadowInstance(args
);
26583 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26584 PyObject
*resultobj
= 0;
26585 wxListItem
*result
= 0 ;
26587 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (wxListItem
*)new wxListItem();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26601 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26606 PyObject
*swig_obj
[1] ;
26608 if (!args
) SWIG_fail
;
26609 swig_obj
[0] = args
;
26610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_Py_Void();
26629 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 PyObject
*resultobj
= 0;
26631 wxListItem
*arg1
= (wxListItem
*) 0 ;
26634 PyObject
*swig_obj
[1] ;
26636 if (!args
) SWIG_fail
;
26637 swig_obj
[0] = args
;
26638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26642 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_Py_Void();
26656 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26657 PyObject
*resultobj
= 0;
26658 wxListItem
*arg1
= (wxListItem
*) 0 ;
26661 PyObject
*swig_obj
[1] ;
26663 if (!args
) SWIG_fail
;
26664 swig_obj
[0] = args
;
26665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26666 if (!SWIG_IsOK(res1
)) {
26667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->ClearAttributes();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_Py_Void();
26683 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
= 0;
26685 wxListItem
*arg1
= (wxListItem
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "mask", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26703 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26704 if (!SWIG_IsOK(ecode2
)) {
26705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26707 arg2
= static_cast< long >(val2
);
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 (arg1
)->SetMask(arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_Py_Void();
26721 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= 0;
26723 wxListItem
*arg1
= (wxListItem
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 char * kwnames
[] = {
26732 (char *) "self",(char *) "id", NULL
26735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26742 if (!SWIG_IsOK(ecode2
)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26745 arg2
= static_cast< long >(val2
);
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 (arg1
)->SetId(arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_Py_Void();
26759 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
= 0;
26761 wxListItem
*arg1
= (wxListItem
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 char * kwnames
[] = {
26770 (char *) "self",(char *) "col", NULL
26773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26775 if (!SWIG_IsOK(res1
)) {
26776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26778 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26780 if (!SWIG_IsOK(ecode2
)) {
26781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26783 arg2
= static_cast< int >(val2
);
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetColumn(arg2
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_Py_Void();
26797 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
= 0;
26799 wxListItem
*arg1
= (wxListItem
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "state", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26816 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26818 if (!SWIG_IsOK(ecode2
)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26821 arg2
= static_cast< long >(val2
);
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 (arg1
)->SetState(arg2
);
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= 0;
26837 wxListItem
*arg1
= (wxListItem
*) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 PyObject
* obj1
= 0 ;
26845 char * kwnames
[] = {
26846 (char *) "self",(char *) "stateMask", NULL
26849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26851 if (!SWIG_IsOK(res1
)) {
26852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26854 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26856 if (!SWIG_IsOK(ecode2
)) {
26857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26859 arg2
= static_cast< long >(val2
);
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->SetStateMask(arg2
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_Py_Void();
26873 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= 0;
26875 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 wxString
*arg2
= 0 ;
26879 bool temp2
= false ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char * kwnames
[] = {
26883 (char *) "self",(char *) "text", NULL
26886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26891 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26893 arg2
= wxString_in_helper(obj1
);
26894 if (arg2
== NULL
) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetText((wxString
const &)*arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_Py_Void();
26918 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= 0;
26920 wxListItem
*arg1
= (wxListItem
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 char * kwnames
[] = {
26929 (char *) "self",(char *) "image", NULL
26932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26937 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26939 if (!SWIG_IsOK(ecode2
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26942 arg2
= static_cast< int >(val2
);
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->SetImage(arg2
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_Py_Void();
26956 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
= 0;
26958 wxListItem
*arg1
= (wxListItem
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 char * kwnames
[] = {
26967 (char *) "self",(char *) "data", NULL
26970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26975 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26976 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26977 if (!SWIG_IsOK(ecode2
)) {
26978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26980 arg2
= static_cast< long >(val2
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 (arg1
)->SetData(arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 char * kwnames
[] = {
27005 (char *) "self",(char *) "width", NULL
27008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27010 if (!SWIG_IsOK(res1
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27013 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27015 if (!SWIG_IsOK(ecode2
)) {
27016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27018 arg2
= static_cast< int >(val2
);
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 (arg1
)->SetWidth(arg2
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= 0;
27034 wxListItem
*arg1
= (wxListItem
*) 0 ;
27035 wxListColumnFormat arg2
;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "align", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27051 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27053 if (!SWIG_IsOK(ecode2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27056 arg2
= static_cast< wxListColumnFormat
>(val2
);
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 (arg1
)->SetAlign(arg2
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_Py_Void();
27070 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
= 0;
27072 wxListItem
*arg1
= (wxListItem
*) 0 ;
27073 wxColour
*arg2
= 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char * kwnames
[] = {
27080 (char *) "self",(char *) "colText", NULL
27083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27088 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27091 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_Py_Void();
27106 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
= 0;
27108 wxListItem
*arg1
= (wxListItem
*) 0 ;
27109 wxColour
*arg2
= 0 ;
27113 PyObject
* obj0
= 0 ;
27114 PyObject
* obj1
= 0 ;
27115 char * kwnames
[] = {
27116 (char *) "self",(char *) "colBack", NULL
27119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27121 if (!SWIG_IsOK(res1
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_Py_Void();
27142 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
= 0;
27144 wxListItem
*arg1
= (wxListItem
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 char * kwnames
[] = {
27153 (char *) "self",(char *) "font", NULL
27156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27163 if (!SWIG_IsOK(res2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27169 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->SetFont((wxFont
const &)*arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxListItem
*arg1
= (wxListItem
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27197 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (long)(arg1
)->GetMask();
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= SWIG_From_long(static_cast< long >(result
));
27211 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27212 PyObject
*resultobj
= 0;
27213 wxListItem
*arg1
= (wxListItem
*) 0 ;
27217 PyObject
*swig_obj
[1] ;
27219 if (!args
) SWIG_fail
;
27220 swig_obj
[0] = args
;
27221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27225 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (long)(arg1
)->GetId();
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_From_long(static_cast< long >(result
));
27239 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27240 PyObject
*resultobj
= 0;
27241 wxListItem
*arg1
= (wxListItem
*) 0 ;
27245 PyObject
*swig_obj
[1] ;
27247 if (!args
) SWIG_fail
;
27248 swig_obj
[0] = args
;
27249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27250 if (!SWIG_IsOK(res1
)) {
27251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27253 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 result
= (int)(arg1
)->GetColumn();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_From_int(static_cast< int >(result
));
27267 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27268 PyObject
*resultobj
= 0;
27269 wxListItem
*arg1
= (wxListItem
*) 0 ;
27273 PyObject
*swig_obj
[1] ;
27275 if (!args
) SWIG_fail
;
27276 swig_obj
[0] = args
;
27277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27281 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 result
= (long)(arg1
)->GetState();
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_From_long(static_cast< long >(result
));
27295 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27296 PyObject
*resultobj
= 0;
27297 wxListItem
*arg1
= (wxListItem
*) 0 ;
27298 wxString
*result
= 0 ;
27301 PyObject
*swig_obj
[1] ;
27303 if (!args
) SWIG_fail
;
27304 swig_obj
[0] = args
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 wxString
const &_result_ref
= (arg1
)->GetText();
27314 result
= (wxString
*) &_result_ref
;
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27323 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27332 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27333 PyObject
*resultobj
= 0;
27334 wxListItem
*arg1
= (wxListItem
*) 0 ;
27338 PyObject
*swig_obj
[1] ;
27340 if (!args
) SWIG_fail
;
27341 swig_obj
[0] = args
;
27342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27343 if (!SWIG_IsOK(res1
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27346 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 result
= (int)(arg1
)->GetImage();
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_From_int(static_cast< int >(result
));
27360 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27361 PyObject
*resultobj
= 0;
27362 wxListItem
*arg1
= (wxListItem
*) 0 ;
27366 PyObject
*swig_obj
[1] ;
27368 if (!args
) SWIG_fail
;
27369 swig_obj
[0] = args
;
27370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27371 if (!SWIG_IsOK(res1
)) {
27372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27374 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (long)(arg1
)->GetData();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= SWIG_From_long(static_cast< long >(result
));
27388 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27389 PyObject
*resultobj
= 0;
27390 wxListItem
*arg1
= (wxListItem
*) 0 ;
27394 PyObject
*swig_obj
[1] ;
27396 if (!args
) SWIG_fail
;
27397 swig_obj
[0] = args
;
27398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27399 if (!SWIG_IsOK(res1
)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27402 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (int)(arg1
)->GetWidth();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= SWIG_From_int(static_cast< int >(result
));
27416 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27417 PyObject
*resultobj
= 0;
27418 wxListItem
*arg1
= (wxListItem
*) 0 ;
27419 wxListColumnFormat result
;
27422 PyObject
*swig_obj
[1] ;
27424 if (!args
) SWIG_fail
;
27425 swig_obj
[0] = args
;
27426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27427 if (!SWIG_IsOK(res1
)) {
27428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27430 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= SWIG_From_int(static_cast< int >(result
));
27444 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 PyObject
*resultobj
= 0;
27446 wxListItem
*arg1
= (wxListItem
*) 0 ;
27447 wxListItemAttr
*result
= 0 ;
27450 PyObject
*swig_obj
[1] ;
27452 if (!args
) SWIG_fail
;
27453 swig_obj
[0] = args
;
27454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27455 if (!SWIG_IsOK(res1
)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27458 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27472 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 PyObject
*resultobj
= 0;
27474 wxListItem
*arg1
= (wxListItem
*) 0 ;
27478 PyObject
*swig_obj
[1] ;
27480 if (!args
) SWIG_fail
;
27481 swig_obj
[0] = args
;
27482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27486 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= (bool)(arg1
)->HasAttributes();
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27502 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27530 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27531 PyObject
*resultobj
= 0;
27532 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[1] ;
27538 if (!args
) SWIG_fail
;
27539 swig_obj
[0] = args
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27558 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 PyObject
*resultobj
= 0;
27560 wxListItem
*arg1
= (wxListItem
*) 0 ;
27564 PyObject
*swig_obj
[1] ;
27566 if (!args
) SWIG_fail
;
27567 swig_obj
[0] = args
;
27568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27569 if (!SWIG_IsOK(res1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27572 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= ((wxListItem
const *)arg1
)->GetFont();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27586 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 PyObject
*resultobj
= 0;
27588 wxListItem
*arg1
= (wxListItem
*) 0 ;
27594 PyObject
*swig_obj
[2] ;
27596 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27598 if (!SWIG_IsOK(res1
)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27601 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27602 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27603 if (!SWIG_IsOK(ecode2
)) {
27604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27606 arg2
= static_cast< long >(val2
);
27607 if (arg1
) (arg1
)->m_mask
= arg2
;
27609 resultobj
= SWIG_Py_Void();
27616 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxListItem
*arg1
= (wxListItem
*) 0 ;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27631 result
= (long) ((arg1
)->m_mask
);
27632 resultobj
= SWIG_From_long(static_cast< long >(result
));
27639 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxListItem
*arg1
= (wxListItem
*) 0 ;
27647 PyObject
*swig_obj
[2] ;
27649 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27651 if (!SWIG_IsOK(res1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27654 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27655 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27656 if (!SWIG_IsOK(ecode2
)) {
27657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27659 arg2
= static_cast< long >(val2
);
27660 if (arg1
) (arg1
)->m_itemId
= arg2
;
27662 resultobj
= SWIG_Py_Void();
27669 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 PyObject
*resultobj
= 0;
27671 wxListItem
*arg1
= (wxListItem
*) 0 ;
27675 PyObject
*swig_obj
[1] ;
27677 if (!args
) SWIG_fail
;
27678 swig_obj
[0] = args
;
27679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27683 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27684 result
= (long) ((arg1
)->m_itemId
);
27685 resultobj
= SWIG_From_long(static_cast< long >(result
));
27692 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxListItem
*arg1
= (wxListItem
*) 0 ;
27700 PyObject
*swig_obj
[2] ;
27702 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27704 if (!SWIG_IsOK(res1
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27707 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27708 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27709 if (!SWIG_IsOK(ecode2
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27712 arg2
= static_cast< int >(val2
);
27713 if (arg1
) (arg1
)->m_col
= arg2
;
27715 resultobj
= SWIG_Py_Void();
27722 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxListItem
*arg1
= (wxListItem
*) 0 ;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27736 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27737 result
= (int) ((arg1
)->m_col
);
27738 resultobj
= SWIG_From_int(static_cast< int >(result
));
27745 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 PyObject
*resultobj
= 0;
27747 wxListItem
*arg1
= (wxListItem
*) 0 ;
27753 PyObject
*swig_obj
[2] ;
27755 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27761 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27762 if (!SWIG_IsOK(ecode2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27765 arg2
= static_cast< long >(val2
);
27766 if (arg1
) (arg1
)->m_state
= arg2
;
27768 resultobj
= SWIG_Py_Void();
27775 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListItem
*arg1
= (wxListItem
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27789 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27790 result
= (long) ((arg1
)->m_state
);
27791 resultobj
= SWIG_From_long(static_cast< long >(result
));
27798 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxListItem
*arg1
= (wxListItem
*) 0 ;
27806 PyObject
*swig_obj
[2] ;
27808 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27813 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27814 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27815 if (!SWIG_IsOK(ecode2
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27818 arg2
= static_cast< long >(val2
);
27819 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27821 resultobj
= SWIG_Py_Void();
27828 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxListItem
*arg1
= (wxListItem
*) 0 ;
27834 PyObject
*swig_obj
[1] ;
27836 if (!args
) SWIG_fail
;
27837 swig_obj
[0] = args
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27843 result
= (long) ((arg1
)->m_stateMask
);
27844 resultobj
= SWIG_From_long(static_cast< long >(result
));
27851 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27853 wxListItem
*arg1
= (wxListItem
*) 0 ;
27854 wxString
*arg2
= (wxString
*) 0 ;
27857 bool temp2
= false ;
27858 PyObject
*swig_obj
[2] ;
27860 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27865 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27867 arg2
= wxString_in_helper(swig_obj
[1]);
27868 if (arg2
== NULL
) SWIG_fail
;
27871 if (arg1
) (arg1
)->m_text
= *arg2
;
27873 resultobj
= SWIG_Py_Void();
27888 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxListItem
*arg1
= (wxListItem
*) 0 ;
27891 wxString
*result
= 0 ;
27894 PyObject
*swig_obj
[1] ;
27896 if (!args
) SWIG_fail
;
27897 swig_obj
[0] = args
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27902 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27903 result
= (wxString
*)& ((arg1
)->m_text
);
27906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27917 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27918 PyObject
*resultobj
= 0;
27919 wxListItem
*arg1
= (wxListItem
*) 0 ;
27925 PyObject
*swig_obj
[2] ;
27927 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27932 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27934 if (!SWIG_IsOK(ecode2
)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27937 arg2
= static_cast< int >(val2
);
27938 if (arg1
) (arg1
)->m_image
= arg2
;
27940 resultobj
= SWIG_Py_Void();
27947 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27948 PyObject
*resultobj
= 0;
27949 wxListItem
*arg1
= (wxListItem
*) 0 ;
27953 PyObject
*swig_obj
[1] ;
27955 if (!args
) SWIG_fail
;
27956 swig_obj
[0] = args
;
27957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27958 if (!SWIG_IsOK(res1
)) {
27959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27961 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27962 result
= (int) ((arg1
)->m_image
);
27963 resultobj
= SWIG_From_int(static_cast< int >(result
));
27970 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27971 PyObject
*resultobj
= 0;
27972 wxListItem
*arg1
= (wxListItem
*) 0 ;
27978 PyObject
*swig_obj
[2] ;
27980 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27985 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27986 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27987 if (!SWIG_IsOK(ecode2
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27990 arg2
= static_cast< long >(val2
);
27991 if (arg1
) (arg1
)->m_data
= arg2
;
27993 resultobj
= SWIG_Py_Void();
28000 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28001 PyObject
*resultobj
= 0;
28002 wxListItem
*arg1
= (wxListItem
*) 0 ;
28006 PyObject
*swig_obj
[1] ;
28008 if (!args
) SWIG_fail
;
28009 swig_obj
[0] = args
;
28010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28014 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28015 result
= (long) ((arg1
)->m_data
);
28016 resultobj
= SWIG_From_long(static_cast< long >(result
));
28023 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28024 PyObject
*resultobj
= 0;
28025 wxListItem
*arg1
= (wxListItem
*) 0 ;
28031 PyObject
*swig_obj
[2] ;
28033 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28038 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28039 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28040 if (!SWIG_IsOK(ecode2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28043 arg2
= static_cast< int >(val2
);
28044 if (arg1
) (arg1
)->m_format
= arg2
;
28046 resultobj
= SWIG_Py_Void();
28053 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxListItem
*arg1
= (wxListItem
*) 0 ;
28059 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28067 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28068 result
= (int) ((arg1
)->m_format
);
28069 resultobj
= SWIG_From_int(static_cast< int >(result
));
28076 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28077 PyObject
*resultobj
= 0;
28078 wxListItem
*arg1
= (wxListItem
*) 0 ;
28084 PyObject
*swig_obj
[2] ;
28086 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28088 if (!SWIG_IsOK(res1
)) {
28089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28091 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28092 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28093 if (!SWIG_IsOK(ecode2
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28096 arg2
= static_cast< int >(val2
);
28097 if (arg1
) (arg1
)->m_width
= arg2
;
28099 resultobj
= SWIG_Py_Void();
28106 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28107 PyObject
*resultobj
= 0;
28108 wxListItem
*arg1
= (wxListItem
*) 0 ;
28112 PyObject
*swig_obj
[1] ;
28114 if (!args
) SWIG_fail
;
28115 swig_obj
[0] = args
;
28116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28117 if (!SWIG_IsOK(res1
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28120 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28121 result
= (int) ((arg1
)->m_width
);
28122 resultobj
= SWIG_From_int(static_cast< int >(result
));
28129 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28132 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28133 return SWIG_Py_Void();
28136 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28137 return SWIG_Python_InitShadowInstance(args
);
28140 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
= 0;
28142 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28143 int arg2
= (int) 0 ;
28144 wxListEvent
*result
= 0 ;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char * kwnames
[] = {
28152 (char *) "commandType",(char *) "id", NULL
28155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28158 if (!SWIG_IsOK(ecode1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28161 arg1
= static_cast< wxEventType
>(val1
);
28164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28165 if (!SWIG_IsOK(ecode2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28168 arg2
= static_cast< int >(val2
);
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28183 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28184 PyObject
*resultobj
= 0;
28185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28191 PyObject
*swig_obj
[2] ;
28193 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28198 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28199 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28200 if (!SWIG_IsOK(ecode2
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28203 arg2
= static_cast< int >(val2
);
28204 if (arg1
) (arg1
)->m_code
= arg2
;
28206 resultobj
= SWIG_Py_Void();
28213 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28214 PyObject
*resultobj
= 0;
28215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28219 PyObject
*swig_obj
[1] ;
28221 if (!args
) SWIG_fail
;
28222 swig_obj
[0] = args
;
28223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28224 if (!SWIG_IsOK(res1
)) {
28225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28227 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28228 result
= (int) ((arg1
)->m_code
);
28229 resultobj
= SWIG_From_int(static_cast< int >(result
));
28236 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28237 PyObject
*resultobj
= 0;
28238 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28244 PyObject
*swig_obj
[2] ;
28246 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28251 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28252 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28253 if (!SWIG_IsOK(ecode2
)) {
28254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28256 arg2
= static_cast< long >(val2
);
28257 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28259 resultobj
= SWIG_Py_Void();
28266 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 PyObject
*resultobj
= 0;
28268 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28280 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28281 result
= (long) ((arg1
)->m_oldItemIndex
);
28282 resultobj
= SWIG_From_long(static_cast< long >(result
));
28289 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28297 PyObject
*swig_obj
[2] ;
28299 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28304 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28305 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28306 if (!SWIG_IsOK(ecode2
)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28309 arg2
= static_cast< long >(val2
);
28310 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28312 resultobj
= SWIG_Py_Void();
28319 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 PyObject
*resultobj
= 0;
28321 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28325 PyObject
*swig_obj
[1] ;
28327 if (!args
) SWIG_fail
;
28328 swig_obj
[0] = args
;
28329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28333 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28334 result
= (long) ((arg1
)->m_itemIndex
);
28335 resultobj
= SWIG_From_long(static_cast< long >(result
));
28342 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 PyObject
*resultobj
= 0;
28344 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28350 PyObject
*swig_obj
[2] ;
28352 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28357 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28358 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28359 if (!SWIG_IsOK(ecode2
)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28362 arg2
= static_cast< int >(val2
);
28363 if (arg1
) (arg1
)->m_col
= arg2
;
28365 resultobj
= SWIG_Py_Void();
28372 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 PyObject
*resultobj
= 0;
28374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28378 PyObject
*swig_obj
[1] ;
28380 if (!args
) SWIG_fail
;
28381 swig_obj
[0] = args
;
28382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28386 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28387 result
= (int) ((arg1
)->m_col
);
28388 resultobj
= SWIG_From_int(static_cast< int >(result
));
28395 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 PyObject
*resultobj
= 0;
28397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28398 wxPoint
*arg2
= (wxPoint
*) 0 ;
28403 PyObject
*swig_obj
[2] ;
28405 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28410 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28411 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28412 if (!SWIG_IsOK(res2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28415 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28416 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28418 resultobj
= SWIG_Py_Void();
28425 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 PyObject
*resultobj
= 0;
28427 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28428 wxPoint
*result
= 0 ;
28431 PyObject
*swig_obj
[1] ;
28433 if (!args
) SWIG_fail
;
28434 swig_obj
[0] = args
;
28435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28439 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28440 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28448 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28449 PyObject
*resultobj
= 0;
28450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28451 wxListItem
*result
= 0 ;
28454 PyObject
*swig_obj
[1] ;
28456 if (!args
) SWIG_fail
;
28457 swig_obj
[0] = args
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28462 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28463 result
= (wxListItem
*)& ((arg1
)->m_item
);
28465 resultobj
= wxPyMake_wxObject(result
, 0);
28473 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 PyObject
*resultobj
= 0;
28475 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28479 PyObject
*swig_obj
[1] ;
28481 if (!args
) SWIG_fail
;
28482 swig_obj
[0] = args
;
28483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28484 if (!SWIG_IsOK(res1
)) {
28485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28487 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (int)(arg1
)->GetKeyCode();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_From_int(static_cast< int >(result
));
28501 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28502 PyObject
*resultobj
= 0;
28503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28507 PyObject
*swig_obj
[1] ;
28509 if (!args
) SWIG_fail
;
28510 swig_obj
[0] = args
;
28511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28515 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (long)(arg1
)->GetIndex();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_From_long(static_cast< long >(result
));
28529 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 PyObject
*resultobj
= 0;
28531 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28535 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28543 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (int)(arg1
)->GetColumn();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= SWIG_From_int(static_cast< int >(result
));
28557 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28558 PyObject
*resultobj
= 0;
28559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28563 PyObject
*swig_obj
[1] ;
28565 if (!args
) SWIG_fail
;
28566 swig_obj
[0] = args
;
28567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28571 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= (arg1
)->GetPoint();
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28585 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28588 wxString
*result
= 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28599 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 wxString
const &_result_ref
= (arg1
)->GetLabel();
28604 result
= (wxString
*) &_result_ref
;
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28613 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28622 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28623 PyObject
*resultobj
= 0;
28624 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28625 wxString
*result
= 0 ;
28628 PyObject
*swig_obj
[1] ;
28630 if (!args
) SWIG_fail
;
28631 swig_obj
[0] = args
;
28632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28633 if (!SWIG_IsOK(res1
)) {
28634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28636 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 wxString
const &_result_ref
= (arg1
)->GetText();
28641 result
= (wxString
*) &_result_ref
;
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28659 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28660 PyObject
*resultobj
= 0;
28661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28665 PyObject
*swig_obj
[1] ;
28667 if (!args
) SWIG_fail
;
28668 swig_obj
[0] = args
;
28669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28670 if (!SWIG_IsOK(res1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28673 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (int)(arg1
)->GetImage();
28677 wxPyEndAllowThreads(__tstate
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= SWIG_From_int(static_cast< int >(result
));
28687 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28688 PyObject
*resultobj
= 0;
28689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28693 PyObject
*swig_obj
[1] ;
28695 if (!args
) SWIG_fail
;
28696 swig_obj
[0] = args
;
28697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28698 if (!SWIG_IsOK(res1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28701 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (long)(arg1
)->GetData();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_From_long(static_cast< long >(result
));
28715 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28716 PyObject
*resultobj
= 0;
28717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28721 PyObject
*swig_obj
[1] ;
28723 if (!args
) SWIG_fail
;
28724 swig_obj
[0] = args
;
28725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28729 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (long)(arg1
)->GetMask();
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_From_long(static_cast< long >(result
));
28743 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28744 PyObject
*resultobj
= 0;
28745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28746 wxListItem
*result
= 0 ;
28749 PyObject
*swig_obj
[1] ;
28751 if (!args
) SWIG_fail
;
28752 swig_obj
[0] = args
;
28753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28754 if (!SWIG_IsOK(res1
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28757 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28762 result
= (wxListItem
*) &_result_ref
;
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28774 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 PyObject
*resultobj
= 0;
28776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28780 PyObject
*swig_obj
[1] ;
28782 if (!args
) SWIG_fail
;
28783 swig_obj
[0] = args
;
28784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28788 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (long)(arg1
)->GetCacheFrom();
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_From_long(static_cast< long >(result
));
28802 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28803 PyObject
*resultobj
= 0;
28804 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28808 PyObject
*swig_obj
[1] ;
28810 if (!args
) SWIG_fail
;
28811 swig_obj
[0] = args
;
28812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28813 if (!SWIG_IsOK(res1
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28816 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (long)(arg1
)->GetCacheTo();
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_From_long(static_cast< long >(result
));
28830 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28831 PyObject
*resultobj
= 0;
28832 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28836 PyObject
*swig_obj
[1] ;
28838 if (!args
) SWIG_fail
;
28839 swig_obj
[0] = args
;
28840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28844 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28860 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "editCancelled", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28879 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28881 if (!SWIG_IsOK(ecode2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28884 arg2
= static_cast< bool >(val2
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->SetEditCanceled(arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28901 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28902 return SWIG_Py_Void();
28905 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28906 return SWIG_Python_InitShadowInstance(args
);
28909 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxWindow
*arg1
= (wxWindow
*) 0 ;
28912 int arg2
= (int) -1 ;
28913 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28914 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28915 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28916 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28917 long arg5
= (long) wxLC_ICON
;
28918 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28919 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28920 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28922 wxPyListCtrl
*result
= 0 ;
28933 bool temp7
= false ;
28934 PyObject
* obj0
= 0 ;
28935 PyObject
* obj1
= 0 ;
28936 PyObject
* obj2
= 0 ;
28937 PyObject
* obj3
= 0 ;
28938 PyObject
* obj4
= 0 ;
28939 PyObject
* obj5
= 0 ;
28940 PyObject
* obj6
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28950 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28953 if (!SWIG_IsOK(ecode2
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28956 arg2
= static_cast< int >(val2
);
28961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28971 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28972 if (!SWIG_IsOK(ecode5
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28975 arg5
= static_cast< long >(val5
);
28978 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28979 if (!SWIG_IsOK(res6
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28985 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28989 arg7
= wxString_in_helper(obj6
);
28990 if (arg7
== NULL
) SWIG_fail
;
28995 if (!wxPyCheckForApp()) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29016 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29017 PyObject
*resultobj
= 0;
29018 wxPyListCtrl
*result
= 0 ;
29020 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29022 if (!wxPyCheckForApp()) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29035 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
= 0;
29037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29038 wxWindow
*arg2
= (wxWindow
*) 0 ;
29039 int arg3
= (int) -1 ;
29040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29044 long arg6
= (long) wxLC_ICON
;
29045 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29046 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29047 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29062 bool temp8
= false ;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 PyObject
* obj2
= 0 ;
29066 PyObject
* obj3
= 0 ;
29067 PyObject
* obj4
= 0 ;
29068 PyObject
* obj5
= 0 ;
29069 PyObject
* obj6
= 0 ;
29070 PyObject
* obj7
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29080 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29082 if (!SWIG_IsOK(res2
)) {
29083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29088 if (!SWIG_IsOK(ecode3
)) {
29089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29091 arg3
= static_cast< int >(val3
);
29096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29106 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29107 if (!SWIG_IsOK(ecode6
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29110 arg6
= static_cast< long >(val6
);
29113 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29114 if (!SWIG_IsOK(res7
)) {
29115 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29120 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29124 arg8
= wxString_in_helper(obj7
);
29125 if (arg8
== NULL
) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29152 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29155 PyObject
*arg2
= (PyObject
*) 0 ;
29156 PyObject
*arg3
= (PyObject
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 char * kwnames
[] = {
29163 (char *) "self",(char *) "self",(char *) "_class", NULL
29166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29171 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= SWIG_Py_Void();
29187 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
= 0;
29189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29191 wxListItem
*result
= 0 ;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 char * kwnames
[] = {
29199 (char *) "self",(char *) "col", NULL
29202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29204 if (!SWIG_IsOK(res1
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29207 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29209 if (!SWIG_IsOK(ecode2
)) {
29210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29212 arg2
= static_cast< int >(val2
);
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= wxPyMake_wxObject(result
, 0);
29228 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= 0;
29230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29232 wxListItem
*arg3
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj2
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "col",(char *) "item", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29252 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29254 if (!SWIG_IsOK(ecode2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29257 arg2
= static_cast< int >(val2
);
29258 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29259 if (!SWIG_IsOK(res3
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29265 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29281 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
= 0;
29283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "col", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29303 if (!SWIG_IsOK(ecode2
)) {
29304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29306 arg2
= static_cast< int >(val2
);
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_From_int(static_cast< int >(result
));
29320 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
= 0;
29322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 char * kwnames
[] = {
29336 (char *) "self",(char *) "col",(char *) "width", NULL
29339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29344 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29346 if (!SWIG_IsOK(ecode2
)) {
29347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29349 arg2
= static_cast< int >(val2
);
29350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29351 if (!SWIG_IsOK(ecode3
)) {
29352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29354 arg3
= static_cast< int >(val3
);
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29370 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29371 PyObject
*resultobj
= 0;
29372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29376 PyObject
*swig_obj
[1] ;
29378 if (!args
) SWIG_fail
;
29379 swig_obj
[0] = args
;
29380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= SWIG_From_int(static_cast< int >(result
));
29398 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29399 PyObject
*resultobj
= 0;
29400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29404 PyObject
*swig_obj
[1] ;
29406 if (!args
) SWIG_fail
;
29407 swig_obj
[0] = args
;
29408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29412 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29426 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29427 PyObject
*resultobj
= 0;
29428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29429 wxTextCtrl
*result
= 0 ;
29432 PyObject
*swig_obj
[1] ;
29434 if (!args
) SWIG_fail
;
29435 swig_obj
[0] = args
;
29436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= wxPyMake_wxObject(result
, 0);
29456 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
= 0;
29458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29460 int arg3
= (int) 0 ;
29461 wxListItem
*result
= 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 char * kwnames
[] = {
29472 (char *) "self",(char *) "itemId",(char *) "col", NULL
29475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29477 if (!SWIG_IsOK(res1
)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29480 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29481 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29482 if (!SWIG_IsOK(ecode2
)) {
29483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29485 arg2
= static_cast< long >(val2
);
29487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29488 if (!SWIG_IsOK(ecode3
)) {
29489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29491 arg3
= static_cast< int >(val3
);
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= wxPyMake_wxObject(result
, 0);
29508 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
= 0;
29510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29511 wxListItem
*arg2
= 0 ;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "info", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29536 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 result
= (bool)(arg1
)->SetItem(*arg2
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29552 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
= 0;
29554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29557 wxString
*arg4
= 0 ;
29558 int arg5
= (int) -1 ;
29566 bool temp4
= false ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 PyObject
* obj4
= 0 ;
29574 char * kwnames
[] = {
29575 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29580 if (!SWIG_IsOK(res1
)) {
29581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29583 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29585 if (!SWIG_IsOK(ecode2
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29588 arg2
= static_cast< long >(val2
);
29589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29590 if (!SWIG_IsOK(ecode3
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29593 arg3
= static_cast< int >(val3
);
29595 arg4
= wxString_in_helper(obj3
);
29596 if (arg4
== NULL
) SWIG_fail
;
29600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29601 if (!SWIG_IsOK(ecode5
)) {
29602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29604 arg5
= static_cast< int >(val5
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_From_long(static_cast< long >(result
));
29627 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
= 0;
29629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 PyObject
* obj2
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29651 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29653 if (!SWIG_IsOK(ecode2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29656 arg2
= static_cast< long >(val2
);
29657 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29658 if (!SWIG_IsOK(ecode3
)) {
29659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29661 arg3
= static_cast< long >(val3
);
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= SWIG_From_int(static_cast< int >(result
));
29675 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 PyObject
* obj2
= 0 ;
29693 PyObject
* obj3
= 0 ;
29694 char * kwnames
[] = {
29695 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29704 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29705 if (!SWIG_IsOK(ecode2
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29708 arg2
= static_cast< long >(val2
);
29709 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29710 if (!SWIG_IsOK(ecode3
)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29713 arg3
= static_cast< long >(val3
);
29714 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29715 if (!SWIG_IsOK(ecode4
)) {
29716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29718 arg4
= static_cast< long >(val4
);
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29734 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
= 0;
29736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29739 int arg4
= (int) -1 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 PyObject
* obj2
= 0 ;
29752 PyObject
* obj3
= 0 ;
29753 char * kwnames
[] = {
29754 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29759 if (!SWIG_IsOK(res1
)) {
29760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29764 if (!SWIG_IsOK(ecode2
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29767 arg2
= static_cast< long >(val2
);
29768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29769 if (!SWIG_IsOK(ecode3
)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29772 arg3
= static_cast< int >(val3
);
29774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29775 if (!SWIG_IsOK(ecode4
)) {
29776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29778 arg4
= static_cast< int >(val4
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= 0;
29797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 PyObject
* obj2
= 0 ;
29813 PyObject
* obj3
= 0 ;
29814 char * kwnames
[] = {
29815 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29823 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29825 if (!SWIG_IsOK(ecode2
)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29828 arg2
= static_cast< long >(val2
);
29829 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29830 if (!SWIG_IsOK(ecode3
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29833 arg3
= static_cast< long >(val3
);
29834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29835 if (!SWIG_IsOK(ecode4
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29838 arg4
= static_cast< int >(val4
);
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29854 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
= 0;
29856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 PyObject
* obj1
= 0 ;
29865 char * kwnames
[] = {
29866 (char *) "self",(char *) "item", NULL
29869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29871 if (!SWIG_IsOK(res1
)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29876 if (!SWIG_IsOK(ecode2
)) {
29877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29879 arg2
= static_cast< long >(val2
);
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29899 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
= 0;
29901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29903 wxString
*arg3
= 0 ;
29908 bool temp3
= false ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 PyObject
* obj2
= 0 ;
29912 char * kwnames
[] = {
29913 (char *) "self",(char *) "item",(char *) "str", NULL
29916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29921 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29923 if (!SWIG_IsOK(ecode2
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29926 arg2
= static_cast< long >(val2
);
29928 arg3
= wxString_in_helper(obj2
);
29929 if (arg3
== NULL
) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29935 wxPyEndAllowThreads(__tstate
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= SWIG_Py_Void();
29953 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 char * kwnames
[] = {
29965 (char *) "self",(char *) "item", NULL
29968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29970 if (!SWIG_IsOK(res1
)) {
29971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29973 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29975 if (!SWIG_IsOK(ecode2
)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29978 arg2
= static_cast< long >(val2
);
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_From_long(static_cast< long >(result
));
29992 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
= 0;
29994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 PyObject
* obj2
= 0 ;
30007 char * kwnames
[] = {
30008 (char *) "self",(char *) "item",(char *) "data", NULL
30011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30013 if (!SWIG_IsOK(res1
)) {
30014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30016 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30018 if (!SWIG_IsOK(ecode2
)) {
30019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30021 arg2
= static_cast< long >(val2
);
30022 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30023 if (!SWIG_IsOK(ecode3
)) {
30024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30026 arg3
= static_cast< long >(val3
);
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30042 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
= 0;
30044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 char * kwnames
[] = {
30054 (char *) "self",(char *) "item", NULL
30057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30062 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30063 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30064 if (!SWIG_IsOK(ecode2
)) {
30065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30067 arg2
= static_cast< long >(val2
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30081 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= 0;
30083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30085 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 PyObject
* obj2
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "item",(char *) "code", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30106 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30107 if (!SWIG_IsOK(ecode2
)) {
30108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30110 arg2
= static_cast< long >(val2
);
30112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30113 if (!SWIG_IsOK(ecode3
)) {
30114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30116 arg3
= static_cast< int >(val3
);
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30131 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= 0;
30133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30135 wxPoint
*arg3
= 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 PyObject
* obj2
= 0 ;
30145 char * kwnames
[] = {
30146 (char *) "self",(char *) "item",(char *) "pos", NULL
30149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30154 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30156 if (!SWIG_IsOK(ecode2
)) {
30157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30159 arg2
= static_cast< long >(val2
);
30162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30179 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30180 PyObject
*resultobj
= 0;
30181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30185 PyObject
*swig_obj
[1] ;
30187 if (!args
) SWIG_fail
;
30188 swig_obj
[0] = args
;
30189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30193 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_From_int(static_cast< int >(result
));
30207 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30208 PyObject
*resultobj
= 0;
30209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30213 PyObject
*swig_obj
[1] ;
30215 if (!args
) SWIG_fail
;
30216 swig_obj
[0] = args
;
30217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30221 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_From_int(static_cast< int >(result
));
30235 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30236 PyObject
*resultobj
= 0;
30237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30241 PyObject
*swig_obj
[1] ;
30243 if (!args
) SWIG_fail
;
30244 swig_obj
[0] = args
;
30245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30246 if (!SWIG_IsOK(res1
)) {
30247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30249 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30263 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30264 PyObject
*resultobj
= 0;
30265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30269 PyObject
*swig_obj
[1] ;
30271 if (!args
) SWIG_fail
;
30272 swig_obj
[0] = args
;
30273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_From_int(static_cast< int >(result
));
30291 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30292 PyObject
*resultobj
= 0;
30293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30297 PyObject
*swig_obj
[1] ;
30299 if (!args
) SWIG_fail
;
30300 swig_obj
[0] = args
;
30301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30319 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
= 0;
30321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30322 wxColour
*arg2
= 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char * kwnames
[] = {
30329 (char *) "self",(char *) "col", NULL
30332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30337 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30340 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= SWIG_Py_Void();
30355 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30356 PyObject
*resultobj
= 0;
30357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30361 PyObject
*swig_obj
[1] ;
30363 if (!args
) SWIG_fail
;
30364 swig_obj
[0] = args
;
30365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30366 if (!SWIG_IsOK(res1
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= SWIG_From_long(static_cast< long >(result
));
30383 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
= 0;
30385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30387 bool arg3
= (bool) true ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 PyObject
* obj2
= 0 ;
30397 char * kwnames
[] = {
30398 (char *) "self",(char *) "style",(char *) "add", NULL
30401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30403 if (!SWIG_IsOK(res1
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30408 if (!SWIG_IsOK(ecode2
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30411 arg2
= static_cast< long >(val2
);
30413 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30414 if (!SWIG_IsOK(ecode3
)) {
30415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30417 arg3
= static_cast< bool >(val3
);
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 (arg1
)->SetSingleStyle(arg2
,arg3
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= SWIG_Py_Void();
30432 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
= 0;
30434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30436 int arg3
= (int) wxLIST_NEXT_ALL
;
30437 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 PyObject
* obj3
= 0 ;
30451 char * kwnames
[] = {
30452 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30457 if (!SWIG_IsOK(res1
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30460 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30462 if (!SWIG_IsOK(ecode2
)) {
30463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30465 arg2
= static_cast< long >(val2
);
30467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30468 if (!SWIG_IsOK(ecode3
)) {
30469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30471 arg3
= static_cast< int >(val3
);
30474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30475 if (!SWIG_IsOK(ecode4
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30478 arg4
= static_cast< int >(val4
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_From_long(static_cast< long >(result
));
30493 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30497 wxImageList
*result
= 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "which", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30515 if (!SWIG_IsOK(ecode2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30518 arg2
= static_cast< int >(val2
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30534 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
= 0;
30536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30537 wxImageList
*arg2
= (wxImageList
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 PyObject
* obj2
= 0 ;
30548 char * kwnames
[] = {
30549 (char *) "self",(char *) "imageList",(char *) "which", NULL
30552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30554 if (!SWIG_IsOK(res1
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30557 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30559 if (!SWIG_IsOK(res2
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30562 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30564 if (!SWIG_IsOK(ecode3
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30567 arg3
= static_cast< int >(val3
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->SetImageList(arg2
,arg3
);
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= SWIG_Py_Void();
30581 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30582 PyObject
*resultobj
= 0;
30583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30584 wxImageList
*arg2
= (wxImageList
*) 0 ;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 PyObject
* obj2
= 0 ;
30594 char * kwnames
[] = {
30595 (char *) "self",(char *) "imageList",(char *) "which", NULL
30598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30600 if (!SWIG_IsOK(res1
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30603 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30604 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30605 if (!SWIG_IsOK(res2
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30609 if (!SWIG_IsOK(ecode3
)) {
30610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30612 arg3
= static_cast< int >(val3
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 (arg1
)->AssignImageList(arg2
,arg3
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30627 PyObject
*resultobj
= 0;
30628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30632 PyObject
*swig_obj
[1] ;
30634 if (!args
) SWIG_fail
;
30635 swig_obj
[0] = args
;
30636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30637 if (!SWIG_IsOK(res1
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30656 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30657 PyObject
*resultobj
= 0;
30658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30662 PyObject
*swig_obj
[1] ;
30664 if (!args
) SWIG_fail
;
30665 swig_obj
[0] = args
;
30666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30686 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
= 0;
30688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char * kwnames
[] = {
30697 (char *) "self",(char *) "item", NULL
30700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30702 if (!SWIG_IsOK(res1
)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30705 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30706 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30707 if (!SWIG_IsOK(ecode2
)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30710 arg2
= static_cast< long >(val2
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 (arg1
)->RefreshItem(arg2
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_Py_Void();
30724 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
= 0;
30726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 PyObject
* obj2
= 0 ;
30738 char * kwnames
[] = {
30739 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30744 if (!SWIG_IsOK(res1
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30747 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30748 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30749 if (!SWIG_IsOK(ecode2
)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30752 arg2
= static_cast< long >(val2
);
30753 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30754 if (!SWIG_IsOK(ecode3
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30757 arg3
= static_cast< long >(val3
);
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 (arg1
)->RefreshItems(arg2
,arg3
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= SWIG_Py_Void();
30771 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
= 0;
30773 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30774 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 char * kwnames
[] = {
30783 (char *) "self",(char *) "flag", NULL
30786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30794 if (!SWIG_IsOK(ecode2
)) {
30795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30797 arg2
= static_cast< int >(val2
);
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (bool)(arg1
)->Arrange(arg2
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30814 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
= 0;
30816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 char * kwnames
[] = {
30826 (char *) "self",(char *) "item", NULL
30829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30831 if (!SWIG_IsOK(res1
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30834 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30836 if (!SWIG_IsOK(ecode2
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30839 arg2
= static_cast< long >(val2
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (bool)(arg1
)->DeleteItem(arg2
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30861 PyObject
*swig_obj
[1] ;
30863 if (!args
) SWIG_fail
;
30864 swig_obj
[0] = args
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30869 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (bool)(arg1
)->DeleteAllItems();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
= 0;
30887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 char * kwnames
[] = {
30897 (char *) "self",(char *) "col", NULL
30900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30902 if (!SWIG_IsOK(res1
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30907 if (!SWIG_IsOK(ecode2
)) {
30908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30910 arg2
= static_cast< int >(val2
);
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30926 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30927 PyObject
*resultobj
= 0;
30928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30932 PyObject
*swig_obj
[1] ;
30934 if (!args
) SWIG_fail
;
30935 swig_obj
[0] = args
;
30936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30937 if (!SWIG_IsOK(res1
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30940 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (bool)(arg1
)->DeleteAllColumns();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30956 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30957 PyObject
*resultobj
= 0;
30958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30961 PyObject
*swig_obj
[1] ;
30963 if (!args
) SWIG_fail
;
30964 swig_obj
[0] = args
;
30965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 (arg1
)->ClearAll();
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_Py_Void();
30983 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= 0;
30985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30987 wxTextCtrl
*result
= 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char * kwnames
[] = {
30995 (char *) "self",(char *) "item", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31005 if (!SWIG_IsOK(ecode2
)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31008 arg2
= static_cast< long >(val2
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= wxPyMake_wxObject(result
, 0);
31024 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
= 0;
31026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31033 PyObject
* obj0
= 0 ;
31034 PyObject
* obj1
= 0 ;
31035 char * kwnames
[] = {
31036 (char *) "self",(char *) "cancel", NULL
31039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31041 if (!SWIG_IsOK(res1
)) {
31042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31044 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31045 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31046 if (!SWIG_IsOK(ecode2
)) {
31047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31049 arg2
= static_cast< bool >(val2
);
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31053 wxPyEndAllowThreads(__tstate
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31065 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= 0;
31067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char * kwnames
[] = {
31077 (char *) "self",(char *) "item", NULL
31080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31085 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31087 if (!SWIG_IsOK(ecode2
)) {
31088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31090 arg2
= static_cast< long >(val2
);
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31106 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= 0;
31108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31110 wxString
*arg3
= 0 ;
31111 bool arg4
= (bool) false ;
31117 bool temp3
= false ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 PyObject
* obj2
= 0 ;
31123 PyObject
* obj3
= 0 ;
31124 char * kwnames
[] = {
31125 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31130 if (!SWIG_IsOK(res1
)) {
31131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31133 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31135 if (!SWIG_IsOK(ecode2
)) {
31136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31138 arg2
= static_cast< long >(val2
);
31140 arg3
= wxString_in_helper(obj2
);
31141 if (arg3
== NULL
) SWIG_fail
;
31145 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31146 if (!SWIG_IsOK(ecode4
)) {
31147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31149 arg4
= static_cast< bool >(val4
);
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_From_long(static_cast< long >(result
));
31172 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
= 0;
31174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 PyObject
* obj2
= 0 ;
31187 char * kwnames
[] = {
31188 (char *) "self",(char *) "start",(char *) "data", NULL
31191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31196 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31197 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31198 if (!SWIG_IsOK(ecode2
)) {
31199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31201 arg2
= static_cast< long >(val2
);
31202 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31203 if (!SWIG_IsOK(ecode3
)) {
31204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31206 arg3
= static_cast< long >(val3
);
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_From_long(static_cast< long >(result
));
31220 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
= 0;
31222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31224 wxPoint
*arg3
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 PyObject
* obj2
= 0 ;
31237 PyObject
* obj3
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31244 if (!SWIG_IsOK(res1
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31249 if (!SWIG_IsOK(ecode2
)) {
31250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31252 arg2
= static_cast< long >(val2
);
31255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31258 if (!SWIG_IsOK(ecode4
)) {
31259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31261 arg4
= static_cast< int >(val4
);
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_From_long(static_cast< long >(result
));
31275 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
= 0;
31277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31278 wxPoint
*arg2
= 0 ;
31285 int res3
= SWIG_TMPOBJ
;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "point", NULL
31293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31295 if (!SWIG_IsOK(res1
)) {
31296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_From_long(static_cast< long >(result
));
31310 if (SWIG_IsTmpObj(res3
)) {
31311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31322 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31325 wxPoint
*arg2
= 0 ;
31327 long *arg4
= (long *) 0 ;
31333 int res3
= SWIG_TMPOBJ
;
31335 int res4
= SWIG_TMPOBJ
;
31336 PyObject
* obj0
= 0 ;
31337 PyObject
* obj1
= 0 ;
31338 char * kwnames
[] = {
31339 (char *) "self",(char *) "point", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31349 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_From_long(static_cast< long >(result
));
31361 if (SWIG_IsTmpObj(res3
)) {
31362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31364 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31367 if (SWIG_IsTmpObj(res4
)) {
31368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31370 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31379 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
= 0;
31381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31382 wxListItem
*arg2
= 0 ;
31388 PyObject
* obj0
= 0 ;
31389 PyObject
* obj1
= 0 ;
31390 char * kwnames
[] = {
31391 (char *) "self",(char *) "info", NULL
31394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31396 if (!SWIG_IsOK(res1
)) {
31397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31399 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31401 if (!SWIG_IsOK(res2
)) {
31402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31407 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (long)(arg1
)->InsertItem(*arg2
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_From_long(static_cast< long >(result
));
31421 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31425 wxString
*arg3
= 0 ;
31426 int arg4
= (int) -1 ;
31432 bool temp3
= false ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 PyObject
* obj3
= 0 ;
31439 char * kwnames
[] = {
31440 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31445 if (!SWIG_IsOK(res1
)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31448 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31449 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31450 if (!SWIG_IsOK(ecode2
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31453 arg2
= static_cast< long >(val2
);
31455 arg3
= wxString_in_helper(obj2
);
31456 if (arg3
== NULL
) SWIG_fail
;
31460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31461 if (!SWIG_IsOK(ecode4
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31464 arg4
= static_cast< int >(val4
);
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_From_long(static_cast< long >(result
));
31487 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
= 0;
31489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 PyObject
* obj2
= 0 ;
31502 char * kwnames
[] = {
31503 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31508 if (!SWIG_IsOK(res1
)) {
31509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31513 if (!SWIG_IsOK(ecode2
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31516 arg2
= static_cast< long >(val2
);
31517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31518 if (!SWIG_IsOK(ecode3
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31521 arg3
= static_cast< int >(val3
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_From_long(static_cast< long >(result
));
31535 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
= 0;
31537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31539 wxString
*arg3
= 0 ;
31546 bool temp3
= false ;
31549 PyObject
* obj0
= 0 ;
31550 PyObject
* obj1
= 0 ;
31551 PyObject
* obj2
= 0 ;
31552 PyObject
* obj3
= 0 ;
31553 char * kwnames
[] = {
31554 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31559 if (!SWIG_IsOK(res1
)) {
31560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31562 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31563 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31564 if (!SWIG_IsOK(ecode2
)) {
31565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31567 arg2
= static_cast< long >(val2
);
31569 arg3
= wxString_in_helper(obj2
);
31570 if (arg3
== NULL
) SWIG_fail
;
31573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31574 if (!SWIG_IsOK(ecode4
)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31577 arg4
= static_cast< int >(val4
);
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= SWIG_From_long(static_cast< long >(result
));
31599 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
= 0;
31601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31603 wxListItem
*arg3
= 0 ;
31611 PyObject
* obj0
= 0 ;
31612 PyObject
* obj1
= 0 ;
31613 PyObject
* obj2
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "col",(char *) "info", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31625 if (!SWIG_IsOK(ecode2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31628 arg2
= static_cast< long >(val2
);
31629 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31630 if (!SWIG_IsOK(res3
)) {
31631 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31636 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_From_long(static_cast< long >(result
));
31650 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
= 0;
31652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 wxString
*arg3
= 0 ;
31655 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31656 int arg5
= (int) -1 ;
31662 bool temp3
= false ;
31667 PyObject
* obj0
= 0 ;
31668 PyObject
* obj1
= 0 ;
31669 PyObject
* obj2
= 0 ;
31670 PyObject
* obj3
= 0 ;
31671 PyObject
* obj4
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31678 if (!SWIG_IsOK(res1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31681 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31683 if (!SWIG_IsOK(ecode2
)) {
31684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31686 arg2
= static_cast< long >(val2
);
31688 arg3
= wxString_in_helper(obj2
);
31689 if (arg3
== NULL
) SWIG_fail
;
31693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31694 if (!SWIG_IsOK(ecode4
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31697 arg4
= static_cast< int >(val4
);
31700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31701 if (!SWIG_IsOK(ecode5
)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31704 arg5
= static_cast< int >(val5
);
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= SWIG_From_long(static_cast< long >(result
));
31727 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
= 0;
31729 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 char * kwnames
[] = {
31738 (char *) "self",(char *) "count", NULL
31741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31743 if (!SWIG_IsOK(res1
)) {
31744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31746 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31748 if (!SWIG_IsOK(ecode2
)) {
31749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31751 arg2
= static_cast< long >(val2
);
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 (arg1
)->SetItemCount(arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= SWIG_Py_Void();
31765 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31777 PyObject
* obj0
= 0 ;
31778 PyObject
* obj1
= 0 ;
31779 PyObject
* obj2
= 0 ;
31780 char * kwnames
[] = {
31781 (char *) "self",(char *) "dx",(char *) "dy", NULL
31784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31789 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31791 if (!SWIG_IsOK(ecode2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31794 arg2
= static_cast< int >(val2
);
31795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31796 if (!SWIG_IsOK(ecode3
)) {
31797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31799 arg3
= static_cast< int >(val3
);
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31815 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
= 0;
31817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31819 wxColour
*arg3
= 0 ;
31825 PyObject
* obj0
= 0 ;
31826 PyObject
* obj1
= 0 ;
31827 PyObject
* obj2
= 0 ;
31828 char * kwnames
[] = {
31829 (char *) "self",(char *) "item",(char *) "col", NULL
31832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31834 if (!SWIG_IsOK(res1
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31837 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31838 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31839 if (!SWIG_IsOK(ecode2
)) {
31840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31842 arg2
= static_cast< long >(val2
);
31845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= SWIG_Py_Void();
31860 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31861 PyObject
*resultobj
= 0;
31862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31869 PyObject
* obj0
= 0 ;
31870 PyObject
* obj1
= 0 ;
31871 char * kwnames
[] = {
31872 (char *) "self",(char *) "item", NULL
31875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31877 if (!SWIG_IsOK(res1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31882 if (!SWIG_IsOK(ecode2
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31885 arg2
= static_cast< long >(val2
);
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31899 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31900 PyObject
*resultobj
= 0;
31901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31903 wxColour
*arg3
= 0 ;
31909 PyObject
* obj0
= 0 ;
31910 PyObject
* obj1
= 0 ;
31911 PyObject
* obj2
= 0 ;
31912 char * kwnames
[] = {
31913 (char *) "self",(char *) "item",(char *) "col", NULL
31916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31921 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31923 if (!SWIG_IsOK(ecode2
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31926 arg2
= static_cast< long >(val2
);
31929 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= SWIG_Py_Void();
31944 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
= 0;
31946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "self",(char *) "item", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31961 if (!SWIG_IsOK(res1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31966 if (!SWIG_IsOK(ecode2
)) {
31967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31969 arg2
= static_cast< long >(val2
);
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31983 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
= 0;
31985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 PyObject
* obj2
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "item",(char *) "f", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32007 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32008 if (!SWIG_IsOK(ecode2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32011 arg2
= static_cast< long >(val2
);
32012 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32013 if (!SWIG_IsOK(res3
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32019 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_Py_Void();
32033 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
= 0;
32035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "item", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32055 if (!SWIG_IsOK(ecode2
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32058 arg2
= static_cast< long >(val2
);
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32072 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
= 0;
32074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32075 PyObject
*arg2
= (PyObject
*) 0 ;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 char * kwnames
[] = {
32082 (char *) "self",(char *) "func", NULL
32085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32087 if (!SWIG_IsOK(res1
)) {
32088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32090 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32107 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32108 PyObject
*resultobj
= 0;
32109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32110 wxWindow
*result
= 0 ;
32113 PyObject
*swig_obj
[1] ;
32115 if (!args
) SWIG_fail
;
32116 swig_obj
[0] = args
;
32117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32118 if (!SWIG_IsOK(res1
)) {
32119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= wxPyMake_wxObject(result
, 0);
32137 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32138 PyObject
*resultobj
= 0;
32139 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32140 SwigValueWrapper
<wxVisualAttributes
> result
;
32143 PyObject
* obj0
= 0 ;
32144 char * kwnames
[] = {
32145 (char *) "variant", NULL
32148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32150 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32151 if (!SWIG_IsOK(ecode1
)) {
32152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32154 arg1
= static_cast< wxWindowVariant
>(val1
);
32157 if (!wxPyCheckForApp()) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32170 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32174 return SWIG_Py_Void();
32177 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 return SWIG_Python_InitShadowInstance(args
);
32181 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
= 0;
32183 wxWindow
*arg1
= (wxWindow
*) 0 ;
32184 int arg2
= (int) -1 ;
32185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32189 long arg5
= (long) wxLC_REPORT
;
32190 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32191 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32192 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32194 wxListView
*result
= 0 ;
32205 bool temp7
= false ;
32206 PyObject
* obj0
= 0 ;
32207 PyObject
* obj1
= 0 ;
32208 PyObject
* obj2
= 0 ;
32209 PyObject
* obj3
= 0 ;
32210 PyObject
* obj4
= 0 ;
32211 PyObject
* obj5
= 0 ;
32212 PyObject
* obj6
= 0 ;
32213 char * kwnames
[] = {
32214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32219 if (!SWIG_IsOK(res1
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32225 if (!SWIG_IsOK(ecode2
)) {
32226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32228 arg2
= static_cast< int >(val2
);
32233 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32239 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32243 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32244 if (!SWIG_IsOK(ecode5
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32247 arg5
= static_cast< long >(val5
);
32250 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32251 if (!SWIG_IsOK(res6
)) {
32252 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32257 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32261 arg7
= wxString_in_helper(obj6
);
32262 if (arg7
== NULL
) SWIG_fail
;
32267 if (!wxPyCheckForApp()) SWIG_fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32288 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32289 PyObject
*resultobj
= 0;
32290 wxListView
*result
= 0 ;
32292 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32294 if (!wxPyCheckForApp()) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxListView
*)new wxListView();
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32307 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxListView
*arg1
= (wxListView
*) 0 ;
32310 wxWindow
*arg2
= (wxWindow
*) 0 ;
32311 int arg3
= (int) -1 ;
32312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32316 long arg6
= (long) wxLC_REPORT
;
32317 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32318 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32319 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32320 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32334 bool temp8
= false ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 PyObject
* obj2
= 0 ;
32338 PyObject
* obj3
= 0 ;
32339 PyObject
* obj4
= 0 ;
32340 PyObject
* obj5
= 0 ;
32341 PyObject
* obj6
= 0 ;
32342 PyObject
* obj7
= 0 ;
32343 char * kwnames
[] = {
32344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32349 if (!SWIG_IsOK(res1
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32352 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32354 if (!SWIG_IsOK(res2
)) {
32355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32360 if (!SWIG_IsOK(ecode3
)) {
32361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32363 arg3
= static_cast< int >(val3
);
32368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32378 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32379 if (!SWIG_IsOK(ecode6
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32382 arg6
= static_cast< long >(val6
);
32385 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32386 if (!SWIG_IsOK(res7
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32392 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32396 arg8
= wxString_in_helper(obj7
);
32397 if (arg8
== NULL
) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32424 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxListView
*arg1
= (wxListView
*) 0 ;
32428 bool arg3
= (bool) true ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 char * kwnames
[] = {
32439 (char *) "self",(char *) "n",(char *) "on", NULL
32442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32444 if (!SWIG_IsOK(res1
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32447 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32448 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32449 if (!SWIG_IsOK(ecode2
)) {
32450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32452 arg2
= static_cast< long >(val2
);
32454 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32455 if (!SWIG_IsOK(ecode3
)) {
32456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32458 arg3
= static_cast< bool >(val3
);
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 (arg1
)->Select(arg2
,arg3
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_Py_Void();
32473 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
= 0;
32475 wxListView
*arg1
= (wxListView
*) 0 ;
32481 PyObject
* obj0
= 0 ;
32482 PyObject
* obj1
= 0 ;
32483 char * kwnames
[] = {
32484 (char *) "self",(char *) "index", NULL
32487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32489 if (!SWIG_IsOK(res1
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32492 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32493 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32494 if (!SWIG_IsOK(ecode2
)) {
32495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32497 arg2
= static_cast< long >(val2
);
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 (arg1
)->Focus(arg2
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= SWIG_Py_Void();
32511 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32512 PyObject
*resultobj
= 0;
32513 wxListView
*arg1
= (wxListView
*) 0 ;
32517 PyObject
*swig_obj
[1] ;
32519 if (!args
) SWIG_fail
;
32520 swig_obj
[0] = args
;
32521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32522 if (!SWIG_IsOK(res1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32525 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32529 wxPyEndAllowThreads(__tstate
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= SWIG_From_long(static_cast< long >(result
));
32539 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
= 0;
32541 wxListView
*arg1
= (wxListView
*) 0 ;
32548 PyObject
* obj0
= 0 ;
32549 PyObject
* obj1
= 0 ;
32550 char * kwnames
[] = {
32551 (char *) "self",(char *) "item", NULL
32554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32556 if (!SWIG_IsOK(res1
)) {
32557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32559 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32561 if (!SWIG_IsOK(ecode2
)) {
32562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32564 arg2
= static_cast< long >(val2
);
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= SWIG_From_long(static_cast< long >(result
));
32578 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32579 PyObject
*resultobj
= 0;
32580 wxListView
*arg1
= (wxListView
*) 0 ;
32584 PyObject
*swig_obj
[1] ;
32586 if (!args
) SWIG_fail
;
32587 swig_obj
[0] = args
;
32588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32589 if (!SWIG_IsOK(res1
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32592 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= SWIG_From_long(static_cast< long >(result
));
32606 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32607 PyObject
*resultobj
= 0;
32608 wxListView
*arg1
= (wxListView
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 char * kwnames
[] = {
32618 (char *) "self",(char *) "index", NULL
32621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32623 if (!SWIG_IsOK(res1
)) {
32624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32626 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32627 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32628 if (!SWIG_IsOK(ecode2
)) {
32629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32631 arg2
= static_cast< long >(val2
);
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= (bool)(arg1
)->IsSelected(arg2
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32647 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
= 0;
32649 wxListView
*arg1
= (wxListView
*) 0 ;
32658 PyObject
* obj0
= 0 ;
32659 PyObject
* obj1
= 0 ;
32660 PyObject
* obj2
= 0 ;
32661 char * kwnames
[] = {
32662 (char *) "self",(char *) "col",(char *) "image", NULL
32665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32667 if (!SWIG_IsOK(res1
)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32670 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32672 if (!SWIG_IsOK(ecode2
)) {
32673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32675 arg2
= static_cast< int >(val2
);
32676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32677 if (!SWIG_IsOK(ecode3
)) {
32678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32680 arg3
= static_cast< int >(val3
);
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 (arg1
)->SetColumnImage(arg2
,arg3
);
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_Py_Void();
32694 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxListView
*arg1
= (wxListView
*) 0 ;
32702 PyObject
* obj0
= 0 ;
32703 PyObject
* obj1
= 0 ;
32704 char * kwnames
[] = {
32705 (char *) "self",(char *) "col", NULL
32708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32710 if (!SWIG_IsOK(res1
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32713 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32715 if (!SWIG_IsOK(ecode2
)) {
32716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32718 arg2
= static_cast< int >(val2
);
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 (arg1
)->ClearColumnImage(arg2
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= SWIG_Py_Void();
32732 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32735 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32736 return SWIG_Py_Void();
32739 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32740 return SWIG_Python_InitShadowInstance(args
);
32743 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32744 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32749 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32750 PyObject
*pyobj
= 0;
32754 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32756 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32763 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 PyObject
*resultobj
= 0;
32765 wxTreeItemId
*result
= 0 ;
32767 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (wxTreeItemId
*)new wxTreeItemId();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32781 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 PyObject
*resultobj
= 0;
32783 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32794 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= SWIG_Py_Void();
32809 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32810 PyObject
*resultobj
= 0;
32811 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32815 PyObject
*swig_obj
[1] ;
32817 if (!args
) SWIG_fail
;
32818 swig_obj
[0] = args
;
32819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32820 if (!SWIG_IsOK(res1
)) {
32821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32823 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32826 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32827 wxPyEndAllowThreads(__tstate
);
32828 if (PyErr_Occurred()) SWIG_fail
;
32831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32839 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
= 0;
32841 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32842 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32848 PyObject
* obj0
= 0 ;
32849 PyObject
* obj1
= 0 ;
32850 char * kwnames
[] = {
32851 (char *) "self",(char *) "other", NULL
32854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32859 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32861 if (!SWIG_IsOK(res2
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32864 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32880 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32881 PyObject
*resultobj
= 0;
32882 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32883 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32889 PyObject
* obj0
= 0 ;
32890 PyObject
* obj1
= 0 ;
32891 char * kwnames
[] = {
32892 (char *) "self",(char *) "other", NULL
32895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32897 if (!SWIG_IsOK(res1
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32900 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32902 if (!SWIG_IsOK(res2
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32905 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32921 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32922 PyObject
*resultobj
= 0;
32923 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32924 void *arg2
= (void *) 0 ;
32928 PyObject
*swig_obj
[2] ;
32930 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32935 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32936 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32937 if (!SWIG_IsOK(res2
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32940 if (arg1
) (arg1
)->m_pItem
= arg2
;
32942 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32950 PyObject
*resultobj
= 0;
32951 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32955 PyObject
*swig_obj
[1] ;
32957 if (!args
) SWIG_fail
;
32958 swig_obj
[0] = args
;
32959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32963 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32964 result
= (void *) ((arg1
)->m_pItem
);
32965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32972 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32975 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32976 return SWIG_Py_Void();
32979 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 return SWIG_Python_InitShadowInstance(args
);
32983 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
= 0;
32985 PyObject
*arg1
= (PyObject
*) NULL
;
32986 wxPyTreeItemData
*result
= 0 ;
32987 PyObject
* obj0
= 0 ;
32988 char * kwnames
[] = {
32989 (char *) "obj", NULL
32992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32998 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33009 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33010 PyObject
*resultobj
= 0;
33011 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 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_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33022 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_Py_Void();
33037 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 PyObject
*resultobj
= 0;
33039 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33040 PyObject
*result
= 0 ;
33043 PyObject
*swig_obj
[1] ;
33045 if (!args
) SWIG_fail
;
33046 swig_obj
[0] = args
;
33047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33048 if (!SWIG_IsOK(res1
)) {
33049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33051 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 result
= (PyObject
*)(arg1
)->GetData();
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= result
;
33065 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
= 0;
33067 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33068 PyObject
*arg2
= (PyObject
*) 0 ;
33071 PyObject
* obj0
= 0 ;
33072 PyObject
* obj1
= 0 ;
33073 char * kwnames
[] = {
33074 (char *) "self",(char *) "obj", NULL
33077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33082 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 (arg1
)->SetData(arg2
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= SWIG_Py_Void();
33097 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33098 PyObject
*resultobj
= 0;
33099 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33100 wxTreeItemId
*result
= 0 ;
33103 PyObject
*swig_obj
[1] ;
33105 if (!args
) SWIG_fail
;
33106 swig_obj
[0] = args
;
33107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33108 if (!SWIG_IsOK(res1
)) {
33109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33111 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33116 result
= (wxTreeItemId
*) &_result_ref
;
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33128 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
= 0;
33130 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33131 wxTreeItemId
*arg2
= 0 ;
33136 PyObject
* obj0
= 0 ;
33137 PyObject
* obj1
= 0 ;
33138 char * kwnames
[] = {
33139 (char *) "self",(char *) "id", NULL
33142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33144 if (!SWIG_IsOK(res1
)) {
33145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33147 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33149 if (!SWIG_IsOK(res2
)) {
33150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= SWIG_Py_Void();
33169 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33170 PyObject
*resultobj
= 0;
33171 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33174 PyObject
*swig_obj
[1] ;
33176 if (!args
) SWIG_fail
;
33177 swig_obj
[0] = args
;
33178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33179 if (!SWIG_IsOK(res1
)) {
33180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33182 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 wxPyTreeItemData_Destroy(arg1
);
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= SWIG_Py_Void();
33196 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33200 return SWIG_Py_Void();
33203 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33204 return SWIG_Python_InitShadowInstance(args
);
33207 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33210 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33211 if (!SWIG_IsOK(res
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33217 wxTreeItemId
* temp
;
33218 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33219 wxNullTreeItemId
= *temp
;
33220 if (SWIG_IsNewObj(res
)) delete temp
;
33229 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33230 PyObject
*pyobj
= 0;
33232 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33237 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33238 PyObject
*resultobj
= 0;
33239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33240 int arg2
= (int) 0 ;
33241 wxTreeEvent
*result
= 0 ;
33247 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33249 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33250 if (!SWIG_IsOK(ecode1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33253 arg1
= static_cast< wxEventType
>(val1
);
33256 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33257 if (!SWIG_IsOK(ecode2
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33260 arg2
= static_cast< int >(val2
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33275 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33276 PyObject
*resultobj
= 0;
33278 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33279 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33280 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33281 wxTreeEvent
*result
= 0 ;
33289 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33290 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33291 if (!SWIG_IsOK(ecode1
)) {
33292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33294 arg1
= static_cast< wxEventType
>(val1
);
33295 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33296 if (!SWIG_IsOK(res2
)) {
33297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33299 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33301 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33302 if (!SWIG_IsOK(res3
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33308 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33313 wxPyEndAllowThreads(__tstate
);
33314 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33323 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33327 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33329 if ((argc
>= 0) && (argc
<= 2)) {
33334 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33335 _v
= SWIG_CheckState(res
);
33338 if (!_v
) goto check_1
;
33340 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33344 if ((argc
>= 2) && (argc
<= 3)) {
33345 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33349 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33354 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33355 PyObject
*resultobj
= 0;
33356 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33357 wxTreeItemId result
;
33360 PyObject
*swig_obj
[1] ;
33362 if (!args
) SWIG_fail
;
33363 swig_obj
[0] = args
;
33364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33365 if (!SWIG_IsOK(res1
)) {
33366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33368 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33382 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
= 0;
33384 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33385 wxTreeItemId
*arg2
= 0 ;
33390 PyObject
* obj0
= 0 ;
33391 PyObject
* obj1
= 0 ;
33392 char * kwnames
[] = {
33393 (char *) "self",(char *) "item", NULL
33396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33398 if (!SWIG_IsOK(res1
)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33401 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33403 if (!SWIG_IsOK(res2
)) {
33404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33416 resultobj
= SWIG_Py_Void();
33423 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33424 PyObject
*resultobj
= 0;
33425 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33426 wxTreeItemId result
;
33429 PyObject
*swig_obj
[1] ;
33431 if (!args
) SWIG_fail
;
33432 swig_obj
[0] = args
;
33433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33434 if (!SWIG_IsOK(res1
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33437 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33451 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33452 PyObject
*resultobj
= 0;
33453 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33454 wxTreeItemId
*arg2
= 0 ;
33459 PyObject
* obj0
= 0 ;
33460 PyObject
* obj1
= 0 ;
33461 char * kwnames
[] = {
33462 (char *) "self",(char *) "item", NULL
33465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33467 if (!SWIG_IsOK(res1
)) {
33468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33470 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33472 if (!SWIG_IsOK(res2
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33478 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= SWIG_Py_Void();
33492 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33493 PyObject
*resultobj
= 0;
33494 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33498 PyObject
*swig_obj
[1] ;
33500 if (!args
) SWIG_fail
;
33501 swig_obj
[0] = args
;
33502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33503 if (!SWIG_IsOK(res1
)) {
33504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33506 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33520 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33523 wxPoint
*arg2
= 0 ;
33527 PyObject
* obj0
= 0 ;
33528 PyObject
* obj1
= 0 ;
33529 char * kwnames
[] = {
33530 (char *) "self",(char *) "pt", NULL
33533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33538 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_Py_Void();
33556 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33557 PyObject
*resultobj
= 0;
33558 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33559 wxKeyEvent
*result
= 0 ;
33562 PyObject
*swig_obj
[1] ;
33564 if (!args
) SWIG_fail
;
33565 swig_obj
[0] = args
;
33566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33567 if (!SWIG_IsOK(res1
)) {
33568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33570 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33575 result
= (wxKeyEvent
*) &_result_ref
;
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33587 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33588 PyObject
*resultobj
= 0;
33589 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33593 PyObject
*swig_obj
[1] ;
33595 if (!args
) SWIG_fail
;
33596 swig_obj
[0] = args
;
33597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33601 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_From_int(static_cast< int >(result
));
33615 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
= 0;
33617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33618 wxKeyEvent
*arg2
= 0 ;
33623 PyObject
* obj0
= 0 ;
33624 PyObject
* obj1
= 0 ;
33625 char * kwnames
[] = {
33626 (char *) "self",(char *) "evt", NULL
33629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33631 if (!SWIG_IsOK(res1
)) {
33632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33634 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33636 if (!SWIG_IsOK(res2
)) {
33637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33642 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 resultobj
= SWIG_Py_Void();
33656 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33657 PyObject
*resultobj
= 0;
33658 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33659 wxString
*result
= 0 ;
33662 PyObject
*swig_obj
[1] ;
33664 if (!args
) SWIG_fail
;
33665 swig_obj
[0] = args
;
33666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33670 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33675 result
= (wxString
*) &_result_ref
;
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33693 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
= 0;
33695 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33696 wxString
*arg2
= 0 ;
33699 bool temp2
= false ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 char * kwnames
[] = {
33703 (char *) "self",(char *) "label", NULL
33706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33711 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33713 arg2
= wxString_in_helper(obj1
);
33714 if (arg2
== NULL
) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 (arg1
)->SetLabel((wxString
const &)*arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_Py_Void();
33738 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33739 PyObject
*resultobj
= 0;
33740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33744 PyObject
*swig_obj
[1] ;
33746 if (!args
) SWIG_fail
;
33747 swig_obj
[0] = args
;
33748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33749 if (!SWIG_IsOK(res1
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33752 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33768 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33769 PyObject
*resultobj
= 0;
33770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33776 PyObject
* obj0
= 0 ;
33777 PyObject
* obj1
= 0 ;
33778 char * kwnames
[] = {
33779 (char *) "self",(char *) "editCancelled", NULL
33782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33787 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33789 if (!SWIG_IsOK(ecode2
)) {
33790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33792 arg2
= static_cast< bool >(val2
);
33794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33795 (arg1
)->SetEditCanceled(arg2
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= SWIG_Py_Void();
33806 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
= 0;
33808 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33809 wxString
*arg2
= 0 ;
33812 bool temp2
= false ;
33813 PyObject
* obj0
= 0 ;
33814 PyObject
* obj1
= 0 ;
33815 char * kwnames
[] = {
33816 (char *) "self",(char *) "toolTip", NULL
33819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33821 if (!SWIG_IsOK(res1
)) {
33822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33824 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33826 arg2
= wxString_in_helper(obj1
);
33827 if (arg2
== NULL
) SWIG_fail
;
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_Py_Void();
33851 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33857 PyObject
*swig_obj
[1] ;
33859 if (!args
) SWIG_fail
;
33860 swig_obj
[0] = args
;
33861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33865 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (arg1
)->GetToolTip();
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33885 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33888 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33889 return SWIG_Py_Void();
33892 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33893 return SWIG_Python_InitShadowInstance(args
);
33896 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
= 0;
33898 wxWindow
*arg1
= (wxWindow
*) 0 ;
33899 int arg2
= (int) -1 ;
33900 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33901 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33902 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33903 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33904 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33905 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33906 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33907 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33908 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33909 wxPyTreeCtrl
*result
= 0 ;
33920 bool temp7
= false ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 PyObject
* obj2
= 0 ;
33924 PyObject
* obj3
= 0 ;
33925 PyObject
* obj4
= 0 ;
33926 PyObject
* obj5
= 0 ;
33927 PyObject
* obj6
= 0 ;
33928 char * kwnames
[] = {
33929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33934 if (!SWIG_IsOK(res1
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33940 if (!SWIG_IsOK(ecode2
)) {
33941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33943 arg2
= static_cast< int >(val2
);
33948 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33954 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33958 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33959 if (!SWIG_IsOK(ecode5
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33962 arg5
= static_cast< long >(val5
);
33965 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33966 if (!SWIG_IsOK(res6
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33972 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33976 arg7
= wxString_in_helper(obj6
);
33977 if (arg7
== NULL
) SWIG_fail
;
33982 if (!wxPyCheckForApp()) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34003 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34004 PyObject
*resultobj
= 0;
34005 wxPyTreeCtrl
*result
= 0 ;
34007 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34009 if (!wxPyCheckForApp()) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34022 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34023 PyObject
*resultobj
= 0;
34024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34025 wxWindow
*arg2
= (wxWindow
*) 0 ;
34026 int arg3
= (int) -1 ;
34027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34031 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34032 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34033 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34034 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34049 bool temp8
= false ;
34050 PyObject
* obj0
= 0 ;
34051 PyObject
* obj1
= 0 ;
34052 PyObject
* obj2
= 0 ;
34053 PyObject
* obj3
= 0 ;
34054 PyObject
* obj4
= 0 ;
34055 PyObject
* obj5
= 0 ;
34056 PyObject
* obj6
= 0 ;
34057 PyObject
* obj7
= 0 ;
34058 char * kwnames
[] = {
34059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34069 if (!SWIG_IsOK(res2
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34072 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34075 if (!SWIG_IsOK(ecode3
)) {
34076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34078 arg3
= static_cast< int >(val3
);
34083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34093 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34094 if (!SWIG_IsOK(ecode6
)) {
34095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34097 arg6
= static_cast< long >(val6
);
34100 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34101 if (!SWIG_IsOK(res7
)) {
34102 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34107 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34111 arg8
= wxString_in_helper(obj7
);
34112 if (arg8
== NULL
) SWIG_fail
;
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34139 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
= 0;
34141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34142 PyObject
*arg2
= (PyObject
*) 0 ;
34143 PyObject
*arg3
= (PyObject
*) 0 ;
34146 PyObject
* obj0
= 0 ;
34147 PyObject
* obj1
= 0 ;
34148 PyObject
* obj2
= 0 ;
34149 char * kwnames
[] = {
34150 (char *) "self",(char *) "self",(char *) "_class", NULL
34153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34167 resultobj
= SWIG_Py_Void();
34174 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34175 PyObject
*resultobj
= 0;
34176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34177 unsigned int result
;
34180 PyObject
*swig_obj
[1] ;
34182 if (!args
) SWIG_fail
;
34183 swig_obj
[0] = args
;
34184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34185 if (!SWIG_IsOK(res1
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34203 PyObject
*resultobj
= 0;
34204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34205 unsigned int result
;
34208 PyObject
*swig_obj
[1] ;
34210 if (!args
) SWIG_fail
;
34211 swig_obj
[0] = args
;
34212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34230 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
= 0;
34232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34233 unsigned int arg2
;
34236 unsigned int val2
;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 char * kwnames
[] = {
34241 (char *) "self",(char *) "indent", NULL
34244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34250 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34251 if (!SWIG_IsOK(ecode2
)) {
34252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34254 arg2
= static_cast< unsigned int >(val2
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->SetIndent(arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 unsigned int result
;
34274 PyObject
*swig_obj
[1] ;
34276 if (!args
) SWIG_fail
;
34277 swig_obj
[0] = args
;
34278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34296 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
= 0;
34298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34299 unsigned int arg2
;
34302 unsigned int val2
;
34304 PyObject
* obj0
= 0 ;
34305 PyObject
* obj1
= 0 ;
34306 char * kwnames
[] = {
34307 (char *) "self",(char *) "spacing", NULL
34310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34312 if (!SWIG_IsOK(res1
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34316 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34317 if (!SWIG_IsOK(ecode2
)) {
34318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34320 arg2
= static_cast< unsigned int >(val2
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 (arg1
)->SetSpacing(arg2
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_Py_Void();
34334 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34335 PyObject
*resultobj
= 0;
34336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34337 wxImageList
*result
= 0 ;
34340 PyObject
*swig_obj
[1] ;
34342 if (!args
) SWIG_fail
;
34343 swig_obj
[0] = args
;
34344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34356 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34364 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34365 PyObject
*resultobj
= 0;
34366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34367 wxImageList
*result
= 0 ;
34370 PyObject
*swig_obj
[1] ;
34372 if (!args
) SWIG_fail
;
34373 swig_obj
[0] = args
;
34374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34375 if (!SWIG_IsOK(res1
)) {
34376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34378 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34394 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34397 wxImageList
*arg2
= (wxImageList
*) 0 ;
34402 PyObject
* obj0
= 0 ;
34403 PyObject
* obj1
= 0 ;
34404 char * kwnames
[] = {
34405 (char *) "self",(char *) "imageList", NULL
34408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34410 if (!SWIG_IsOK(res1
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34413 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34414 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34415 if (!SWIG_IsOK(res2
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34418 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 (arg1
)->SetImageList(arg2
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= SWIG_Py_Void();
34432 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
= 0;
34434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34435 wxImageList
*arg2
= (wxImageList
*) 0 ;
34440 PyObject
* obj0
= 0 ;
34441 PyObject
* obj1
= 0 ;
34442 char * kwnames
[] = {
34443 (char *) "self",(char *) "imageList", NULL
34446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34448 if (!SWIG_IsOK(res1
)) {
34449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34451 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34453 if (!SWIG_IsOK(res2
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34456 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 (arg1
)->SetStateImageList(arg2
);
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= SWIG_Py_Void();
34470 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34471 PyObject
*resultobj
= 0;
34472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34473 wxImageList
*arg2
= (wxImageList
*) 0 ;
34477 PyObject
* obj0
= 0 ;
34478 PyObject
* obj1
= 0 ;
34479 char * kwnames
[] = {
34480 (char *) "self",(char *) "imageList", NULL
34483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34485 if (!SWIG_IsOK(res1
)) {
34486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34489 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34490 if (!SWIG_IsOK(res2
)) {
34491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 (arg1
)->AssignImageList(arg2
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= SWIG_Py_Void();
34506 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
= 0;
34508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34509 wxImageList
*arg2
= (wxImageList
*) 0 ;
34513 PyObject
* obj0
= 0 ;
34514 PyObject
* obj1
= 0 ;
34515 char * kwnames
[] = {
34516 (char *) "self",(char *) "imageList", NULL
34519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34521 if (!SWIG_IsOK(res1
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34525 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34526 if (!SWIG_IsOK(res2
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 (arg1
)->AssignStateImageList(arg2
);
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34535 resultobj
= SWIG_Py_Void();
34542 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
= 0;
34544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34545 wxTreeItemId
*arg2
= 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 char * kwnames
[] = {
34554 (char *) "self",(char *) "item", NULL
34557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34559 if (!SWIG_IsOK(res1
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34564 if (!SWIG_IsOK(res2
)) {
34565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34570 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34573 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34590 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
= 0;
34592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34593 wxTreeItemId
*arg2
= 0 ;
34594 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 PyObject
* obj2
= 0 ;
34605 char * kwnames
[] = {
34606 (char *) "self",(char *) "item",(char *) "which", NULL
34609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34611 if (!SWIG_IsOK(res1
)) {
34612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34614 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34616 if (!SWIG_IsOK(res2
)) {
34617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34622 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34625 if (!SWIG_IsOK(ecode3
)) {
34626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34628 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34633 wxPyEndAllowThreads(__tstate
);
34634 if (PyErr_Occurred()) SWIG_fail
;
34636 resultobj
= SWIG_From_int(static_cast< int >(result
));
34643 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
= 0;
34645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34646 wxTreeItemId
*arg2
= 0 ;
34647 wxPyTreeItemData
*result
= 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "item", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34675 wxPyEndAllowThreads(__tstate
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34685 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
= 0;
34687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34688 wxTreeItemId
*arg2
= 0 ;
34689 PyObject
*result
= 0 ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 char * kwnames
[] = {
34697 (char *) "self",(char *) "item", NULL
34700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34702 if (!SWIG_IsOK(res1
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34707 if (!SWIG_IsOK(res2
)) {
34708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 resultobj
= result
;
34727 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
= 0;
34729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34730 wxTreeItemId
*arg2
= 0 ;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 char * kwnames
[] = {
34739 (char *) "self",(char *) "item", NULL
34742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34744 if (!SWIG_IsOK(res1
)) {
34745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34747 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34749 if (!SWIG_IsOK(res2
)) {
34750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34755 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34769 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34772 wxTreeItemId
*arg2
= 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 char * kwnames
[] = {
34781 (char *) "self",(char *) "item", NULL
34784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34786 if (!SWIG_IsOK(res1
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34789 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34791 if (!SWIG_IsOK(res2
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34797 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34801 wxPyEndAllowThreads(__tstate
);
34802 if (PyErr_Occurred()) SWIG_fail
;
34804 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34811 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34812 PyObject
*resultobj
= 0;
34813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34814 wxTreeItemId
*arg2
= 0 ;
34820 PyObject
* obj0
= 0 ;
34821 PyObject
* obj1
= 0 ;
34822 char * kwnames
[] = {
34823 (char *) "self",(char *) "item", NULL
34826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34828 if (!SWIG_IsOK(res1
)) {
34829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34831 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34833 if (!SWIG_IsOK(res2
)) {
34834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34839 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34846 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34853 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
= 0;
34855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34856 wxTreeItemId
*arg2
= 0 ;
34857 wxString
*arg3
= 0 ;
34862 bool temp3
= false ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 PyObject
* obj2
= 0 ;
34866 char * kwnames
[] = {
34867 (char *) "self",(char *) "item",(char *) "text", NULL
34870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34877 if (!SWIG_IsOK(res2
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34883 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34885 arg3
= wxString_in_helper(obj2
);
34886 if (arg3
== NULL
) SWIG_fail
;
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= SWIG_Py_Void();
34910 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34913 wxTreeItemId
*arg2
= 0 ;
34915 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34924 PyObject
* obj0
= 0 ;
34925 PyObject
* obj1
= 0 ;
34926 PyObject
* obj2
= 0 ;
34927 PyObject
* obj3
= 0 ;
34928 char * kwnames
[] = {
34929 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34934 if (!SWIG_IsOK(res1
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34937 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34939 if (!SWIG_IsOK(res2
)) {
34940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34945 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34947 if (!SWIG_IsOK(ecode3
)) {
34948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34950 arg3
= static_cast< int >(val3
);
34952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34953 if (!SWIG_IsOK(ecode4
)) {
34954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34956 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 resultobj
= SWIG_Py_Void();
34971 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
= 0;
34973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34974 wxTreeItemId
*arg2
= 0 ;
34975 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 PyObject
* obj2
= 0 ;
34984 char * kwnames
[] = {
34985 (char *) "self",(char *) "item",(char *) "data", NULL
34988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34990 if (!SWIG_IsOK(res1
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34993 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34995 if (!SWIG_IsOK(res2
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35001 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35002 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35003 if (!SWIG_IsOK(res3
)) {
35004 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35008 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= SWIG_Py_Void();
35019 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35020 PyObject
*resultobj
= 0;
35021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35022 wxTreeItemId
*arg2
= 0 ;
35023 PyObject
*arg3
= (PyObject
*) 0 ;
35028 PyObject
* obj0
= 0 ;
35029 PyObject
* obj1
= 0 ;
35030 PyObject
* obj2
= 0 ;
35031 char * kwnames
[] = {
35032 (char *) "self",(char *) "item",(char *) "obj", NULL
35035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35037 if (!SWIG_IsOK(res1
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35040 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35042 if (!SWIG_IsOK(res2
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35053 wxPyEndAllowThreads(__tstate
);
35054 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= SWIG_Py_Void();
35063 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35064 PyObject
*resultobj
= 0;
35065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35066 wxTreeItemId
*arg2
= 0 ;
35067 bool arg3
= (bool) true ;
35074 PyObject
* obj0
= 0 ;
35075 PyObject
* obj1
= 0 ;
35076 PyObject
* obj2
= 0 ;
35077 char * kwnames
[] = {
35078 (char *) "self",(char *) "item",(char *) "has", NULL
35081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35083 if (!SWIG_IsOK(res1
)) {
35084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35088 if (!SWIG_IsOK(res2
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35096 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35097 if (!SWIG_IsOK(ecode3
)) {
35098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35100 arg3
= static_cast< bool >(val3
);
35103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35104 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35105 wxPyEndAllowThreads(__tstate
);
35106 if (PyErr_Occurred()) SWIG_fail
;
35108 resultobj
= SWIG_Py_Void();
35115 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35116 PyObject
*resultobj
= 0;
35117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35118 wxTreeItemId
*arg2
= 0 ;
35119 bool arg3
= (bool) true ;
35126 PyObject
* obj0
= 0 ;
35127 PyObject
* obj1
= 0 ;
35128 PyObject
* obj2
= 0 ;
35129 char * kwnames
[] = {
35130 (char *) "self",(char *) "item",(char *) "bold", NULL
35133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35135 if (!SWIG_IsOK(res1
)) {
35136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35138 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35140 if (!SWIG_IsOK(res2
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35146 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35148 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35149 if (!SWIG_IsOK(ecode3
)) {
35150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35152 arg3
= static_cast< bool >(val3
);
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35157 wxPyEndAllowThreads(__tstate
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35160 resultobj
= SWIG_Py_Void();
35167 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35168 PyObject
*resultobj
= 0;
35169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35170 wxTreeItemId
*arg2
= 0 ;
35171 bool arg3
= (bool) true ;
35178 PyObject
* obj0
= 0 ;
35179 PyObject
* obj1
= 0 ;
35180 PyObject
* obj2
= 0 ;
35181 char * kwnames
[] = {
35182 (char *) "self",(char *) "item",(char *) "highlight", NULL
35185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35187 if (!SWIG_IsOK(res1
)) {
35188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35190 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35192 if (!SWIG_IsOK(res2
)) {
35193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35198 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35201 if (!SWIG_IsOK(ecode3
)) {
35202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35204 arg3
= static_cast< bool >(val3
);
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
= 0;
35221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35222 wxTreeItemId
*arg2
= 0 ;
35223 wxColour
*arg3
= 0 ;
35229 PyObject
* obj0
= 0 ;
35230 PyObject
* obj1
= 0 ;
35231 PyObject
* obj2
= 0 ;
35232 char * kwnames
[] = {
35233 (char *) "self",(char *) "item",(char *) "col", NULL
35236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35238 if (!SWIG_IsOK(res1
)) {
35239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35241 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35243 if (!SWIG_IsOK(res2
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35249 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35252 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_Py_Void();
35267 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
= 0;
35269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35270 wxTreeItemId
*arg2
= 0 ;
35271 wxColour
*arg3
= 0 ;
35277 PyObject
* obj0
= 0 ;
35278 PyObject
* obj1
= 0 ;
35279 PyObject
* obj2
= 0 ;
35280 char * kwnames
[] = {
35281 (char *) "self",(char *) "item",(char *) "col", NULL
35284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35286 if (!SWIG_IsOK(res1
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35291 if (!SWIG_IsOK(res2
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35297 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35300 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_Py_Void();
35315 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35318 wxTreeItemId
*arg2
= 0 ;
35326 PyObject
* obj0
= 0 ;
35327 PyObject
* obj1
= 0 ;
35328 PyObject
* obj2
= 0 ;
35329 char * kwnames
[] = {
35330 (char *) "self",(char *) "item",(char *) "font", NULL
35333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35335 if (!SWIG_IsOK(res1
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35340 if (!SWIG_IsOK(res2
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35347 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35348 if (!SWIG_IsOK(res3
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35354 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 resultobj
= SWIG_Py_Void();
35368 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35371 wxTreeItemId
*arg2
= 0 ;
35377 PyObject
* obj0
= 0 ;
35378 PyObject
* obj1
= 0 ;
35379 char * kwnames
[] = {
35380 (char *) "self",(char *) "item", NULL
35383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35385 if (!SWIG_IsOK(res1
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35390 if (!SWIG_IsOK(res2
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35396 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35412 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
= 0;
35414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35415 wxTreeItemId
*arg2
= 0 ;
35421 PyObject
* obj0
= 0 ;
35422 PyObject
* obj1
= 0 ;
35423 char * kwnames
[] = {
35424 (char *) "self",(char *) "item", NULL
35427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35429 if (!SWIG_IsOK(res1
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35432 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35434 if (!SWIG_IsOK(res2
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35440 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35456 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35457 PyObject
*resultobj
= 0;
35458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35459 wxTreeItemId
*arg2
= 0 ;
35465 PyObject
* obj0
= 0 ;
35466 PyObject
* obj1
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "item", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35476 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35500 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35501 PyObject
*resultobj
= 0;
35502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35503 wxTreeItemId
*arg2
= 0 ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 char * kwnames
[] = {
35512 (char *) "self",(char *) "item", NULL
35515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35517 if (!SWIG_IsOK(res1
)) {
35518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35520 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35522 if (!SWIG_IsOK(res2
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35532 wxPyEndAllowThreads(__tstate
);
35533 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35544 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
= 0;
35546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35547 wxTreeItemId
*arg2
= 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 char * kwnames
[] = {
35556 (char *) "self",(char *) "item", NULL
35559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35561 if (!SWIG_IsOK(res1
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35564 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35566 if (!SWIG_IsOK(res2
)) {
35567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35572 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35588 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
= 0;
35590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35591 wxTreeItemId
*arg2
= 0 ;
35592 bool arg3
= (bool) true ;
35600 PyObject
* obj0
= 0 ;
35601 PyObject
* obj1
= 0 ;
35602 PyObject
* obj2
= 0 ;
35603 char * kwnames
[] = {
35604 (char *) "self",(char *) "item",(char *) "recursively", NULL
35607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35609 if (!SWIG_IsOK(res1
)) {
35610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35612 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35614 if (!SWIG_IsOK(res2
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35620 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35622 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35623 if (!SWIG_IsOK(ecode3
)) {
35624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35626 arg3
= static_cast< bool >(val3
);
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35631 wxPyEndAllowThreads(__tstate
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35634 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35641 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35642 PyObject
*resultobj
= 0;
35643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35644 wxTreeItemId result
;
35647 PyObject
*swig_obj
[1] ;
35649 if (!args
) SWIG_fail
;
35650 swig_obj
[0] = args
;
35651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35652 if (!SWIG_IsOK(res1
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35669 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35670 PyObject
*resultobj
= 0;
35671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35672 wxTreeItemId result
;
35675 PyObject
*swig_obj
[1] ;
35677 if (!args
) SWIG_fail
;
35678 swig_obj
[0] = args
;
35679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35680 if (!SWIG_IsOK(res1
)) {
35681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35683 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35687 wxPyEndAllowThreads(__tstate
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35697 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35698 PyObject
*resultobj
= 0;
35699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35700 PyObject
*result
= 0 ;
35703 PyObject
*swig_obj
[1] ;
35705 if (!args
) SWIG_fail
;
35706 swig_obj
[0] = args
;
35707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35708 if (!SWIG_IsOK(res1
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= result
;
35725 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
= 0;
35727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35728 wxTreeItemId
*arg2
= 0 ;
35729 wxTreeItemId result
;
35734 PyObject
* obj0
= 0 ;
35735 PyObject
* obj1
= 0 ;
35736 char * kwnames
[] = {
35737 (char *) "self",(char *) "item", NULL
35740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35742 if (!SWIG_IsOK(res1
)) {
35743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35745 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35747 if (!SWIG_IsOK(res2
)) {
35748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35753 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35767 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
= 0;
35769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35770 wxTreeItemId
*arg2
= 0 ;
35771 PyObject
*result
= 0 ;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "self",(char *) "item", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35787 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35789 if (!SWIG_IsOK(res2
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35795 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35798 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 resultobj
= result
;
35809 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35812 wxTreeItemId
*arg2
= 0 ;
35813 void *arg3
= (void *) 0 ;
35814 PyObject
*result
= 0 ;
35820 PyObject
* obj0
= 0 ;
35821 PyObject
* obj1
= 0 ;
35822 PyObject
* obj2
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "self",(char *) "item",(char *) "cookie", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35832 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35834 if (!SWIG_IsOK(res2
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35840 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35841 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35842 if (!SWIG_IsOK(res3
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= result
;
35858 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
= 0;
35860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35861 wxTreeItemId
*arg2
= 0 ;
35862 wxTreeItemId result
;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 char * kwnames
[] = {
35870 (char *) "self",(char *) "item", NULL
35873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35875 if (!SWIG_IsOK(res1
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35880 if (!SWIG_IsOK(res2
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35900 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
= 0;
35902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35903 wxTreeItemId
*arg2
= 0 ;
35904 wxTreeItemId result
;
35909 PyObject
* obj0
= 0 ;
35910 PyObject
* obj1
= 0 ;
35911 char * kwnames
[] = {
35912 (char *) "self",(char *) "item", NULL
35915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35917 if (!SWIG_IsOK(res1
)) {
35918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35920 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35922 if (!SWIG_IsOK(res2
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35928 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35931 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35932 wxPyEndAllowThreads(__tstate
);
35933 if (PyErr_Occurred()) SWIG_fail
;
35935 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35942 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35943 PyObject
*resultobj
= 0;
35944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35945 wxTreeItemId
*arg2
= 0 ;
35946 wxTreeItemId result
;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 char * kwnames
[] = {
35954 (char *) "self",(char *) "item", NULL
35957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35959 if (!SWIG_IsOK(res1
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35964 if (!SWIG_IsOK(res2
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35970 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35974 wxPyEndAllowThreads(__tstate
);
35975 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35984 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35985 PyObject
*resultobj
= 0;
35986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35987 wxTreeItemId result
;
35990 PyObject
*swig_obj
[1] ;
35992 if (!args
) SWIG_fail
;
35993 swig_obj
[0] = args
;
35994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35995 if (!SWIG_IsOK(res1
)) {
35996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36001 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36002 wxPyEndAllowThreads(__tstate
);
36003 if (PyErr_Occurred()) SWIG_fail
;
36005 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36012 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36013 PyObject
*resultobj
= 0;
36014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36015 wxTreeItemId
*arg2
= 0 ;
36016 wxTreeItemId result
;
36021 PyObject
* obj0
= 0 ;
36022 PyObject
* obj1
= 0 ;
36023 char * kwnames
[] = {
36024 (char *) "self",(char *) "item", NULL
36027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36029 if (!SWIG_IsOK(res1
)) {
36030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36034 if (!SWIG_IsOK(res2
)) {
36035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36040 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36044 wxPyEndAllowThreads(__tstate
);
36045 if (PyErr_Occurred()) SWIG_fail
;
36047 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36054 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36055 PyObject
*resultobj
= 0;
36056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36057 wxTreeItemId
*arg2
= 0 ;
36058 wxTreeItemId result
;
36063 PyObject
* obj0
= 0 ;
36064 PyObject
* obj1
= 0 ;
36065 char * kwnames
[] = {
36066 (char *) "self",(char *) "item", NULL
36069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36071 if (!SWIG_IsOK(res1
)) {
36072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36076 if (!SWIG_IsOK(res2
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36082 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36096 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
= 0;
36098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36099 wxString
*arg2
= 0 ;
36100 int arg3
= (int) -1 ;
36101 int arg4
= (int) -1 ;
36102 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36103 wxTreeItemId result
;
36106 bool temp2
= false ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 PyObject
* obj2
= 0 ;
36115 PyObject
* obj3
= 0 ;
36116 PyObject
* obj4
= 0 ;
36117 char * kwnames
[] = {
36118 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36123 if (!SWIG_IsOK(res1
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36128 arg2
= wxString_in_helper(obj1
);
36129 if (arg2
== NULL
) SWIG_fail
;
36133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36134 if (!SWIG_IsOK(ecode3
)) {
36135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36137 arg3
= static_cast< int >(val3
);
36140 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36141 if (!SWIG_IsOK(ecode4
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36144 arg4
= static_cast< int >(val4
);
36147 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36148 if (!SWIG_IsOK(res5
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36173 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36174 PyObject
*resultobj
= 0;
36175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36176 wxTreeItemId
*arg2
= 0 ;
36177 wxString
*arg3
= 0 ;
36178 int arg4
= (int) -1 ;
36179 int arg5
= (int) -1 ;
36180 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36181 wxTreeItemId result
;
36186 bool temp3
= false ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 PyObject
* obj2
= 0 ;
36195 PyObject
* obj3
= 0 ;
36196 PyObject
* obj4
= 0 ;
36197 PyObject
* obj5
= 0 ;
36198 char * kwnames
[] = {
36199 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36204 if (!SWIG_IsOK(res1
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36207 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36209 if (!SWIG_IsOK(res2
)) {
36210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36215 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36217 arg3
= wxString_in_helper(obj2
);
36218 if (arg3
== NULL
) SWIG_fail
;
36222 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36223 if (!SWIG_IsOK(ecode4
)) {
36224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36226 arg4
= static_cast< int >(val4
);
36229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36230 if (!SWIG_IsOK(ecode5
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36233 arg5
= static_cast< int >(val5
);
36236 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36237 if (!SWIG_IsOK(res6
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36243 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
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_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
= 0;
36264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36265 wxTreeItemId
*arg2
= 0 ;
36266 wxTreeItemId
*arg3
= 0 ;
36267 wxString
*arg4
= 0 ;
36268 int arg5
= (int) -1 ;
36269 int arg6
= (int) -1 ;
36270 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36271 wxTreeItemId result
;
36278 bool temp4
= false ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 PyObject
* obj2
= 0 ;
36287 PyObject
* obj3
= 0 ;
36288 PyObject
* obj4
= 0 ;
36289 PyObject
* obj5
= 0 ;
36290 PyObject
* obj6
= 0 ;
36291 char * kwnames
[] = {
36292 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36297 if (!SWIG_IsOK(res1
)) {
36298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36300 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36302 if (!SWIG_IsOK(res2
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36308 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36310 if (!SWIG_IsOK(res3
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36316 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36318 arg4
= wxString_in_helper(obj3
);
36319 if (arg4
== NULL
) SWIG_fail
;
36323 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36324 if (!SWIG_IsOK(ecode5
)) {
36325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36327 arg5
= static_cast< int >(val5
);
36330 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36331 if (!SWIG_IsOK(ecode6
)) {
36332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36334 arg6
= static_cast< int >(val6
);
36337 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36338 if (!SWIG_IsOK(res7
)) {
36339 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36345 wxPyEndAllowThreads(__tstate
);
36346 if (PyErr_Occurred()) SWIG_fail
;
36348 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36363 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
= 0;
36365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36366 wxTreeItemId
*arg2
= 0 ;
36368 wxString
*arg4
= 0 ;
36369 int arg5
= (int) -1 ;
36370 int arg6
= (int) -1 ;
36371 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36372 wxTreeItemId result
;
36379 bool temp4
= false ;
36385 PyObject
* obj0
= 0 ;
36386 PyObject
* obj1
= 0 ;
36387 PyObject
* obj2
= 0 ;
36388 PyObject
* obj3
= 0 ;
36389 PyObject
* obj4
= 0 ;
36390 PyObject
* obj5
= 0 ;
36391 PyObject
* obj6
= 0 ;
36392 char * kwnames
[] = {
36393 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36398 if (!SWIG_IsOK(res1
)) {
36399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36403 if (!SWIG_IsOK(res2
)) {
36404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36410 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36411 if (!SWIG_IsOK(ecode3
)) {
36412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36414 arg3
= static_cast< size_t >(val3
);
36416 arg4
= wxString_in_helper(obj3
);
36417 if (arg4
== NULL
) SWIG_fail
;
36421 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36422 if (!SWIG_IsOK(ecode5
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36425 arg5
= static_cast< int >(val5
);
36428 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36429 if (!SWIG_IsOK(ecode6
)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36432 arg6
= static_cast< int >(val6
);
36435 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36436 if (!SWIG_IsOK(res7
)) {
36437 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36442 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36461 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36462 PyObject
*resultobj
= 0;
36463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36464 wxTreeItemId
*arg2
= 0 ;
36465 wxString
*arg3
= 0 ;
36466 int arg4
= (int) -1 ;
36467 int arg5
= (int) -1 ;
36468 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36469 wxTreeItemId result
;
36474 bool temp3
= false ;
36480 PyObject
* obj0
= 0 ;
36481 PyObject
* obj1
= 0 ;
36482 PyObject
* obj2
= 0 ;
36483 PyObject
* obj3
= 0 ;
36484 PyObject
* obj4
= 0 ;
36485 PyObject
* obj5
= 0 ;
36486 char * kwnames
[] = {
36487 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36492 if (!SWIG_IsOK(res1
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36495 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36497 if (!SWIG_IsOK(res2
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36503 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36505 arg3
= wxString_in_helper(obj2
);
36506 if (arg3
== NULL
) SWIG_fail
;
36510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36511 if (!SWIG_IsOK(ecode4
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36514 arg4
= static_cast< int >(val4
);
36517 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36518 if (!SWIG_IsOK(ecode5
)) {
36519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36521 arg5
= static_cast< int >(val5
);
36524 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36525 if (!SWIG_IsOK(res6
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
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_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36551 PyObject
*resultobj
= 0;
36552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36553 wxTreeItemId
*arg2
= 0 ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 char * kwnames
[] = {
36561 (char *) "self",(char *) "item", NULL
36564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36566 if (!SWIG_IsOK(res1
)) {
36567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36571 if (!SWIG_IsOK(res2
)) {
36572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36577 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36584 resultobj
= SWIG_Py_Void();
36591 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36592 PyObject
*resultobj
= 0;
36593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36594 wxTreeItemId
*arg2
= 0 ;
36599 PyObject
* obj0
= 0 ;
36600 PyObject
* obj1
= 0 ;
36601 char * kwnames
[] = {
36602 (char *) "self",(char *) "item", NULL
36605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36612 if (!SWIG_IsOK(res2
)) {
36613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36618 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36622 wxPyEndAllowThreads(__tstate
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36625 resultobj
= SWIG_Py_Void();
36632 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36633 PyObject
*resultobj
= 0;
36634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36637 PyObject
*swig_obj
[1] ;
36639 if (!args
) SWIG_fail
;
36640 swig_obj
[0] = args
;
36641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36642 if (!SWIG_IsOK(res1
)) {
36643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36645 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 (arg1
)->DeleteAllItems();
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36652 resultobj
= SWIG_Py_Void();
36659 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36660 PyObject
*resultobj
= 0;
36661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36662 wxTreeItemId
*arg2
= 0 ;
36667 PyObject
* obj0
= 0 ;
36668 PyObject
* obj1
= 0 ;
36669 char * kwnames
[] = {
36670 (char *) "self",(char *) "item", NULL
36673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36678 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36680 if (!SWIG_IsOK(res2
)) {
36681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36686 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36693 resultobj
= SWIG_Py_Void();
36700 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36701 PyObject
*resultobj
= 0;
36702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36703 wxTreeItemId
*arg2
= 0 ;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 char * kwnames
[] = {
36711 (char *) "self",(char *) "item", NULL
36714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36716 if (!SWIG_IsOK(res1
)) {
36717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36719 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36721 if (!SWIG_IsOK(res2
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36727 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 resultobj
= SWIG_Py_Void();
36741 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36742 PyObject
*resultobj
= 0;
36743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36746 PyObject
*swig_obj
[1] ;
36748 if (!args
) SWIG_fail
;
36749 swig_obj
[0] = args
;
36750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36751 if (!SWIG_IsOK(res1
)) {
36752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 (arg1
)->ExpandAll();
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_Py_Void();
36768 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
= 0;
36770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36771 wxTreeItemId
*arg2
= 0 ;
36776 PyObject
* obj0
= 0 ;
36777 PyObject
* obj1
= 0 ;
36778 char * kwnames
[] = {
36779 (char *) "self",(char *) "item", NULL
36782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36787 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36789 if (!SWIG_IsOK(res2
)) {
36790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36795 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= SWIG_Py_Void();
36809 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
= 0;
36811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36812 wxTreeItemId
*arg2
= 0 ;
36817 PyObject
* obj0
= 0 ;
36818 PyObject
* obj1
= 0 ;
36819 char * kwnames
[] = {
36820 (char *) "self",(char *) "item", NULL
36823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36830 if (!SWIG_IsOK(res2
)) {
36831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= SWIG_Py_Void();
36850 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
= 0;
36852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36853 wxTreeItemId
*arg2
= 0 ;
36858 PyObject
* obj0
= 0 ;
36859 PyObject
* obj1
= 0 ;
36860 char * kwnames
[] = {
36861 (char *) "self",(char *) "item", NULL
36864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36866 if (!SWIG_IsOK(res1
)) {
36867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36869 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36871 if (!SWIG_IsOK(res2
)) {
36872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36877 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_Py_Void();
36891 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36892 PyObject
*resultobj
= 0;
36893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36896 PyObject
*swig_obj
[1] ;
36898 if (!args
) SWIG_fail
;
36899 swig_obj
[0] = args
;
36900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36901 if (!SWIG_IsOK(res1
)) {
36902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36904 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 (arg1
)->Unselect();
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36911 resultobj
= SWIG_Py_Void();
36918 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36919 PyObject
*resultobj
= 0;
36920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36921 wxTreeItemId
*arg2
= 0 ;
36926 PyObject
* obj0
= 0 ;
36927 PyObject
* obj1
= 0 ;
36928 char * kwnames
[] = {
36929 (char *) "self",(char *) "item", NULL
36932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36934 if (!SWIG_IsOK(res1
)) {
36935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36937 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36939 if (!SWIG_IsOK(res2
)) {
36940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36945 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36948 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= SWIG_Py_Void();
36959 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36960 PyObject
*resultobj
= 0;
36961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36964 PyObject
*swig_obj
[1] ;
36966 if (!args
) SWIG_fail
;
36967 swig_obj
[0] = args
;
36968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36969 if (!SWIG_IsOK(res1
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 (arg1
)->UnselectAll();
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36979 resultobj
= SWIG_Py_Void();
36986 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36987 PyObject
*resultobj
= 0;
36988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36989 wxTreeItemId
*arg2
= 0 ;
36990 bool arg3
= (bool) true ;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
36999 PyObject
* obj2
= 0 ;
37000 char * kwnames
[] = {
37001 (char *) "self",(char *) "item",(char *) "select", NULL
37004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37006 if (!SWIG_IsOK(res1
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37011 if (!SWIG_IsOK(res2
)) {
37012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37017 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37019 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37020 if (!SWIG_IsOK(ecode3
)) {
37021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37023 arg3
= static_cast< bool >(val3
);
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37041 wxTreeItemId
*arg2
= 0 ;
37046 PyObject
* obj0
= 0 ;
37047 PyObject
* obj1
= 0 ;
37048 char * kwnames
[] = {
37049 (char *) "self",(char *) "item", NULL
37052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37057 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37059 if (!SWIG_IsOK(res2
)) {
37060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37065 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37082 wxTreeItemId
*arg2
= 0 ;
37087 PyObject
* obj0
= 0 ;
37088 PyObject
* obj1
= 0 ;
37089 char * kwnames
[] = {
37090 (char *) "self",(char *) "item", NULL
37093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37095 if (!SWIG_IsOK(res1
)) {
37096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37098 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37100 if (!SWIG_IsOK(res2
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37106 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_Py_Void();
37120 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
= 0;
37122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37123 wxTreeItemId
*arg2
= 0 ;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 char * kwnames
[] = {
37131 (char *) "self",(char *) "item", NULL
37134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37136 if (!SWIG_IsOK(res1
)) {
37137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37139 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37141 if (!SWIG_IsOK(res2
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37147 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37150 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37154 resultobj
= SWIG_Py_Void();
37161 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37162 PyObject
*resultobj
= 0;
37163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37164 wxTreeItemId
*arg2
= 0 ;
37169 PyObject
* obj0
= 0 ;
37170 PyObject
* obj1
= 0 ;
37171 char * kwnames
[] = {
37172 (char *) "self",(char *) "item", NULL
37175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37177 if (!SWIG_IsOK(res1
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37180 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37182 if (!SWIG_IsOK(res2
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37188 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37191 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= SWIG_Py_Void();
37202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37203 PyObject
*resultobj
= 0;
37204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37205 wxTextCtrl
*result
= 0 ;
37208 PyObject
*swig_obj
[1] ;
37210 if (!args
) SWIG_fail
;
37211 swig_obj
[0] = args
;
37212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37213 if (!SWIG_IsOK(res1
)) {
37214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37219 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37220 wxPyEndAllowThreads(__tstate
);
37221 if (PyErr_Occurred()) SWIG_fail
;
37224 resultobj
= wxPyMake_wxObject(result
, 0);
37232 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37233 PyObject
*resultobj
= 0;
37234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37235 wxTreeItemId
*arg2
= 0 ;
37236 bool arg3
= (bool) false ;
37243 PyObject
* obj0
= 0 ;
37244 PyObject
* obj1
= 0 ;
37245 PyObject
* obj2
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) 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_EndEditLabel" "', 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_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37263 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37265 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37266 if (!SWIG_IsOK(ecode3
)) {
37267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37269 arg3
= static_cast< bool >(val3
);
37272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37273 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37277 resultobj
= SWIG_Py_Void();
37284 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37285 PyObject
*resultobj
= 0;
37286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37287 wxTreeItemId
*arg2
= 0 ;
37292 PyObject
* obj0
= 0 ;
37293 PyObject
* obj1
= 0 ;
37294 char * kwnames
[] = {
37295 (char *) "self",(char *) "item", NULL
37298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37300 if (!SWIG_IsOK(res1
)) {
37301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37303 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37305 if (!SWIG_IsOK(res2
)) {
37306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37311 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_Py_Void();
37325 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37328 wxPoint
*arg2
= 0 ;
37330 wxTreeItemId result
;
37335 int res3
= SWIG_TMPOBJ
;
37336 PyObject
* obj0
= 0 ;
37337 PyObject
* obj1
= 0 ;
37338 char * kwnames
[] = {
37339 (char *) "self",(char *) "point", NULL
37343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37345 if (!SWIG_IsOK(res1
)) {
37346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37355 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37359 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37360 if (SWIG_IsTmpObj(res3
)) {
37361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37363 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37372 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37373 PyObject
*resultobj
= 0;
37374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37375 wxTreeItemId
*arg2
= 0 ;
37376 bool arg3
= (bool) false ;
37377 PyObject
*result
= 0 ;
37384 PyObject
* obj0
= 0 ;
37385 PyObject
* obj1
= 0 ;
37386 PyObject
* obj2
= 0 ;
37387 char * kwnames
[] = {
37388 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37393 if (!SWIG_IsOK(res1
)) {
37394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37396 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37398 if (!SWIG_IsOK(res2
)) {
37399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37404 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37406 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37407 if (!SWIG_IsOK(ecode3
)) {
37408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37410 arg3
= static_cast< bool >(val3
);
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= result
;
37425 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
= 0;
37427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37428 wxTreeItemId
*arg2
= 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 PyObject
* obj2
= 0 ;
37439 char * kwnames
[] = {
37440 (char *) "self",(char *) "node",(char *) "state", NULL
37443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37445 if (!SWIG_IsOK(res1
)) {
37446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37448 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37450 if (!SWIG_IsOK(res2
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37456 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37458 if (!SWIG_IsOK(ecode3
)) {
37459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37461 arg3
= static_cast< int >(val3
);
37463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37464 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37465 wxPyEndAllowThreads(__tstate
);
37466 if (PyErr_Occurred()) SWIG_fail
;
37468 resultobj
= SWIG_Py_Void();
37475 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37476 PyObject
*resultobj
= 0;
37477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37478 wxTreeItemId
*arg2
= 0 ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "self",(char *) "node", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37495 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37497 if (!SWIG_IsOK(res2
)) {
37498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37503 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37506 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37507 wxPyEndAllowThreads(__tstate
);
37508 if (PyErr_Occurred()) SWIG_fail
;
37510 resultobj
= SWIG_From_int(static_cast< int >(result
));
37517 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37518 PyObject
*resultobj
= 0;
37519 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37520 SwigValueWrapper
<wxVisualAttributes
> result
;
37523 PyObject
* obj0
= 0 ;
37524 char * kwnames
[] = {
37525 (char *) "variant", NULL
37528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37531 if (!SWIG_IsOK(ecode1
)) {
37532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37534 arg1
= static_cast< wxWindowVariant
>(val1
);
37537 if (!wxPyCheckForApp()) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37550 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
= 0;
37552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37558 PyObject
* obj0
= 0 ;
37559 PyObject
* obj1
= 0 ;
37560 char * kwnames
[] = {
37561 (char *) "self",(char *) "q", NULL
37564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37566 if (!SWIG_IsOK(res1
)) {
37567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37570 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37571 if (!SWIG_IsOK(ecode2
)) {
37572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37574 arg2
= static_cast< bool >(val2
);
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->SetQuickBestSize(arg2
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37581 resultobj
= SWIG_Py_Void();
37588 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37589 PyObject
*resultobj
= 0;
37590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37594 PyObject
*swig_obj
[1] ;
37596 if (!args
) SWIG_fail
;
37597 swig_obj
[0] = args
;
37598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37599 if (!SWIG_IsOK(res1
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37618 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37621 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37622 return SWIG_Py_Void();
37625 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37626 return SWIG_Python_InitShadowInstance(args
);
37629 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37630 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37635 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37636 PyObject
*pyobj
= 0;
37640 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37642 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37649 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37650 PyObject
*resultobj
= 0;
37651 wxWindow
*arg1
= (wxWindow
*) 0 ;
37652 int arg2
= (int) (int)-1 ;
37653 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37659 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37660 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37662 int arg8
= (int) 0 ;
37663 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37665 wxGenericDirCtrl
*result
= 0 ;
37670 bool temp3
= false ;
37675 bool temp7
= false ;
37678 bool temp9
= false ;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 PyObject
* obj2
= 0 ;
37682 PyObject
* obj3
= 0 ;
37683 PyObject
* obj4
= 0 ;
37684 PyObject
* obj5
= 0 ;
37685 PyObject
* obj6
= 0 ;
37686 PyObject
* obj7
= 0 ;
37687 PyObject
* obj8
= 0 ;
37688 char * kwnames
[] = {
37689 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37694 if (!SWIG_IsOK(res1
)) {
37695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37700 if (!SWIG_IsOK(ecode2
)) {
37701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37703 arg2
= static_cast< int >(val2
);
37707 arg3
= wxString_in_helper(obj2
);
37708 if (arg3
== NULL
) SWIG_fail
;
37715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37725 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37726 if (!SWIG_IsOK(ecode6
)) {
37727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37729 arg6
= static_cast< long >(val6
);
37733 arg7
= wxString_in_helper(obj6
);
37734 if (arg7
== NULL
) SWIG_fail
;
37739 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37740 if (!SWIG_IsOK(ecode8
)) {
37741 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37743 arg8
= static_cast< int >(val8
);
37747 arg9
= wxString_in_helper(obj8
);
37748 if (arg9
== NULL
) SWIG_fail
;
37753 if (!wxPyCheckForApp()) SWIG_fail
;
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37790 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37791 PyObject
*resultobj
= 0;
37792 wxGenericDirCtrl
*result
= 0 ;
37794 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37796 if (!wxPyCheckForApp()) SWIG_fail
;
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37799 wxPyEndAllowThreads(__tstate
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37809 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
= 0;
37811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37812 wxWindow
*arg2
= (wxWindow
*) 0 ;
37813 int arg3
= (int) (int)-1 ;
37814 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37815 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37816 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37817 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37818 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37819 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37820 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37821 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37823 int arg9
= (int) 0 ;
37824 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37825 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37833 bool temp4
= false ;
37838 bool temp8
= false ;
37841 bool temp10
= false ;
37842 PyObject
* obj0
= 0 ;
37843 PyObject
* obj1
= 0 ;
37844 PyObject
* obj2
= 0 ;
37845 PyObject
* obj3
= 0 ;
37846 PyObject
* obj4
= 0 ;
37847 PyObject
* obj5
= 0 ;
37848 PyObject
* obj6
= 0 ;
37849 PyObject
* obj7
= 0 ;
37850 PyObject
* obj8
= 0 ;
37851 PyObject
* obj9
= 0 ;
37852 char * kwnames
[] = {
37853 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37858 if (!SWIG_IsOK(res1
)) {
37859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37861 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37863 if (!SWIG_IsOK(res2
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37866 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37869 if (!SWIG_IsOK(ecode3
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37872 arg3
= static_cast< int >(val3
);
37876 arg4
= wxString_in_helper(obj3
);
37877 if (arg4
== NULL
) SWIG_fail
;
37884 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37890 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37894 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37895 if (!SWIG_IsOK(ecode7
)) {
37896 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37898 arg7
= static_cast< long >(val7
);
37902 arg8
= wxString_in_helper(obj7
);
37903 if (arg8
== NULL
) SWIG_fail
;
37908 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37909 if (!SWIG_IsOK(ecode9
)) {
37910 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37912 arg9
= static_cast< int >(val9
);
37916 arg10
= wxString_in_helper(obj9
);
37917 if (arg10
== NULL
) SWIG_fail
;
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37924 wxPyEndAllowThreads(__tstate
);
37925 if (PyErr_Occurred()) SWIG_fail
;
37928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37960 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37961 PyObject
*resultobj
= 0;
37962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37963 wxString
*arg2
= 0 ;
37967 bool temp2
= false ;
37968 PyObject
* obj0
= 0 ;
37969 PyObject
* obj1
= 0 ;
37970 char * kwnames
[] = {
37971 (char *) "self",(char *) "path", NULL
37974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37976 if (!SWIG_IsOK(res1
)) {
37977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37979 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37981 arg2
= wxString_in_helper(obj1
);
37982 if (arg2
== NULL
) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38008 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
= 0;
38010 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38011 wxString
*arg2
= 0 ;
38015 bool temp2
= false ;
38016 PyObject
* obj0
= 0 ;
38017 PyObject
* obj1
= 0 ;
38018 char * kwnames
[] = {
38019 (char *) "self",(char *) "path", NULL
38022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38027 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38029 arg2
= wxString_in_helper(obj1
);
38030 if (arg2
== NULL
) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38056 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38057 PyObject
*resultobj
= 0;
38058 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38062 PyObject
*swig_obj
[1] ;
38064 if (!args
) SWIG_fail
;
38065 swig_obj
[0] = args
;
38066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38067 if (!SWIG_IsOK(res1
)) {
38068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38070 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38090 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38091 PyObject
*resultobj
= 0;
38092 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38093 wxString
*arg2
= 0 ;
38096 bool temp2
= false ;
38097 PyObject
* obj0
= 0 ;
38098 PyObject
* obj1
= 0 ;
38099 char * kwnames
[] = {
38100 (char *) "self",(char *) "path", NULL
38103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38105 if (!SWIG_IsOK(res1
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38108 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38110 arg2
= wxString_in_helper(obj1
);
38111 if (arg2
== NULL
) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38120 resultobj
= SWIG_Py_Void();
38135 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38136 PyObject
*resultobj
= 0;
38137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38141 PyObject
*swig_obj
[1] ;
38143 if (!args
) SWIG_fail
;
38144 swig_obj
[0] = args
;
38145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38146 if (!SWIG_IsOK(res1
)) {
38147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38149 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38169 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38170 PyObject
*resultobj
= 0;
38171 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38175 PyObject
*swig_obj
[1] ;
38177 if (!args
) SWIG_fail
;
38178 swig_obj
[0] = args
;
38179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38180 if (!SWIG_IsOK(res1
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38183 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38186 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38187 wxPyEndAllowThreads(__tstate
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38203 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
= 0;
38205 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38206 wxString
*arg2
= 0 ;
38209 bool temp2
= false ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 char * kwnames
[] = {
38213 (char *) "self",(char *) "path", NULL
38216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38218 if (!SWIG_IsOK(res1
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38221 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38223 arg2
= wxString_in_helper(obj1
);
38224 if (arg2
== NULL
) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 (arg1
)->SetPath((wxString
const &)*arg2
);
38230 wxPyEndAllowThreads(__tstate
);
38231 if (PyErr_Occurred()) SWIG_fail
;
38233 resultobj
= SWIG_Py_Void();
38248 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38249 PyObject
*resultobj
= 0;
38250 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38258 char * kwnames
[] = {
38259 (char *) "self",(char *) "show", NULL
38262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38264 if (!SWIG_IsOK(res1
)) {
38265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38267 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38268 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38269 if (!SWIG_IsOK(ecode2
)) {
38270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38272 arg2
= static_cast< bool >(val2
);
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 (arg1
)->ShowHidden(arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= SWIG_Py_Void();
38286 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38287 PyObject
*resultobj
= 0;
38288 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38292 PyObject
*swig_obj
[1] ;
38294 if (!args
) SWIG_fail
;
38295 swig_obj
[0] = args
;
38296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38297 if (!SWIG_IsOK(res1
)) {
38298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38300 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 result
= (bool)(arg1
)->GetShowHidden();
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38316 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38317 PyObject
*resultobj
= 0;
38318 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38322 PyObject
*swig_obj
[1] ;
38324 if (!args
) SWIG_fail
;
38325 swig_obj
[0] = args
;
38326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38327 if (!SWIG_IsOK(res1
)) {
38328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38330 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38350 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38353 wxString
*arg2
= 0 ;
38356 bool temp2
= false ;
38357 PyObject
* obj0
= 0 ;
38358 PyObject
* obj1
= 0 ;
38359 char * kwnames
[] = {
38360 (char *) "self",(char *) "filter", NULL
38363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38365 if (!SWIG_IsOK(res1
)) {
38366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38368 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38370 arg2
= wxString_in_helper(obj1
);
38371 if (arg2
== NULL
) SWIG_fail
;
38375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38376 (arg1
)->SetFilter((wxString
const &)*arg2
);
38377 wxPyEndAllowThreads(__tstate
);
38378 if (PyErr_Occurred()) SWIG_fail
;
38380 resultobj
= SWIG_Py_Void();
38395 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38396 PyObject
*resultobj
= 0;
38397 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38401 PyObject
*swig_obj
[1] ;
38403 if (!args
) SWIG_fail
;
38404 swig_obj
[0] = args
;
38405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38406 if (!SWIG_IsOK(res1
)) {
38407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38409 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38412 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38416 resultobj
= SWIG_From_int(static_cast< int >(result
));
38423 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38424 PyObject
*resultobj
= 0;
38425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38431 PyObject
* obj0
= 0 ;
38432 PyObject
* obj1
= 0 ;
38433 char * kwnames
[] = {
38434 (char *) "self",(char *) "n", NULL
38437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38439 if (!SWIG_IsOK(res1
)) {
38440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38442 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38444 if (!SWIG_IsOK(ecode2
)) {
38445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38447 arg2
= static_cast< int >(val2
);
38449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38450 (arg1
)->SetFilterIndex(arg2
);
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38454 resultobj
= SWIG_Py_Void();
38461 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38462 PyObject
*resultobj
= 0;
38463 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38464 wxTreeItemId result
;
38467 PyObject
*swig_obj
[1] ;
38469 if (!args
) SWIG_fail
;
38470 swig_obj
[0] = args
;
38471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38472 if (!SWIG_IsOK(res1
)) {
38473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38475 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (arg1
)->GetRootId();
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38489 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38490 PyObject
*resultobj
= 0;
38491 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38492 wxPyTreeCtrl
*result
= 0 ;
38495 PyObject
*swig_obj
[1] ;
38497 if (!args
) SWIG_fail
;
38498 swig_obj
[0] = args
;
38499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38500 if (!SWIG_IsOK(res1
)) {
38501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38503 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38506 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38507 wxPyEndAllowThreads(__tstate
);
38508 if (PyErr_Occurred()) SWIG_fail
;
38511 resultobj
= wxPyMake_wxObject(result
, 0);
38519 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38520 PyObject
*resultobj
= 0;
38521 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38522 wxDirFilterListCtrl
*result
= 0 ;
38525 PyObject
*swig_obj
[1] ;
38527 if (!args
) SWIG_fail
;
38528 swig_obj
[0] = args
;
38529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38530 if (!SWIG_IsOK(res1
)) {
38531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38533 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38536 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38537 wxPyEndAllowThreads(__tstate
);
38538 if (PyErr_Occurred()) SWIG_fail
;
38540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38547 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38548 PyObject
*resultobj
= 0;
38549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38550 wxTreeItemId arg2
;
38551 wxString
*arg3
= 0 ;
38553 wxTreeItemId result
;
38558 bool temp3
= false ;
38560 int res4
= SWIG_TMPOBJ
;
38561 PyObject
* obj0
= 0 ;
38562 PyObject
* obj1
= 0 ;
38563 PyObject
* obj2
= 0 ;
38564 char * kwnames
[] = {
38565 (char *) "self",(char *) "parentId",(char *) "path", NULL
38569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38571 if (!SWIG_IsOK(res1
)) {
38572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38574 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38577 if (!SWIG_IsOK(res2
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38583 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38585 if (SWIG_IsNewObj(res2
)) delete temp
;
38589 arg3
= wxString_in_helper(obj2
);
38590 if (arg3
== NULL
) SWIG_fail
;
38594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38595 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38600 if (SWIG_IsTmpObj(res4
)) {
38601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38603 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38620 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38621 PyObject
*resultobj
= 0;
38622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38625 PyObject
*swig_obj
[1] ;
38627 if (!args
) SWIG_fail
;
38628 swig_obj
[0] = args
;
38629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38630 if (!SWIG_IsOK(res1
)) {
38631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38633 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 (arg1
)->DoResize();
38637 wxPyEndAllowThreads(__tstate
);
38638 if (PyErr_Occurred()) SWIG_fail
;
38640 resultobj
= SWIG_Py_Void();
38647 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38648 PyObject
*resultobj
= 0;
38649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38652 PyObject
*swig_obj
[1] ;
38654 if (!args
) SWIG_fail
;
38655 swig_obj
[0] = args
;
38656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38660 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38663 (arg1
)->ReCreateTree();
38664 wxPyEndAllowThreads(__tstate
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38667 resultobj
= SWIG_Py_Void();
38674 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38677 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38678 return SWIG_Py_Void();
38681 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38682 return SWIG_Python_InitShadowInstance(args
);
38685 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
= 0;
38687 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38688 int arg2
= (int) (int)-1 ;
38689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38693 long arg5
= (long) 0 ;
38694 wxDirFilterListCtrl
*result
= 0 ;
38703 PyObject
* obj0
= 0 ;
38704 PyObject
* obj1
= 0 ;
38705 PyObject
* obj2
= 0 ;
38706 PyObject
* obj3
= 0 ;
38707 PyObject
* obj4
= 0 ;
38708 char * kwnames
[] = {
38709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38714 if (!SWIG_IsOK(res1
)) {
38715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38717 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38720 if (!SWIG_IsOK(ecode2
)) {
38721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38723 arg2
= static_cast< int >(val2
);
38728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38738 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38739 if (!SWIG_IsOK(ecode5
)) {
38740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38742 arg5
= static_cast< long >(val5
);
38745 if (!wxPyCheckForApp()) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38748 wxPyEndAllowThreads(__tstate
);
38749 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38758 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38759 PyObject
*resultobj
= 0;
38760 wxDirFilterListCtrl
*result
= 0 ;
38762 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38764 if (!wxPyCheckForApp()) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38767 wxPyEndAllowThreads(__tstate
);
38768 if (PyErr_Occurred()) SWIG_fail
;
38770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38777 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38778 PyObject
*resultobj
= 0;
38779 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38780 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38781 int arg3
= (int) (int)-1 ;
38782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38786 long arg6
= (long) 0 ;
38798 PyObject
* obj0
= 0 ;
38799 PyObject
* obj1
= 0 ;
38800 PyObject
* obj2
= 0 ;
38801 PyObject
* obj3
= 0 ;
38802 PyObject
* obj4
= 0 ;
38803 PyObject
* obj5
= 0 ;
38804 char * kwnames
[] = {
38805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38810 if (!SWIG_IsOK(res1
)) {
38811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38813 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38815 if (!SWIG_IsOK(res2
)) {
38816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38818 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38821 if (!SWIG_IsOK(ecode3
)) {
38822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38824 arg3
= static_cast< int >(val3
);
38829 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38835 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38839 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38840 if (!SWIG_IsOK(ecode6
)) {
38841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38843 arg6
= static_cast< long >(val6
);
38846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38847 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38848 wxPyEndAllowThreads(__tstate
);
38849 if (PyErr_Occurred()) SWIG_fail
;
38852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38860 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
= 0;
38862 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38863 wxString
*arg2
= 0 ;
38867 bool temp2
= false ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38872 PyObject
* obj2
= 0 ;
38873 char * kwnames
[] = {
38874 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38879 if (!SWIG_IsOK(res1
)) {
38880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38882 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38884 arg2
= wxString_in_helper(obj1
);
38885 if (arg2
== NULL
) SWIG_fail
;
38888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38889 if (!SWIG_IsOK(ecode3
)) {
38890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38892 arg3
= static_cast< int >(val3
);
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38899 resultobj
= SWIG_Py_Void();
38914 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38917 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38918 return SWIG_Py_Void();
38921 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38922 return SWIG_Python_InitShadowInstance(args
);
38925 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38926 PyObject
*resultobj
= 0;
38927 wxWindow
*arg1
= (wxWindow
*) 0 ;
38928 int arg2
= (int) (int)-1 ;
38929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38933 long arg5
= (long) 0 ;
38934 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38935 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38936 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38938 wxPyControl
*result
= 0 ;
38949 bool temp7
= false ;
38950 PyObject
* obj0
= 0 ;
38951 PyObject
* obj1
= 0 ;
38952 PyObject
* obj2
= 0 ;
38953 PyObject
* obj3
= 0 ;
38954 PyObject
* obj4
= 0 ;
38955 PyObject
* obj5
= 0 ;
38956 PyObject
* obj6
= 0 ;
38957 char * kwnames
[] = {
38958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38963 if (!SWIG_IsOK(res1
)) {
38964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38966 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38969 if (!SWIG_IsOK(ecode2
)) {
38970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38972 arg2
= static_cast< int >(val2
);
38977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38987 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38988 if (!SWIG_IsOK(ecode5
)) {
38989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38991 arg5
= static_cast< long >(val5
);
38994 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38995 if (!SWIG_IsOK(res6
)) {
38996 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39001 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39005 arg7
= wxString_in_helper(obj6
);
39006 if (arg7
== NULL
) SWIG_fail
;
39011 if (!wxPyCheckForApp()) SWIG_fail
;
39012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39013 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39032 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39033 PyObject
*resultobj
= 0;
39034 wxPyControl
*result
= 0 ;
39036 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39038 if (!wxPyCheckForApp()) SWIG_fail
;
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39040 result
= (wxPyControl
*)new wxPyControl();
39041 wxPyEndAllowThreads(__tstate
);
39042 if (PyErr_Occurred()) SWIG_fail
;
39044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39051 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39052 PyObject
*resultobj
= 0;
39053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39054 PyObject
*arg2
= (PyObject
*) 0 ;
39055 PyObject
*arg3
= (PyObject
*) 0 ;
39058 PyObject
* obj0
= 0 ;
39059 PyObject
* obj1
= 0 ;
39060 PyObject
* obj2
= 0 ;
39061 char * kwnames
[] = {
39062 (char *) "self",(char *) "self",(char *) "_class", NULL
39065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39067 if (!SWIG_IsOK(res1
)) {
39068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39070 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39076 wxPyEndAllowThreads(__tstate
);
39077 if (PyErr_Occurred()) SWIG_fail
;
39079 resultobj
= SWIG_Py_Void();
39086 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39087 PyObject
*resultobj
= 0;
39088 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39093 PyObject
* obj0
= 0 ;
39094 PyObject
* obj1
= 0 ;
39095 char * kwnames
[] = {
39096 (char *) "self",(char *) "size", NULL
39099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39101 if (!SWIG_IsOK(res1
)) {
39102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39104 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39111 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
39112 wxPyEndAllowThreads(__tstate
);
39113 if (PyErr_Occurred()) SWIG_fail
;
39115 resultobj
= SWIG_Py_Void();
39122 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39123 PyObject
*resultobj
= 0;
39124 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39125 wxDC
*arg2
= (wxDC
*) 0 ;
39131 PyObject
* obj0
= 0 ;
39132 PyObject
* obj1
= 0 ;
39133 char * kwnames
[] = {
39134 (char *) "self",(char *) "dc", NULL
39137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39139 if (!SWIG_IsOK(res1
)) {
39140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39142 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39144 if (!SWIG_IsOK(res2
)) {
39145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39147 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39150 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39163 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
= 0;
39165 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39180 PyObject
* obj0
= 0 ;
39181 PyObject
* obj1
= 0 ;
39182 PyObject
* obj2
= 0 ;
39183 PyObject
* obj3
= 0 ;
39184 PyObject
* obj4
= 0 ;
39185 char * kwnames
[] = {
39186 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39191 if (!SWIG_IsOK(res1
)) {
39192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39194 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39196 if (!SWIG_IsOK(ecode2
)) {
39197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39199 arg2
= static_cast< int >(val2
);
39200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39201 if (!SWIG_IsOK(ecode3
)) {
39202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39204 arg3
= static_cast< int >(val3
);
39205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39206 if (!SWIG_IsOK(ecode4
)) {
39207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39209 arg4
= static_cast< int >(val4
);
39210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39211 if (!SWIG_IsOK(ecode5
)) {
39212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39214 arg5
= static_cast< int >(val5
);
39216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39217 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39218 wxPyEndAllowThreads(__tstate
);
39219 if (PyErr_Occurred()) SWIG_fail
;
39221 resultobj
= SWIG_Py_Void();
39228 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39229 PyObject
*resultobj
= 0;
39230 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39235 int arg6
= (int) wxSIZE_AUTO
;
39248 PyObject
* obj0
= 0 ;
39249 PyObject
* obj1
= 0 ;
39250 PyObject
* obj2
= 0 ;
39251 PyObject
* obj3
= 0 ;
39252 PyObject
* obj4
= 0 ;
39253 PyObject
* obj5
= 0 ;
39254 char * kwnames
[] = {
39255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39260 if (!SWIG_IsOK(res1
)) {
39261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39263 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39265 if (!SWIG_IsOK(ecode2
)) {
39266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39268 arg2
= static_cast< int >(val2
);
39269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39270 if (!SWIG_IsOK(ecode3
)) {
39271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39273 arg3
= static_cast< int >(val3
);
39274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39275 if (!SWIG_IsOK(ecode4
)) {
39276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39278 arg4
= static_cast< int >(val4
);
39279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39280 if (!SWIG_IsOK(ecode5
)) {
39281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39283 arg5
= static_cast< int >(val5
);
39285 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39286 if (!SWIG_IsOK(ecode6
)) {
39287 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39289 arg6
= static_cast< int >(val6
);
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_Py_Void();
39304 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39305 PyObject
*resultobj
= 0;
39306 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39315 PyObject
* obj0
= 0 ;
39316 PyObject
* obj1
= 0 ;
39317 PyObject
* obj2
= 0 ;
39318 char * kwnames
[] = {
39319 (char *) "self",(char *) "width",(char *) "height", NULL
39322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39324 if (!SWIG_IsOK(res1
)) {
39325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39327 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39329 if (!SWIG_IsOK(ecode2
)) {
39330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39332 arg2
= static_cast< int >(val2
);
39333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39334 if (!SWIG_IsOK(ecode3
)) {
39335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39337 arg3
= static_cast< int >(val3
);
39339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39340 (arg1
)->DoSetClientSize(arg2
,arg3
);
39341 wxPyEndAllowThreads(__tstate
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 resultobj
= SWIG_Py_Void();
39351 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39352 PyObject
*resultobj
= 0;
39353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39362 PyObject
* obj0
= 0 ;
39363 PyObject
* obj1
= 0 ;
39364 PyObject
* obj2
= 0 ;
39365 char * kwnames
[] = {
39366 (char *) "self",(char *) "x",(char *) "y", NULL
39369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39371 if (!SWIG_IsOK(res1
)) {
39372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39374 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39376 if (!SWIG_IsOK(ecode2
)) {
39377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39379 arg2
= static_cast< int >(val2
);
39380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39381 if (!SWIG_IsOK(ecode3
)) {
39382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39384 arg3
= static_cast< int >(val3
);
39386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39387 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 resultobj
= SWIG_Py_Void();
39398 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39399 PyObject
*resultobj
= 0;
39400 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39401 int *arg2
= (int *) 0 ;
39402 int *arg3
= (int *) 0 ;
39406 int res2
= SWIG_TMPOBJ
;
39408 int res3
= SWIG_TMPOBJ
;
39409 PyObject
*swig_obj
[1] ;
39413 if (!args
) SWIG_fail
;
39414 swig_obj
[0] = args
;
39415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39416 if (!SWIG_IsOK(res1
)) {
39417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39419 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 resultobj
= SWIG_Py_Void();
39427 if (SWIG_IsTmpObj(res2
)) {
39428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39430 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39433 if (SWIG_IsTmpObj(res3
)) {
39434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39436 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39445 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39446 PyObject
*resultobj
= 0;
39447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39448 int *arg2
= (int *) 0 ;
39449 int *arg3
= (int *) 0 ;
39453 int res2
= SWIG_TMPOBJ
;
39455 int res3
= SWIG_TMPOBJ
;
39456 PyObject
*swig_obj
[1] ;
39460 if (!args
) SWIG_fail
;
39461 swig_obj
[0] = args
;
39462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39463 if (!SWIG_IsOK(res1
)) {
39464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39466 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39473 resultobj
= SWIG_Py_Void();
39474 if (SWIG_IsTmpObj(res2
)) {
39475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39477 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39480 if (SWIG_IsTmpObj(res3
)) {
39481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39483 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39492 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39493 PyObject
*resultobj
= 0;
39494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39495 int *arg2
= (int *) 0 ;
39496 int *arg3
= (int *) 0 ;
39500 int res2
= SWIG_TMPOBJ
;
39502 int res3
= SWIG_TMPOBJ
;
39503 PyObject
*swig_obj
[1] ;
39507 if (!args
) SWIG_fail
;
39508 swig_obj
[0] = args
;
39509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39510 if (!SWIG_IsOK(res1
)) {
39511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39513 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39516 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39520 resultobj
= SWIG_Py_Void();
39521 if (SWIG_IsTmpObj(res2
)) {
39522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39524 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39527 if (SWIG_IsTmpObj(res3
)) {
39528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39530 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39539 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39540 PyObject
*resultobj
= 0;
39541 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39545 PyObject
*swig_obj
[1] ;
39547 if (!args
) SWIG_fail
;
39548 swig_obj
[0] = args
;
39549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39550 if (!SWIG_IsOK(res1
)) {
39551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39553 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39556 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39560 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39567 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39568 PyObject
*resultobj
= 0;
39569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39573 PyObject
*swig_obj
[1] ;
39575 if (!args
) SWIG_fail
;
39576 swig_obj
[0] = args
;
39577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39578 if (!SWIG_IsOK(res1
)) {
39579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39581 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39585 wxPyEndAllowThreads(__tstate
);
39586 if (PyErr_Occurred()) SWIG_fail
;
39588 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39595 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39596 PyObject
*resultobj
= 0;
39597 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39598 SwigValueWrapper
<wxVisualAttributes
> result
;
39601 PyObject
*swig_obj
[1] ;
39603 if (!args
) SWIG_fail
;
39604 swig_obj
[0] = args
;
39605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39606 if (!SWIG_IsOK(res1
)) {
39607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39609 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39612 result
= (arg1
)->GetDefaultAttributes();
39613 wxPyEndAllowThreads(__tstate
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39616 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39623 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39624 PyObject
*resultobj
= 0;
39625 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39628 PyObject
*swig_obj
[1] ;
39630 if (!args
) SWIG_fail
;
39631 swig_obj
[0] = args
;
39632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39633 if (!SWIG_IsOK(res1
)) {
39634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39639 (arg1
)->OnInternalIdle();
39640 wxPyEndAllowThreads(__tstate
);
39641 if (PyErr_Occurred()) SWIG_fail
;
39643 resultobj
= SWIG_Py_Void();
39650 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39653 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39654 return SWIG_Py_Void();
39657 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39658 return SWIG_Python_InitShadowInstance(args
);
39661 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
= 0;
39663 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39664 int arg2
= (int) 0 ;
39665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39667 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39668 wxHelpEvent
*result
= 0 ;
39676 PyObject
* obj0
= 0 ;
39677 PyObject
* obj1
= 0 ;
39678 PyObject
* obj2
= 0 ;
39679 PyObject
* obj3
= 0 ;
39680 char * kwnames
[] = {
39681 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39687 if (!SWIG_IsOK(ecode1
)) {
39688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39690 arg1
= static_cast< wxEventType
>(val1
);
39693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39694 if (!SWIG_IsOK(ecode2
)) {
39695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39697 arg2
= static_cast< int >(val2
);
39702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39707 if (!SWIG_IsOK(ecode4
)) {
39708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39710 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39715 wxPyEndAllowThreads(__tstate
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39725 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39726 PyObject
*resultobj
= 0;
39727 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39731 PyObject
*swig_obj
[1] ;
39733 if (!args
) SWIG_fail
;
39734 swig_obj
[0] = args
;
39735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39736 if (!SWIG_IsOK(res1
)) {
39737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39739 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39742 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39743 wxPyEndAllowThreads(__tstate
);
39744 if (PyErr_Occurred()) SWIG_fail
;
39746 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39753 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39754 PyObject
*resultobj
= 0;
39755 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39756 wxPoint
*arg2
= 0 ;
39760 PyObject
* obj0
= 0 ;
39761 PyObject
* obj1
= 0 ;
39762 char * kwnames
[] = {
39763 (char *) "self",(char *) "pos", NULL
39766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39768 if (!SWIG_IsOK(res1
)) {
39769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39771 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= SWIG_Py_Void();
39789 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39790 PyObject
*resultobj
= 0;
39791 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39792 wxString
*result
= 0 ;
39795 PyObject
*swig_obj
[1] ;
39797 if (!args
) SWIG_fail
;
39798 swig_obj
[0] = args
;
39799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39800 if (!SWIG_IsOK(res1
)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39803 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39807 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39808 result
= (wxString
*) &_result_ref
;
39810 wxPyEndAllowThreads(__tstate
);
39811 if (PyErr_Occurred()) SWIG_fail
;
39815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39826 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39827 PyObject
*resultobj
= 0;
39828 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39829 wxString
*arg2
= 0 ;
39832 bool temp2
= false ;
39833 PyObject
* obj0
= 0 ;
39834 PyObject
* obj1
= 0 ;
39835 char * kwnames
[] = {
39836 (char *) "self",(char *) "link", NULL
39839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39841 if (!SWIG_IsOK(res1
)) {
39842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39844 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39846 arg2
= wxString_in_helper(obj1
);
39847 if (arg2
== NULL
) SWIG_fail
;
39851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39852 (arg1
)->SetLink((wxString
const &)*arg2
);
39853 wxPyEndAllowThreads(__tstate
);
39854 if (PyErr_Occurred()) SWIG_fail
;
39856 resultobj
= SWIG_Py_Void();
39871 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39872 PyObject
*resultobj
= 0;
39873 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39874 wxString
*result
= 0 ;
39877 PyObject
*swig_obj
[1] ;
39879 if (!args
) SWIG_fail
;
39880 swig_obj
[0] = args
;
39881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39882 if (!SWIG_IsOK(res1
)) {
39883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39885 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39890 result
= (wxString
*) &_result_ref
;
39892 wxPyEndAllowThreads(__tstate
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39908 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39909 PyObject
*resultobj
= 0;
39910 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39911 wxString
*arg2
= 0 ;
39914 bool temp2
= false ;
39915 PyObject
* obj0
= 0 ;
39916 PyObject
* obj1
= 0 ;
39917 char * kwnames
[] = {
39918 (char *) "self",(char *) "target", NULL
39921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39923 if (!SWIG_IsOK(res1
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39926 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39928 arg2
= wxString_in_helper(obj1
);
39929 if (arg2
== NULL
) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 (arg1
)->SetTarget((wxString
const &)*arg2
);
39935 wxPyEndAllowThreads(__tstate
);
39936 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= SWIG_Py_Void();
39953 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39954 PyObject
*resultobj
= 0;
39955 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39956 wxHelpEvent::Origin result
;
39959 PyObject
*swig_obj
[1] ;
39961 if (!args
) SWIG_fail
;
39962 swig_obj
[0] = args
;
39963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39967 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39970 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 resultobj
= SWIG_From_int(static_cast< int >(result
));
39981 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
= 0;
39983 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39984 wxHelpEvent::Origin arg2
;
39989 PyObject
* obj0
= 0 ;
39990 PyObject
* obj1
= 0 ;
39991 char * kwnames
[] = {
39992 (char *) "self",(char *) "origin", NULL
39995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39997 if (!SWIG_IsOK(res1
)) {
39998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40000 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40002 if (!SWIG_IsOK(ecode2
)) {
40003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40005 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 (arg1
)->SetOrigin(arg2
);
40009 wxPyEndAllowThreads(__tstate
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40012 resultobj
= SWIG_Py_Void();
40019 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40022 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40023 return SWIG_Py_Void();
40026 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40027 return SWIG_Python_InitShadowInstance(args
);
40030 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
= 0;
40032 wxWindow
*arg1
= (wxWindow
*) NULL
;
40033 bool arg2
= (bool) true ;
40034 wxContextHelp
*result
= 0 ;
40039 PyObject
* obj0
= 0 ;
40040 PyObject
* obj1
= 0 ;
40041 char * kwnames
[] = {
40042 (char *) "window",(char *) "doNow", NULL
40045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40048 if (!SWIG_IsOK(res1
)) {
40049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40055 if (!SWIG_IsOK(ecode2
)) {
40056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40058 arg2
= static_cast< bool >(val2
);
40061 if (!wxPyCheckForApp()) SWIG_fail
;
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40074 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40075 PyObject
*resultobj
= 0;
40076 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40079 PyObject
*swig_obj
[1] ;
40081 if (!args
) SWIG_fail
;
40082 swig_obj
[0] = args
;
40083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40084 if (!SWIG_IsOK(res1
)) {
40085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40087 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40092 wxPyEndAllowThreads(__tstate
);
40093 if (PyErr_Occurred()) SWIG_fail
;
40095 resultobj
= SWIG_Py_Void();
40102 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40103 PyObject
*resultobj
= 0;
40104 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40105 wxWindow
*arg2
= (wxWindow
*) NULL
;
40111 PyObject
* obj0
= 0 ;
40112 PyObject
* obj1
= 0 ;
40113 char * kwnames
[] = {
40114 (char *) "self",(char *) "window", NULL
40117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40119 if (!SWIG_IsOK(res1
)) {
40120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40122 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40125 if (!SWIG_IsOK(res2
)) {
40126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40132 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40133 wxPyEndAllowThreads(__tstate
);
40134 if (PyErr_Occurred()) SWIG_fail
;
40137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40145 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40146 PyObject
*resultobj
= 0;
40147 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40151 PyObject
*swig_obj
[1] ;
40153 if (!args
) SWIG_fail
;
40154 swig_obj
[0] = args
;
40155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40156 if (!SWIG_IsOK(res1
)) {
40157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40159 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= (bool)(arg1
)->EndContextHelp();
40163 wxPyEndAllowThreads(__tstate
);
40164 if (PyErr_Occurred()) SWIG_fail
;
40167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40175 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40178 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40179 return SWIG_Py_Void();
40182 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40183 return SWIG_Python_InitShadowInstance(args
);
40186 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40187 PyObject
*resultobj
= 0;
40188 wxWindow
*arg1
= (wxWindow
*) 0 ;
40189 int arg2
= (int) wxID_CONTEXT_HELP
;
40190 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40191 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40192 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40193 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40194 long arg5
= (long) wxBU_AUTODRAW
;
40195 wxContextHelpButton
*result
= 0 ;
40204 PyObject
* obj0
= 0 ;
40205 PyObject
* obj1
= 0 ;
40206 PyObject
* obj2
= 0 ;
40207 PyObject
* obj3
= 0 ;
40208 PyObject
* obj4
= 0 ;
40209 char * kwnames
[] = {
40210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40215 if (!SWIG_IsOK(res1
)) {
40216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40221 if (!SWIG_IsOK(ecode2
)) {
40222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40224 arg2
= static_cast< int >(val2
);
40229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40239 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40240 if (!SWIG_IsOK(ecode5
)) {
40241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40243 arg5
= static_cast< long >(val5
);
40246 if (!wxPyCheckForApp()) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40259 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40262 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40263 return SWIG_Py_Void();
40266 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40267 return SWIG_Python_InitShadowInstance(args
);
40270 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40271 PyObject
*resultobj
= 0;
40272 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40275 PyObject
*swig_obj
[1] ;
40277 if (!args
) SWIG_fail
;
40278 swig_obj
[0] = args
;
40279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40280 if (!SWIG_IsOK(res1
)) {
40281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40283 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40288 wxPyEndAllowThreads(__tstate
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40291 resultobj
= SWIG_Py_Void();
40298 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40299 PyObject
*resultobj
= 0;
40300 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40301 wxHelpProvider
*result
= 0 ;
40303 PyObject
* obj0
= 0 ;
40304 char * kwnames
[] = {
40305 (char *) "helpProvider", NULL
40308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40309 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40310 if (!SWIG_IsOK(res1
)) {
40311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40315 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40316 wxPyEndAllowThreads(__tstate
);
40317 if (PyErr_Occurred()) SWIG_fail
;
40319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40326 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40327 PyObject
*resultobj
= 0;
40328 wxHelpProvider
*result
= 0 ;
40330 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40333 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40334 wxPyEndAllowThreads(__tstate
);
40335 if (PyErr_Occurred()) SWIG_fail
;
40337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40344 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40345 PyObject
*resultobj
= 0;
40346 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40347 wxWindow
*arg2
= (wxWindow
*) 0 ;
40353 PyObject
* obj0
= 0 ;
40354 PyObject
* obj1
= 0 ;
40355 char * kwnames
[] = {
40356 (char *) "self",(char *) "window", NULL
40359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40361 if (!SWIG_IsOK(res1
)) {
40362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40364 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40366 if (!SWIG_IsOK(res2
)) {
40367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40369 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40389 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40390 PyObject
*resultobj
= 0;
40391 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40392 wxWindow
*arg2
= (wxWindow
*) 0 ;
40398 PyObject
* obj0
= 0 ;
40399 PyObject
* obj1
= 0 ;
40400 char * kwnames
[] = {
40401 (char *) "self",(char *) "window", NULL
40404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40406 if (!SWIG_IsOK(res1
)) {
40407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40409 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40411 if (!SWIG_IsOK(res2
)) {
40412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 result
= (bool)(arg1
)->ShowHelp(arg2
);
40418 wxPyEndAllowThreads(__tstate
);
40419 if (PyErr_Occurred()) SWIG_fail
;
40422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40430 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
= 0;
40432 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40433 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40434 wxPoint
*arg3
= 0 ;
40435 wxHelpEvent::Origin arg4
;
40444 PyObject
* obj0
= 0 ;
40445 PyObject
* obj1
= 0 ;
40446 PyObject
* obj2
= 0 ;
40447 PyObject
* obj3
= 0 ;
40448 char * kwnames
[] = {
40449 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40454 if (!SWIG_IsOK(res1
)) {
40455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40457 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40459 if (!SWIG_IsOK(res2
)) {
40460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40462 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40468 if (!SWIG_IsOK(ecode4
)) {
40469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40471 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40474 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40475 wxPyEndAllowThreads(__tstate
);
40476 if (PyErr_Occurred()) SWIG_fail
;
40479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40487 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40488 PyObject
*resultobj
= 0;
40489 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40490 wxWindow
*arg2
= (wxWindow
*) 0 ;
40491 wxString
*arg3
= 0 ;
40496 bool temp3
= false ;
40497 PyObject
* obj0
= 0 ;
40498 PyObject
* obj1
= 0 ;
40499 PyObject
* obj2
= 0 ;
40500 char * kwnames
[] = {
40501 (char *) "self",(char *) "window",(char *) "text", NULL
40504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40506 if (!SWIG_IsOK(res1
)) {
40507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40509 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40511 if (!SWIG_IsOK(res2
)) {
40512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40516 arg3
= wxString_in_helper(obj2
);
40517 if (arg3
== NULL
) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= SWIG_Py_Void();
40541 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40542 PyObject
*resultobj
= 0;
40543 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40545 wxString
*arg3
= 0 ;
40550 bool temp3
= false ;
40551 PyObject
* obj0
= 0 ;
40552 PyObject
* obj1
= 0 ;
40553 PyObject
* obj2
= 0 ;
40554 char * kwnames
[] = {
40555 (char *) "self",(char *) "id",(char *) "text", NULL
40558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40560 if (!SWIG_IsOK(res1
)) {
40561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40563 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40565 if (!SWIG_IsOK(ecode2
)) {
40566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40568 arg2
= static_cast< int >(val2
);
40570 arg3
= wxString_in_helper(obj2
);
40571 if (arg3
== NULL
) SWIG_fail
;
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40580 resultobj
= SWIG_Py_Void();
40595 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40596 PyObject
*resultobj
= 0;
40597 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40598 wxWindow
*arg2
= (wxWindow
*) 0 ;
40603 PyObject
* obj0
= 0 ;
40604 PyObject
* obj1
= 0 ;
40605 char * kwnames
[] = {
40606 (char *) "self",(char *) "window", NULL
40609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40611 if (!SWIG_IsOK(res1
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40614 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40616 if (!SWIG_IsOK(res2
)) {
40617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40619 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40622 (arg1
)->RemoveHelp(arg2
);
40623 wxPyEndAllowThreads(__tstate
);
40624 if (PyErr_Occurred()) SWIG_fail
;
40626 resultobj
= SWIG_Py_Void();
40633 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40634 PyObject
*resultobj
= 0;
40635 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40638 PyObject
*swig_obj
[1] ;
40640 if (!args
) SWIG_fail
;
40641 swig_obj
[0] = args
;
40642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40643 if (!SWIG_IsOK(res1
)) {
40644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40646 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40649 wxHelpProvider_Destroy(arg1
);
40650 wxPyEndAllowThreads(__tstate
);
40651 if (PyErr_Occurred()) SWIG_fail
;
40653 resultobj
= SWIG_Py_Void();
40660 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40663 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40664 return SWIG_Py_Void();
40667 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40668 PyObject
*resultobj
= 0;
40669 wxSimpleHelpProvider
*result
= 0 ;
40671 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40674 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40675 wxPyEndAllowThreads(__tstate
);
40676 if (PyErr_Occurred()) SWIG_fail
;
40678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40685 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40688 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40689 return SWIG_Py_Void();
40692 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40693 return SWIG_Python_InitShadowInstance(args
);
40696 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40697 PyObject
*resultobj
= 0;
40698 wxBitmap
*arg1
= 0 ;
40699 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40700 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40701 wxGenericDragImage
*result
= 0 ;
40706 PyObject
* obj0
= 0 ;
40707 PyObject
* obj1
= 0 ;
40708 char * kwnames
[] = {
40709 (char *) "image",(char *) "cursor", NULL
40712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40713 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40714 if (!SWIG_IsOK(res1
)) {
40715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40720 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40723 if (!SWIG_IsOK(res2
)) {
40724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40729 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40732 if (!wxPyCheckForApp()) SWIG_fail
;
40733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40734 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40735 wxPyEndAllowThreads(__tstate
);
40736 if (PyErr_Occurred()) SWIG_fail
;
40738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40745 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40746 PyObject
*resultobj
= 0;
40748 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40749 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40750 wxGenericDragImage
*result
= 0 ;
40755 PyObject
* obj0
= 0 ;
40756 PyObject
* obj1
= 0 ;
40757 char * kwnames
[] = {
40758 (char *) "image",(char *) "cursor", NULL
40761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40763 if (!SWIG_IsOK(res1
)) {
40764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40769 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40772 if (!SWIG_IsOK(res2
)) {
40773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40778 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40781 if (!wxPyCheckForApp()) SWIG_fail
;
40782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40783 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40784 wxPyEndAllowThreads(__tstate
);
40785 if (PyErr_Occurred()) SWIG_fail
;
40787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40794 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40795 PyObject
*resultobj
= 0;
40796 wxString
*arg1
= 0 ;
40797 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40798 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40799 wxGenericDragImage
*result
= 0 ;
40800 bool temp1
= false ;
40803 PyObject
* obj0
= 0 ;
40804 PyObject
* obj1
= 0 ;
40805 char * kwnames
[] = {
40806 (char *) "str",(char *) "cursor", NULL
40809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40811 arg1
= wxString_in_helper(obj0
);
40812 if (arg1
== NULL
) SWIG_fail
;
40816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40817 if (!SWIG_IsOK(res2
)) {
40818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40823 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40826 if (!wxPyCheckForApp()) SWIG_fail
;
40827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40828 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40829 wxPyEndAllowThreads(__tstate
);
40830 if (PyErr_Occurred()) SWIG_fail
;
40832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40847 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40848 PyObject
*resultobj
= 0;
40849 wxPyTreeCtrl
*arg1
= 0 ;
40850 wxTreeItemId
*arg2
= 0 ;
40851 wxGenericDragImage
*result
= 0 ;
40856 PyObject
* obj0
= 0 ;
40857 PyObject
* obj1
= 0 ;
40858 char * kwnames
[] = {
40859 (char *) "treeCtrl",(char *) "id", NULL
40862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40863 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40864 if (!SWIG_IsOK(res1
)) {
40865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40872 if (!SWIG_IsOK(res2
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40880 if (!wxPyCheckForApp()) SWIG_fail
;
40881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40882 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40893 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40894 PyObject
*resultobj
= 0;
40895 wxPyListCtrl
*arg1
= 0 ;
40897 wxGenericDragImage
*result
= 0 ;
40902 PyObject
* obj0
= 0 ;
40903 PyObject
* obj1
= 0 ;
40904 char * kwnames
[] = {
40905 (char *) "listCtrl",(char *) "id", NULL
40908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40909 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40910 if (!SWIG_IsOK(res1
)) {
40911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40916 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40918 if (!SWIG_IsOK(ecode2
)) {
40919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40921 arg2
= static_cast< long >(val2
);
40923 if (!wxPyCheckForApp()) SWIG_fail
;
40924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40926 wxPyEndAllowThreads(__tstate
);
40927 if (PyErr_Occurred()) SWIG_fail
;
40929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40936 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40937 PyObject
*resultobj
= 0;
40938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40941 PyObject
*swig_obj
[1] ;
40943 if (!args
) SWIG_fail
;
40944 swig_obj
[0] = args
;
40945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40946 if (!SWIG_IsOK(res1
)) {
40947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40949 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40954 wxPyEndAllowThreads(__tstate
);
40955 if (PyErr_Occurred()) SWIG_fail
;
40957 resultobj
= SWIG_Py_Void();
40964 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40965 PyObject
*resultobj
= 0;
40966 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40967 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40972 PyObject
* obj0
= 0 ;
40973 PyObject
* obj1
= 0 ;
40974 char * kwnames
[] = {
40975 (char *) "self",(char *) "bitmap", NULL
40978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40980 if (!SWIG_IsOK(res1
)) {
40981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40983 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40985 if (!SWIG_IsOK(res2
)) {
40986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40988 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 (arg1
)->SetBackingBitmap(arg2
);
40992 wxPyEndAllowThreads(__tstate
);
40993 if (PyErr_Occurred()) SWIG_fail
;
40995 resultobj
= SWIG_Py_Void();
41002 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41003 PyObject
*resultobj
= 0;
41004 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41005 wxPoint
*arg2
= 0 ;
41006 wxWindow
*arg3
= (wxWindow
*) 0 ;
41007 bool arg4
= (bool) false ;
41008 wxRect
*arg5
= (wxRect
*) NULL
;
41019 PyObject
* obj0
= 0 ;
41020 PyObject
* obj1
= 0 ;
41021 PyObject
* obj2
= 0 ;
41022 PyObject
* obj3
= 0 ;
41023 PyObject
* obj4
= 0 ;
41024 char * kwnames
[] = {
41025 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41030 if (!SWIG_IsOK(res1
)) {
41031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41033 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41038 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41039 if (!SWIG_IsOK(res3
)) {
41040 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41042 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41044 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41045 if (!SWIG_IsOK(ecode4
)) {
41046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41048 arg4
= static_cast< bool >(val4
);
41051 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41052 if (!SWIG_IsOK(res5
)) {
41053 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41055 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41059 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41060 wxPyEndAllowThreads(__tstate
);
41061 if (PyErr_Occurred()) SWIG_fail
;
41064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41072 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41073 PyObject
*resultobj
= 0;
41074 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41075 wxPoint
*arg2
= 0 ;
41076 wxWindow
*arg3
= (wxWindow
*) 0 ;
41077 wxWindow
*arg4
= (wxWindow
*) 0 ;
41086 PyObject
* obj0
= 0 ;
41087 PyObject
* obj1
= 0 ;
41088 PyObject
* obj2
= 0 ;
41089 PyObject
* obj3
= 0 ;
41090 char * kwnames
[] = {
41091 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41096 if (!SWIG_IsOK(res1
)) {
41097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41099 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41104 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41105 if (!SWIG_IsOK(res3
)) {
41106 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41108 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41109 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41110 if (!SWIG_IsOK(res4
)) {
41111 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41113 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41116 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41117 wxPyEndAllowThreads(__tstate
);
41118 if (PyErr_Occurred()) SWIG_fail
;
41121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41129 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41130 PyObject
*resultobj
= 0;
41131 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41135 PyObject
*swig_obj
[1] ;
41137 if (!args
) SWIG_fail
;
41138 swig_obj
[0] = args
;
41139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41143 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41146 result
= (bool)(arg1
)->EndDrag();
41147 wxPyEndAllowThreads(__tstate
);
41148 if (PyErr_Occurred()) SWIG_fail
;
41151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41159 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41160 PyObject
*resultobj
= 0;
41161 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41162 wxPoint
*arg2
= 0 ;
41167 PyObject
* obj0
= 0 ;
41168 PyObject
* obj1
= 0 ;
41169 char * kwnames
[] = {
41170 (char *) "self",(char *) "pt", NULL
41173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41175 if (!SWIG_IsOK(res1
)) {
41176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41178 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41185 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41186 wxPyEndAllowThreads(__tstate
);
41187 if (PyErr_Occurred()) SWIG_fail
;
41190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41198 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41199 PyObject
*resultobj
= 0;
41200 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41204 PyObject
*swig_obj
[1] ;
41206 if (!args
) SWIG_fail
;
41207 swig_obj
[0] = args
;
41208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41209 if (!SWIG_IsOK(res1
)) {
41210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41212 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41215 result
= (bool)(arg1
)->Show();
41216 wxPyEndAllowThreads(__tstate
);
41217 if (PyErr_Occurred()) SWIG_fail
;
41220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41228 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41229 PyObject
*resultobj
= 0;
41230 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41234 PyObject
*swig_obj
[1] ;
41236 if (!args
) SWIG_fail
;
41237 swig_obj
[0] = args
;
41238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41239 if (!SWIG_IsOK(res1
)) {
41240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41242 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 result
= (bool)(arg1
)->Hide();
41246 wxPyEndAllowThreads(__tstate
);
41247 if (PyErr_Occurred()) SWIG_fail
;
41250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41258 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41259 PyObject
*resultobj
= 0;
41260 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41261 wxPoint
*arg2
= 0 ;
41266 PyObject
* obj0
= 0 ;
41267 PyObject
* obj1
= 0 ;
41268 char * kwnames
[] = {
41269 (char *) "self",(char *) "pos", NULL
41272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41274 if (!SWIG_IsOK(res1
)) {
41275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41277 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41284 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41285 wxPyEndAllowThreads(__tstate
);
41286 if (PyErr_Occurred()) SWIG_fail
;
41288 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41295 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41296 PyObject
*resultobj
= 0;
41297 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41299 wxPoint
*arg3
= 0 ;
41306 PyObject
* obj0
= 0 ;
41307 PyObject
* obj1
= 0 ;
41308 PyObject
* obj2
= 0 ;
41309 char * kwnames
[] = {
41310 (char *) "self",(char *) "dc",(char *) "pos", NULL
41313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41315 if (!SWIG_IsOK(res1
)) {
41316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41318 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41320 if (!SWIG_IsOK(res2
)) {
41321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41326 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41333 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41334 wxPyEndAllowThreads(__tstate
);
41335 if (PyErr_Occurred()) SWIG_fail
;
41338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41346 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41347 PyObject
*resultobj
= 0;
41348 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41350 wxMemoryDC
*arg3
= 0 ;
41362 PyObject
* obj0
= 0 ;
41363 PyObject
* obj1
= 0 ;
41364 PyObject
* obj2
= 0 ;
41365 PyObject
* obj3
= 0 ;
41366 PyObject
* obj4
= 0 ;
41367 char * kwnames
[] = {
41368 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41373 if (!SWIG_IsOK(res1
)) {
41374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41376 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41378 if (!SWIG_IsOK(res2
)) {
41379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41384 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41385 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41386 if (!SWIG_IsOK(res3
)) {
41387 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41392 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41395 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41399 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41403 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41416 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41417 PyObject
*resultobj
= 0;
41418 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41419 wxPoint
*arg2
= 0 ;
41420 wxPoint
*arg3
= 0 ;
41432 PyObject
* obj0
= 0 ;
41433 PyObject
* obj1
= 0 ;
41434 PyObject
* obj2
= 0 ;
41435 PyObject
* obj3
= 0 ;
41436 PyObject
* obj4
= 0 ;
41437 char * kwnames
[] = {
41438 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41443 if (!SWIG_IsOK(res1
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41446 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41455 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41456 if (!SWIG_IsOK(ecode4
)) {
41457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41459 arg4
= static_cast< bool >(val4
);
41460 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41461 if (!SWIG_IsOK(ecode5
)) {
41462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41464 arg5
= static_cast< bool >(val5
);
41466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41467 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41468 wxPyEndAllowThreads(__tstate
);
41469 if (PyErr_Occurred()) SWIG_fail
;
41472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41480 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41483 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41484 return SWIG_Py_Void();
41487 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41488 return SWIG_Python_InitShadowInstance(args
);
41491 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41492 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41497 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41498 PyObject
*pyobj
= 0;
41502 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41504 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41511 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41512 PyObject
*resultobj
= 0;
41513 wxWindow
*arg1
= (wxWindow
*) 0 ;
41514 int arg2
= (int) -1 ;
41515 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41516 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41521 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41522 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41523 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41524 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41525 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41526 wxDatePickerCtrl
*result
= 0 ;
41539 bool temp8
= false ;
41540 PyObject
* obj0
= 0 ;
41541 PyObject
* obj1
= 0 ;
41542 PyObject
* obj2
= 0 ;
41543 PyObject
* obj3
= 0 ;
41544 PyObject
* obj4
= 0 ;
41545 PyObject
* obj5
= 0 ;
41546 PyObject
* obj6
= 0 ;
41547 PyObject
* obj7
= 0 ;
41548 char * kwnames
[] = {
41549 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41554 if (!SWIG_IsOK(res1
)) {
41555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41560 if (!SWIG_IsOK(ecode2
)) {
41561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41563 arg2
= static_cast< int >(val2
);
41566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41567 if (!SWIG_IsOK(res3
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41573 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41588 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41589 if (!SWIG_IsOK(ecode6
)) {
41590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41592 arg6
= static_cast< long >(val6
);
41595 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41596 if (!SWIG_IsOK(res7
)) {
41597 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41602 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41606 arg8
= wxString_in_helper(obj7
);
41607 if (arg8
== NULL
) SWIG_fail
;
41612 if (!wxPyCheckForApp()) SWIG_fail
;
41613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41614 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41615 wxPyEndAllowThreads(__tstate
);
41616 if (PyErr_Occurred()) SWIG_fail
;
41618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41633 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41634 PyObject
*resultobj
= 0;
41635 wxDatePickerCtrl
*result
= 0 ;
41637 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41639 if (!wxPyCheckForApp()) SWIG_fail
;
41640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41641 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41642 wxPyEndAllowThreads(__tstate
);
41643 if (PyErr_Occurred()) SWIG_fail
;
41645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41652 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41653 PyObject
*resultobj
= 0;
41654 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41655 wxWindow
*arg2
= (wxWindow
*) 0 ;
41656 int arg3
= (int) -1 ;
41657 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41658 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41663 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41664 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41665 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41666 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41667 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41683 bool temp9
= false ;
41684 PyObject
* obj0
= 0 ;
41685 PyObject
* obj1
= 0 ;
41686 PyObject
* obj2
= 0 ;
41687 PyObject
* obj3
= 0 ;
41688 PyObject
* obj4
= 0 ;
41689 PyObject
* obj5
= 0 ;
41690 PyObject
* obj6
= 0 ;
41691 PyObject
* obj7
= 0 ;
41692 PyObject
* obj8
= 0 ;
41693 char * kwnames
[] = {
41694 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41699 if (!SWIG_IsOK(res1
)) {
41700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41702 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41704 if (!SWIG_IsOK(res2
)) {
41705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41710 if (!SWIG_IsOK(ecode3
)) {
41711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41713 arg3
= static_cast< int >(val3
);
41716 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41717 if (!SWIG_IsOK(res4
)) {
41718 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41723 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41738 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41739 if (!SWIG_IsOK(ecode7
)) {
41740 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41742 arg7
= static_cast< long >(val7
);
41745 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41746 if (!SWIG_IsOK(res8
)) {
41747 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41752 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41756 arg9
= wxString_in_helper(obj8
);
41757 if (arg9
== NULL
) SWIG_fail
;
41762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41763 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41764 wxPyEndAllowThreads(__tstate
);
41765 if (PyErr_Occurred()) SWIG_fail
;
41768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41784 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41785 PyObject
*resultobj
= 0;
41786 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41787 wxDateTime
*arg2
= 0 ;
41792 PyObject
* obj0
= 0 ;
41793 PyObject
* obj1
= 0 ;
41794 char * kwnames
[] = {
41795 (char *) "self",(char *) "dt", NULL
41798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41800 if (!SWIG_IsOK(res1
)) {
41801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41803 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41805 if (!SWIG_IsOK(res2
)) {
41806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41811 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41814 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41815 wxPyEndAllowThreads(__tstate
);
41816 if (PyErr_Occurred()) SWIG_fail
;
41818 resultobj
= SWIG_Py_Void();
41825 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41826 PyObject
*resultobj
= 0;
41827 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41831 PyObject
*swig_obj
[1] ;
41833 if (!args
) SWIG_fail
;
41834 swig_obj
[0] = args
;
41835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41836 if (!SWIG_IsOK(res1
)) {
41837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41839 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41842 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41843 wxPyEndAllowThreads(__tstate
);
41844 if (PyErr_Occurred()) SWIG_fail
;
41846 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41853 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41854 PyObject
*resultobj
= 0;
41855 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41856 wxDateTime
*arg2
= 0 ;
41857 wxDateTime
*arg3
= 0 ;
41864 PyObject
* obj0
= 0 ;
41865 PyObject
* obj1
= 0 ;
41866 PyObject
* obj2
= 0 ;
41867 char * kwnames
[] = {
41868 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41873 if (!SWIG_IsOK(res1
)) {
41874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41876 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41878 if (!SWIG_IsOK(res2
)) {
41879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41884 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41885 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41886 if (!SWIG_IsOK(res3
)) {
41887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41892 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41895 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41896 wxPyEndAllowThreads(__tstate
);
41897 if (PyErr_Occurred()) SWIG_fail
;
41899 resultobj
= SWIG_Py_Void();
41906 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41907 PyObject
*resultobj
= 0;
41908 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41912 PyObject
*swig_obj
[1] ;
41914 if (!args
) SWIG_fail
;
41915 swig_obj
[0] = args
;
41916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41917 if (!SWIG_IsOK(res1
)) {
41918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41920 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41923 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41924 wxPyEndAllowThreads(__tstate
);
41925 if (PyErr_Occurred()) SWIG_fail
;
41927 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41934 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41935 PyObject
*resultobj
= 0;
41936 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41940 PyObject
*swig_obj
[1] ;
41942 if (!args
) SWIG_fail
;
41943 swig_obj
[0] = args
;
41944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41945 if (!SWIG_IsOK(res1
)) {
41946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41948 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41951 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41952 wxPyEndAllowThreads(__tstate
);
41953 if (PyErr_Occurred()) SWIG_fail
;
41955 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41962 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41965 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41966 return SWIG_Py_Void();
41969 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41970 return SWIG_Python_InitShadowInstance(args
);
41973 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41974 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41979 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41980 PyObject
*pyobj
= 0;
41984 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41986 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41993 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41994 PyObject
*resultobj
= 0;
41995 wxWindow
*arg1
= (wxWindow
*) 0 ;
41997 wxString
*arg3
= 0 ;
41998 wxString
*arg4
= 0 ;
41999 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42000 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42001 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42002 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42003 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42004 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42005 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42006 wxHyperlinkCtrl
*result
= 0 ;
42011 bool temp3
= false ;
42012 bool temp4
= false ;
42017 bool temp8
= false ;
42018 PyObject
* obj0
= 0 ;
42019 PyObject
* obj1
= 0 ;
42020 PyObject
* obj2
= 0 ;
42021 PyObject
* obj3
= 0 ;
42022 PyObject
* obj4
= 0 ;
42023 PyObject
* obj5
= 0 ;
42024 PyObject
* obj6
= 0 ;
42025 PyObject
* obj7
= 0 ;
42026 char * kwnames
[] = {
42027 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42032 if (!SWIG_IsOK(res1
)) {
42033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42037 if (!SWIG_IsOK(ecode2
)) {
42038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42040 arg2
= static_cast< int >(val2
);
42042 arg3
= wxString_in_helper(obj2
);
42043 if (arg3
== NULL
) SWIG_fail
;
42047 arg4
= wxString_in_helper(obj3
);
42048 if (arg4
== NULL
) SWIG_fail
;
42054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42060 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42064 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42065 if (!SWIG_IsOK(ecode7
)) {
42066 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42068 arg7
= static_cast< long >(val7
);
42072 arg8
= wxString_in_helper(obj7
);
42073 if (arg8
== NULL
) SWIG_fail
;
42078 if (!wxPyCheckForApp()) SWIG_fail
;
42079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42080 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42081 wxPyEndAllowThreads(__tstate
);
42082 if (PyErr_Occurred()) SWIG_fail
;
42084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42115 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42116 PyObject
*resultobj
= 0;
42117 wxHyperlinkCtrl
*result
= 0 ;
42119 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42121 if (!wxPyCheckForApp()) SWIG_fail
;
42122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42123 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42124 wxPyEndAllowThreads(__tstate
);
42125 if (PyErr_Occurred()) SWIG_fail
;
42127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42134 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42135 PyObject
*resultobj
= 0;
42136 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42137 wxWindow
*arg2
= (wxWindow
*) 0 ;
42139 wxString
*arg4
= 0 ;
42140 wxString
*arg5
= 0 ;
42141 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42142 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42143 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42144 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42145 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42146 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42147 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42155 bool temp4
= false ;
42156 bool temp5
= false ;
42161 bool temp9
= false ;
42162 PyObject
* obj0
= 0 ;
42163 PyObject
* obj1
= 0 ;
42164 PyObject
* obj2
= 0 ;
42165 PyObject
* obj3
= 0 ;
42166 PyObject
* obj4
= 0 ;
42167 PyObject
* obj5
= 0 ;
42168 PyObject
* obj6
= 0 ;
42169 PyObject
* obj7
= 0 ;
42170 PyObject
* obj8
= 0 ;
42171 char * kwnames
[] = {
42172 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42177 if (!SWIG_IsOK(res1
)) {
42178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42180 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42182 if (!SWIG_IsOK(res2
)) {
42183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42187 if (!SWIG_IsOK(ecode3
)) {
42188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42190 arg3
= static_cast< int >(val3
);
42192 arg4
= wxString_in_helper(obj3
);
42193 if (arg4
== NULL
) SWIG_fail
;
42197 arg5
= wxString_in_helper(obj4
);
42198 if (arg5
== NULL
) SWIG_fail
;
42204 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42210 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42214 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42215 if (!SWIG_IsOK(ecode8
)) {
42216 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42218 arg8
= static_cast< long >(val8
);
42222 arg9
= wxString_in_helper(obj8
);
42223 if (arg9
== NULL
) SWIG_fail
;
42228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42230 wxPyEndAllowThreads(__tstate
);
42231 if (PyErr_Occurred()) SWIG_fail
;
42234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42266 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42267 PyObject
*resultobj
= 0;
42268 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42272 PyObject
*swig_obj
[1] ;
42274 if (!args
) SWIG_fail
;
42275 swig_obj
[0] = args
;
42276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42277 if (!SWIG_IsOK(res1
)) {
42278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42280 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42283 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42284 wxPyEndAllowThreads(__tstate
);
42285 if (PyErr_Occurred()) SWIG_fail
;
42287 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42294 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42295 PyObject
*resultobj
= 0;
42296 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42297 wxColour
*arg2
= 0 ;
42301 PyObject
* obj0
= 0 ;
42302 PyObject
* obj1
= 0 ;
42303 char * kwnames
[] = {
42304 (char *) "self",(char *) "colour", NULL
42307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42309 if (!SWIG_IsOK(res1
)) {
42310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42312 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42319 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42320 wxPyEndAllowThreads(__tstate
);
42321 if (PyErr_Occurred()) SWIG_fail
;
42323 resultobj
= SWIG_Py_Void();
42330 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42331 PyObject
*resultobj
= 0;
42332 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42336 PyObject
*swig_obj
[1] ;
42338 if (!args
) SWIG_fail
;
42339 swig_obj
[0] = args
;
42340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42341 if (!SWIG_IsOK(res1
)) {
42342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42344 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42347 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42348 wxPyEndAllowThreads(__tstate
);
42349 if (PyErr_Occurred()) SWIG_fail
;
42351 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42358 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42359 PyObject
*resultobj
= 0;
42360 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42361 wxColour
*arg2
= 0 ;
42365 PyObject
* obj0
= 0 ;
42366 PyObject
* obj1
= 0 ;
42367 char * kwnames
[] = {
42368 (char *) "self",(char *) "colour", NULL
42371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42373 if (!SWIG_IsOK(res1
)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42376 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42383 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42384 wxPyEndAllowThreads(__tstate
);
42385 if (PyErr_Occurred()) SWIG_fail
;
42387 resultobj
= SWIG_Py_Void();
42394 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42395 PyObject
*resultobj
= 0;
42396 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42400 PyObject
*swig_obj
[1] ;
42402 if (!args
) SWIG_fail
;
42403 swig_obj
[0] = args
;
42404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42405 if (!SWIG_IsOK(res1
)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42408 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42411 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42412 wxPyEndAllowThreads(__tstate
);
42413 if (PyErr_Occurred()) SWIG_fail
;
42415 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42422 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42423 PyObject
*resultobj
= 0;
42424 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42425 wxColour
*arg2
= 0 ;
42429 PyObject
* obj0
= 0 ;
42430 PyObject
* obj1
= 0 ;
42431 char * kwnames
[] = {
42432 (char *) "self",(char *) "colour", NULL
42435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42437 if (!SWIG_IsOK(res1
)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42440 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42447 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42448 wxPyEndAllowThreads(__tstate
);
42449 if (PyErr_Occurred()) SWIG_fail
;
42451 resultobj
= SWIG_Py_Void();
42458 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42459 PyObject
*resultobj
= 0;
42460 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42464 PyObject
*swig_obj
[1] ;
42466 if (!args
) SWIG_fail
;
42467 swig_obj
[0] = args
;
42468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42469 if (!SWIG_IsOK(res1
)) {
42470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42472 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42475 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42476 wxPyEndAllowThreads(__tstate
);
42477 if (PyErr_Occurred()) SWIG_fail
;
42481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42492 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42493 PyObject
*resultobj
= 0;
42494 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42495 wxString
*arg2
= 0 ;
42498 bool temp2
= false ;
42499 PyObject
* obj0
= 0 ;
42500 PyObject
* obj1
= 0 ;
42501 char * kwnames
[] = {
42502 (char *) "self",(char *) "url", NULL
42505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42507 if (!SWIG_IsOK(res1
)) {
42508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42510 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42512 arg2
= wxString_in_helper(obj1
);
42513 if (arg2
== NULL
) SWIG_fail
;
42517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42518 (arg1
)->SetURL((wxString
const &)*arg2
);
42519 wxPyEndAllowThreads(__tstate
);
42520 if (PyErr_Occurred()) SWIG_fail
;
42522 resultobj
= SWIG_Py_Void();
42537 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42538 PyObject
*resultobj
= 0;
42539 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42540 bool arg2
= (bool) true ;
42545 PyObject
* obj0
= 0 ;
42546 PyObject
* obj1
= 0 ;
42547 char * kwnames
[] = {
42548 (char *) "self",(char *) "visited", NULL
42551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42553 if (!SWIG_IsOK(res1
)) {
42554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42556 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42558 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42559 if (!SWIG_IsOK(ecode2
)) {
42560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42562 arg2
= static_cast< bool >(val2
);
42565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42566 (arg1
)->SetVisited(arg2
);
42567 wxPyEndAllowThreads(__tstate
);
42568 if (PyErr_Occurred()) SWIG_fail
;
42570 resultobj
= SWIG_Py_Void();
42577 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42578 PyObject
*resultobj
= 0;
42579 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42583 PyObject
*swig_obj
[1] ;
42585 if (!args
) SWIG_fail
;
42586 swig_obj
[0] = args
;
42587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42588 if (!SWIG_IsOK(res1
)) {
42589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42591 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42594 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42595 wxPyEndAllowThreads(__tstate
);
42596 if (PyErr_Occurred()) SWIG_fail
;
42599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42607 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42610 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42611 return SWIG_Py_Void();
42614 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42615 return SWIG_Python_InitShadowInstance(args
);
42618 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42619 PyObject
*resultobj
= 0;
42620 wxObject
*arg1
= (wxObject
*) 0 ;
42622 wxString
*arg3
= 0 ;
42623 wxHyperlinkEvent
*result
= 0 ;
42628 bool temp3
= false ;
42629 PyObject
* obj0
= 0 ;
42630 PyObject
* obj1
= 0 ;
42631 PyObject
* obj2
= 0 ;
42632 char * kwnames
[] = {
42633 (char *) "generator",(char *) "id",(char *) "url", NULL
42636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42638 if (!SWIG_IsOK(res1
)) {
42639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42641 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42643 if (!SWIG_IsOK(ecode2
)) {
42644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42646 arg2
= static_cast< int >(val2
);
42648 arg3
= wxString_in_helper(obj2
);
42649 if (arg3
== NULL
) SWIG_fail
;
42653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42654 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42655 wxPyEndAllowThreads(__tstate
);
42656 if (PyErr_Occurred()) SWIG_fail
;
42658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42673 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42674 PyObject
*resultobj
= 0;
42675 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42679 PyObject
*swig_obj
[1] ;
42681 if (!args
) SWIG_fail
;
42682 swig_obj
[0] = args
;
42683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42684 if (!SWIG_IsOK(res1
)) {
42685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42687 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42690 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42691 wxPyEndAllowThreads(__tstate
);
42692 if (PyErr_Occurred()) SWIG_fail
;
42696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42707 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42708 PyObject
*resultobj
= 0;
42709 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42710 wxString
*arg2
= 0 ;
42713 bool temp2
= false ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 char * kwnames
[] = {
42717 (char *) "self",(char *) "url", NULL
42720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42722 if (!SWIG_IsOK(res1
)) {
42723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42725 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42727 arg2
= wxString_in_helper(obj1
);
42728 if (arg2
== NULL
) SWIG_fail
;
42732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42733 (arg1
)->SetURL((wxString
const &)*arg2
);
42734 wxPyEndAllowThreads(__tstate
);
42735 if (PyErr_Occurred()) SWIG_fail
;
42737 resultobj
= SWIG_Py_Void();
42752 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42755 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42756 return SWIG_Py_Void();
42759 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42760 return SWIG_Python_InitShadowInstance(args
);
42763 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42764 PyObject
*resultobj
= 0;
42765 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42766 wxWindow
*arg2
= (wxWindow
*) 0 ;
42768 wxString
const &arg4_defvalue
= wxEmptyString
;
42769 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42770 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42771 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42772 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42773 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42774 long arg7
= (long) 0 ;
42775 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42776 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42777 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42778 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42786 bool temp4
= false ;
42793 bool temp9
= false ;
42794 PyObject
* obj0
= 0 ;
42795 PyObject
* obj1
= 0 ;
42796 PyObject
* obj2
= 0 ;
42797 PyObject
* obj3
= 0 ;
42798 PyObject
* obj4
= 0 ;
42799 PyObject
* obj5
= 0 ;
42800 PyObject
* obj6
= 0 ;
42801 PyObject
* obj7
= 0 ;
42802 PyObject
* obj8
= 0 ;
42803 char * kwnames
[] = {
42804 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42809 if (!SWIG_IsOK(res1
)) {
42810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42812 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42814 if (!SWIG_IsOK(res2
)) {
42815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42819 if (!SWIG_IsOK(ecode3
)) {
42820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42822 arg3
= static_cast< int >(val3
);
42825 arg4
= wxString_in_helper(obj3
);
42826 if (arg4
== NULL
) SWIG_fail
;
42833 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42839 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42843 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42844 if (!SWIG_IsOK(ecode7
)) {
42845 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42847 arg7
= static_cast< long >(val7
);
42850 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42851 if (!SWIG_IsOK(res8
)) {
42852 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42857 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42861 arg9
= wxString_in_helper(obj8
);
42862 if (arg9
== NULL
) SWIG_fail
;
42867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42868 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42869 wxPyEndAllowThreads(__tstate
);
42870 if (PyErr_Occurred()) SWIG_fail
;
42873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42897 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42898 PyObject
*resultobj
= 0;
42899 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42905 PyObject
* obj0
= 0 ;
42906 PyObject
* obj1
= 0 ;
42907 char * kwnames
[] = {
42908 (char *) "self",(char *) "newmargin", NULL
42911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42913 if (!SWIG_IsOK(res1
)) {
42914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42916 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42918 if (!SWIG_IsOK(ecode2
)) {
42919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42921 arg2
= static_cast< int >(val2
);
42923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42924 (arg1
)->SetInternalMargin(arg2
);
42925 wxPyEndAllowThreads(__tstate
);
42926 if (PyErr_Occurred()) SWIG_fail
;
42928 resultobj
= SWIG_Py_Void();
42935 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42936 PyObject
*resultobj
= 0;
42937 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42941 PyObject
*swig_obj
[1] ;
42943 if (!args
) SWIG_fail
;
42944 swig_obj
[0] = args
;
42945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42946 if (!SWIG_IsOK(res1
)) {
42947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42949 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42952 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42953 wxPyEndAllowThreads(__tstate
);
42954 if (PyErr_Occurred()) SWIG_fail
;
42956 resultobj
= SWIG_From_int(static_cast< int >(result
));
42963 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42964 PyObject
*resultobj
= 0;
42965 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42971 PyObject
* obj0
= 0 ;
42972 PyObject
* obj1
= 0 ;
42973 char * kwnames
[] = {
42974 (char *) "self",(char *) "prop", NULL
42977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42979 if (!SWIG_IsOK(res1
)) {
42980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42982 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42984 if (!SWIG_IsOK(ecode2
)) {
42985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42987 arg2
= static_cast< int >(val2
);
42989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42990 (arg1
)->SetTextCtrlProportion(arg2
);
42991 wxPyEndAllowThreads(__tstate
);
42992 if (PyErr_Occurred()) SWIG_fail
;
42994 resultobj
= SWIG_Py_Void();
43001 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43002 PyObject
*resultobj
= 0;
43003 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43007 PyObject
*swig_obj
[1] ;
43009 if (!args
) SWIG_fail
;
43010 swig_obj
[0] = args
;
43011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43012 if (!SWIG_IsOK(res1
)) {
43013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43015 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43018 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43019 wxPyEndAllowThreads(__tstate
);
43020 if (PyErr_Occurred()) SWIG_fail
;
43022 resultobj
= SWIG_From_int(static_cast< int >(result
));
43029 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43030 PyObject
*resultobj
= 0;
43031 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43037 PyObject
* obj0
= 0 ;
43038 PyObject
* obj1
= 0 ;
43039 char * kwnames
[] = {
43040 (char *) "self",(char *) "prop", NULL
43043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43045 if (!SWIG_IsOK(res1
)) {
43046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43048 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43050 if (!SWIG_IsOK(ecode2
)) {
43051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43053 arg2
= static_cast< int >(val2
);
43055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43056 (arg1
)->SetPickerCtrlProportion(arg2
);
43057 wxPyEndAllowThreads(__tstate
);
43058 if (PyErr_Occurred()) SWIG_fail
;
43060 resultobj
= SWIG_Py_Void();
43067 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43068 PyObject
*resultobj
= 0;
43069 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43073 PyObject
*swig_obj
[1] ;
43075 if (!args
) SWIG_fail
;
43076 swig_obj
[0] = args
;
43077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43078 if (!SWIG_IsOK(res1
)) {
43079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43081 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43084 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43085 wxPyEndAllowThreads(__tstate
);
43086 if (PyErr_Occurred()) SWIG_fail
;
43088 resultobj
= SWIG_From_int(static_cast< int >(result
));
43095 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43096 PyObject
*resultobj
= 0;
43097 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43101 PyObject
*swig_obj
[1] ;
43103 if (!args
) SWIG_fail
;
43104 swig_obj
[0] = args
;
43105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43106 if (!SWIG_IsOK(res1
)) {
43107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43109 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43112 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43113 wxPyEndAllowThreads(__tstate
);
43114 if (PyErr_Occurred()) SWIG_fail
;
43117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43125 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43126 PyObject
*resultobj
= 0;
43127 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43128 bool arg2
= (bool) true ;
43133 PyObject
* obj0
= 0 ;
43134 PyObject
* obj1
= 0 ;
43135 char * kwnames
[] = {
43136 (char *) "self",(char *) "grow", NULL
43139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43141 if (!SWIG_IsOK(res1
)) {
43142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43144 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43146 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43147 if (!SWIG_IsOK(ecode2
)) {
43148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43150 arg2
= static_cast< bool >(val2
);
43153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43154 (arg1
)->SetTextCtrlGrowable(arg2
);
43155 wxPyEndAllowThreads(__tstate
);
43156 if (PyErr_Occurred()) SWIG_fail
;
43158 resultobj
= SWIG_Py_Void();
43165 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43166 PyObject
*resultobj
= 0;
43167 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43171 PyObject
*swig_obj
[1] ;
43173 if (!args
) SWIG_fail
;
43174 swig_obj
[0] = args
;
43175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43176 if (!SWIG_IsOK(res1
)) {
43177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43179 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43182 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43183 wxPyEndAllowThreads(__tstate
);
43184 if (PyErr_Occurred()) SWIG_fail
;
43187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43195 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43196 PyObject
*resultobj
= 0;
43197 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43198 bool arg2
= (bool) true ;
43203 PyObject
* obj0
= 0 ;
43204 PyObject
* obj1
= 0 ;
43205 char * kwnames
[] = {
43206 (char *) "self",(char *) "grow", NULL
43209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43211 if (!SWIG_IsOK(res1
)) {
43212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43214 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43216 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43217 if (!SWIG_IsOK(ecode2
)) {
43218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43220 arg2
= static_cast< bool >(val2
);
43223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43224 (arg1
)->SetPickerCtrlGrowable(arg2
);
43225 wxPyEndAllowThreads(__tstate
);
43226 if (PyErr_Occurred()) SWIG_fail
;
43228 resultobj
= SWIG_Py_Void();
43235 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43236 PyObject
*resultobj
= 0;
43237 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43241 PyObject
*swig_obj
[1] ;
43243 if (!args
) SWIG_fail
;
43244 swig_obj
[0] = args
;
43245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43246 if (!SWIG_IsOK(res1
)) {
43247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43249 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43252 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43253 wxPyEndAllowThreads(__tstate
);
43254 if (PyErr_Occurred()) SWIG_fail
;
43257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43265 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43266 PyObject
*resultobj
= 0;
43267 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43268 wxTextCtrl
*result
= 0 ;
43271 PyObject
*swig_obj
[1] ;
43273 if (!args
) SWIG_fail
;
43274 swig_obj
[0] = args
;
43275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43276 if (!SWIG_IsOK(res1
)) {
43277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43279 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43282 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43283 wxPyEndAllowThreads(__tstate
);
43284 if (PyErr_Occurred()) SWIG_fail
;
43287 resultobj
= wxPyMake_wxObject(result
, 0);
43295 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43296 PyObject
*resultobj
= 0;
43297 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43298 wxControl
*result
= 0 ;
43301 PyObject
*swig_obj
[1] ;
43303 if (!args
) SWIG_fail
;
43304 swig_obj
[0] = args
;
43305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43306 if (!SWIG_IsOK(res1
)) {
43307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43309 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43312 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43313 wxPyEndAllowThreads(__tstate
);
43314 if (PyErr_Occurred()) SWIG_fail
;
43317 resultobj
= wxPyMake_wxObject(result
, 0);
43325 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43329 return SWIG_Py_Void();
43332 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43333 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43338 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43339 PyObject
*pyobj
= 0;
43343 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43345 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43352 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43353 PyObject
*resultobj
= 0;
43354 wxWindow
*arg1
= (wxWindow
*) 0 ;
43355 int arg2
= (int) -1 ;
43356 wxColour
const &arg3_defvalue
= *wxBLACK
;
43357 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43362 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43363 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43364 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43365 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43367 wxColourPickerCtrl
*result
= 0 ;
43379 bool temp8
= false ;
43380 PyObject
* obj0
= 0 ;
43381 PyObject
* obj1
= 0 ;
43382 PyObject
* obj2
= 0 ;
43383 PyObject
* obj3
= 0 ;
43384 PyObject
* obj4
= 0 ;
43385 PyObject
* obj5
= 0 ;
43386 PyObject
* obj6
= 0 ;
43387 PyObject
* obj7
= 0 ;
43388 char * kwnames
[] = {
43389 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43394 if (!SWIG_IsOK(res1
)) {
43395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43400 if (!SWIG_IsOK(ecode2
)) {
43401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43403 arg2
= static_cast< int >(val2
);
43408 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43424 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43425 if (!SWIG_IsOK(ecode6
)) {
43426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43428 arg6
= static_cast< long >(val6
);
43431 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43432 if (!SWIG_IsOK(res7
)) {
43433 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43438 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43442 arg8
= wxString_in_helper(obj7
);
43443 if (arg8
== NULL
) SWIG_fail
;
43448 if (!wxPyCheckForApp()) SWIG_fail
;
43449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43450 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43451 wxPyEndAllowThreads(__tstate
);
43452 if (PyErr_Occurred()) SWIG_fail
;
43454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43469 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43470 PyObject
*resultobj
= 0;
43471 wxColourPickerCtrl
*result
= 0 ;
43473 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43475 if (!wxPyCheckForApp()) SWIG_fail
;
43476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43477 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43478 wxPyEndAllowThreads(__tstate
);
43479 if (PyErr_Occurred()) SWIG_fail
;
43481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43488 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43489 PyObject
*resultobj
= 0;
43490 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43491 wxWindow
*arg2
= (wxWindow
*) 0 ;
43493 wxColour
const &arg4_defvalue
= *wxBLACK
;
43494 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43499 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43502 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43518 bool temp9
= false ;
43519 PyObject
* obj0
= 0 ;
43520 PyObject
* obj1
= 0 ;
43521 PyObject
* obj2
= 0 ;
43522 PyObject
* obj3
= 0 ;
43523 PyObject
* obj4
= 0 ;
43524 PyObject
* obj5
= 0 ;
43525 PyObject
* obj6
= 0 ;
43526 PyObject
* obj7
= 0 ;
43527 PyObject
* obj8
= 0 ;
43528 char * kwnames
[] = {
43529 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43534 if (!SWIG_IsOK(res1
)) {
43535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43537 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43539 if (!SWIG_IsOK(res2
)) {
43540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43544 if (!SWIG_IsOK(ecode3
)) {
43545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43547 arg3
= static_cast< int >(val3
);
43551 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43557 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43563 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43567 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43568 if (!SWIG_IsOK(ecode7
)) {
43569 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43571 arg7
= static_cast< long >(val7
);
43574 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43575 if (!SWIG_IsOK(res8
)) {
43576 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43581 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43585 arg9
= wxString_in_helper(obj8
);
43586 if (arg9
== NULL
) SWIG_fail
;
43591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43593 wxPyEndAllowThreads(__tstate
);
43594 if (PyErr_Occurred()) SWIG_fail
;
43597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43613 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43614 PyObject
*resultobj
= 0;
43615 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43619 PyObject
*swig_obj
[1] ;
43621 if (!args
) SWIG_fail
;
43622 swig_obj
[0] = args
;
43623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43624 if (!SWIG_IsOK(res1
)) {
43625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43627 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43630 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43631 wxPyEndAllowThreads(__tstate
);
43632 if (PyErr_Occurred()) SWIG_fail
;
43634 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43641 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43642 PyObject
*resultobj
= 0;
43643 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43644 wxColour
*arg2
= 0 ;
43648 PyObject
* obj0
= 0 ;
43649 PyObject
* obj1
= 0 ;
43650 char * kwnames
[] = {
43651 (char *) "self",(char *) "col", NULL
43654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43656 if (!SWIG_IsOK(res1
)) {
43657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43659 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43666 (arg1
)->SetColour((wxColour
const &)*arg2
);
43667 wxPyEndAllowThreads(__tstate
);
43668 if (PyErr_Occurred()) SWIG_fail
;
43670 resultobj
= SWIG_Py_Void();
43677 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43680 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43681 return SWIG_Py_Void();
43684 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43685 return SWIG_Python_InitShadowInstance(args
);
43688 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43689 PyObject
*resultobj
= 0;
43690 wxObject
*arg1
= (wxObject
*) 0 ;
43692 wxColour
*arg3
= 0 ;
43693 wxColourPickerEvent
*result
= 0 ;
43699 PyObject
* obj0
= 0 ;
43700 PyObject
* obj1
= 0 ;
43701 PyObject
* obj2
= 0 ;
43702 char * kwnames
[] = {
43703 (char *) "generator",(char *) "id",(char *) "col", NULL
43706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43708 if (!SWIG_IsOK(res1
)) {
43709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43711 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43713 if (!SWIG_IsOK(ecode2
)) {
43714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43716 arg2
= static_cast< int >(val2
);
43719 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43723 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43724 wxPyEndAllowThreads(__tstate
);
43725 if (PyErr_Occurred()) SWIG_fail
;
43727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43734 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43735 PyObject
*resultobj
= 0;
43736 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43740 PyObject
*swig_obj
[1] ;
43742 if (!args
) SWIG_fail
;
43743 swig_obj
[0] = args
;
43744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43745 if (!SWIG_IsOK(res1
)) {
43746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43748 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43751 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43752 wxPyEndAllowThreads(__tstate
);
43753 if (PyErr_Occurred()) SWIG_fail
;
43755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43762 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43763 PyObject
*resultobj
= 0;
43764 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43765 wxColour
*arg2
= 0 ;
43769 PyObject
* obj0
= 0 ;
43770 PyObject
* obj1
= 0 ;
43771 char * kwnames
[] = {
43772 (char *) "self",(char *) "c", NULL
43775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43777 if (!SWIG_IsOK(res1
)) {
43778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43780 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43787 (arg1
)->SetColour((wxColour
const &)*arg2
);
43788 wxPyEndAllowThreads(__tstate
);
43789 if (PyErr_Occurred()) SWIG_fail
;
43791 resultobj
= SWIG_Py_Void();
43798 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43801 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43802 return SWIG_Py_Void();
43805 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43806 return SWIG_Python_InitShadowInstance(args
);
43809 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43810 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43815 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43816 PyObject
*pyobj
= 0;
43820 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43822 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43829 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43830 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43835 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43836 PyObject
*pyobj
= 0;
43840 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43842 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43849 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43850 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43855 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43856 PyObject
*pyobj
= 0;
43860 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43862 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43869 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43870 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43875 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43876 PyObject
*pyobj
= 0;
43880 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43882 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43889 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43890 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43895 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43896 PyObject
*pyobj
= 0;
43900 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43902 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43909 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43910 PyObject
*resultobj
= 0;
43911 wxWindow
*arg1
= (wxWindow
*) 0 ;
43912 int arg2
= (int) -1 ;
43913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43915 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43916 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43917 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43918 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43919 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43920 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43921 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43922 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43923 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43924 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43925 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43926 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43927 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43928 wxFilePickerCtrl
*result
= 0 ;
43933 bool temp3
= false ;
43934 bool temp4
= false ;
43935 bool temp5
= false ;
43942 bool temp10
= false ;
43943 PyObject
* obj0
= 0 ;
43944 PyObject
* obj1
= 0 ;
43945 PyObject
* obj2
= 0 ;
43946 PyObject
* obj3
= 0 ;
43947 PyObject
* obj4
= 0 ;
43948 PyObject
* obj5
= 0 ;
43949 PyObject
* obj6
= 0 ;
43950 PyObject
* obj7
= 0 ;
43951 PyObject
* obj8
= 0 ;
43952 PyObject
* obj9
= 0 ;
43953 char * kwnames
[] = {
43954 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43959 if (!SWIG_IsOK(res1
)) {
43960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43965 if (!SWIG_IsOK(ecode2
)) {
43966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43968 arg2
= static_cast< int >(val2
);
43972 arg3
= wxString_in_helper(obj2
);
43973 if (arg3
== NULL
) SWIG_fail
;
43979 arg4
= wxString_in_helper(obj3
);
43980 if (arg4
== NULL
) SWIG_fail
;
43986 arg5
= wxString_in_helper(obj4
);
43987 if (arg5
== NULL
) SWIG_fail
;
43994 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44000 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44004 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44005 if (!SWIG_IsOK(ecode8
)) {
44006 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44008 arg8
= static_cast< long >(val8
);
44011 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44012 if (!SWIG_IsOK(res9
)) {
44013 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44018 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44022 arg10
= wxString_in_helper(obj9
);
44023 if (arg10
== NULL
) SWIG_fail
;
44028 if (!wxPyCheckForApp()) SWIG_fail
;
44029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44030 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
);
44031 wxPyEndAllowThreads(__tstate
);
44032 if (PyErr_Occurred()) SWIG_fail
;
44034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44073 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44074 PyObject
*resultobj
= 0;
44075 wxFilePickerCtrl
*result
= 0 ;
44077 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44079 if (!wxPyCheckForApp()) SWIG_fail
;
44080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44081 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44082 wxPyEndAllowThreads(__tstate
);
44083 if (PyErr_Occurred()) SWIG_fail
;
44085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44092 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44093 PyObject
*resultobj
= 0;
44094 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44095 wxWindow
*arg2
= (wxWindow
*) 0 ;
44096 int arg3
= (int) -1 ;
44097 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44098 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44099 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44100 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44101 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44102 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44103 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44104 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44105 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44106 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44107 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44108 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44109 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44110 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44111 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44119 bool temp4
= false ;
44120 bool temp5
= false ;
44121 bool temp6
= false ;
44128 bool temp11
= false ;
44129 PyObject
* obj0
= 0 ;
44130 PyObject
* obj1
= 0 ;
44131 PyObject
* obj2
= 0 ;
44132 PyObject
* obj3
= 0 ;
44133 PyObject
* obj4
= 0 ;
44134 PyObject
* obj5
= 0 ;
44135 PyObject
* obj6
= 0 ;
44136 PyObject
* obj7
= 0 ;
44137 PyObject
* obj8
= 0 ;
44138 PyObject
* obj9
= 0 ;
44139 PyObject
* obj10
= 0 ;
44140 char * kwnames
[] = {
44141 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44146 if (!SWIG_IsOK(res1
)) {
44147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44149 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44151 if (!SWIG_IsOK(res2
)) {
44152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44157 if (!SWIG_IsOK(ecode3
)) {
44158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44160 arg3
= static_cast< int >(val3
);
44164 arg4
= wxString_in_helper(obj3
);
44165 if (arg4
== NULL
) SWIG_fail
;
44171 arg5
= wxString_in_helper(obj4
);
44172 if (arg5
== NULL
) SWIG_fail
;
44178 arg6
= wxString_in_helper(obj5
);
44179 if (arg6
== NULL
) SWIG_fail
;
44186 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44192 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44196 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44197 if (!SWIG_IsOK(ecode9
)) {
44198 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44200 arg9
= static_cast< long >(val9
);
44203 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44204 if (!SWIG_IsOK(res10
)) {
44205 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44210 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44214 arg11
= wxString_in_helper(obj10
);
44215 if (arg11
== NULL
) SWIG_fail
;
44220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44221 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
);
44222 wxPyEndAllowThreads(__tstate
);
44223 if (PyErr_Occurred()) SWIG_fail
;
44226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44266 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44267 PyObject
*resultobj
= 0;
44268 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44272 PyObject
*swig_obj
[1] ;
44274 if (!args
) SWIG_fail
;
44275 swig_obj
[0] = args
;
44276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44277 if (!SWIG_IsOK(res1
)) {
44278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44280 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44283 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44284 wxPyEndAllowThreads(__tstate
);
44285 if (PyErr_Occurred()) SWIG_fail
;
44289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44300 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44301 PyObject
*resultobj
= 0;
44302 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44303 wxString
*arg2
= 0 ;
44306 bool temp2
= false ;
44307 PyObject
* obj0
= 0 ;
44308 PyObject
* obj1
= 0 ;
44309 char * kwnames
[] = {
44310 (char *) "self",(char *) "str", NULL
44313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44315 if (!SWIG_IsOK(res1
)) {
44316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44318 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44320 arg2
= wxString_in_helper(obj1
);
44321 if (arg2
== NULL
) SWIG_fail
;
44325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44326 (arg1
)->SetPath((wxString
const &)*arg2
);
44327 wxPyEndAllowThreads(__tstate
);
44328 if (PyErr_Occurred()) SWIG_fail
;
44330 resultobj
= SWIG_Py_Void();
44345 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44346 PyObject
*resultobj
= 0;
44347 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44348 wxString
*arg2
= 0 ;
44352 bool temp2
= false ;
44353 PyObject
* obj0
= 0 ;
44354 PyObject
* obj1
= 0 ;
44355 char * kwnames
[] = {
44356 (char *) "self",(char *) "path", NULL
44359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44361 if (!SWIG_IsOK(res1
)) {
44362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44364 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44366 arg2
= wxString_in_helper(obj1
);
44367 if (arg2
== NULL
) SWIG_fail
;
44371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44372 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44373 wxPyEndAllowThreads(__tstate
);
44374 if (PyErr_Occurred()) SWIG_fail
;
44377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44393 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44394 PyObject
*resultobj
= 0;
44395 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44399 PyObject
*swig_obj
[1] ;
44401 if (!args
) SWIG_fail
;
44402 swig_obj
[0] = args
;
44403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44404 if (!SWIG_IsOK(res1
)) {
44405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44407 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44410 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44411 wxPyEndAllowThreads(__tstate
);
44412 if (PyErr_Occurred()) SWIG_fail
;
44416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44427 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44430 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44431 return SWIG_Py_Void();
44434 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44435 return SWIG_Python_InitShadowInstance(args
);
44438 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44439 PyObject
*resultobj
= 0;
44440 wxWindow
*arg1
= (wxWindow
*) 0 ;
44441 int arg2
= (int) -1 ;
44442 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44444 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44445 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44446 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44447 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44448 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44449 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44450 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44451 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44452 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44453 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44454 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44455 wxDirPickerCtrl
*result
= 0 ;
44460 bool temp3
= false ;
44461 bool temp4
= false ;
44468 bool temp9
= false ;
44469 PyObject
* obj0
= 0 ;
44470 PyObject
* obj1
= 0 ;
44471 PyObject
* obj2
= 0 ;
44472 PyObject
* obj3
= 0 ;
44473 PyObject
* obj4
= 0 ;
44474 PyObject
* obj5
= 0 ;
44475 PyObject
* obj6
= 0 ;
44476 PyObject
* obj7
= 0 ;
44477 PyObject
* obj8
= 0 ;
44478 char * kwnames
[] = {
44479 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44484 if (!SWIG_IsOK(res1
)) {
44485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44487 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44490 if (!SWIG_IsOK(ecode2
)) {
44491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44493 arg2
= static_cast< int >(val2
);
44497 arg3
= wxString_in_helper(obj2
);
44498 if (arg3
== NULL
) SWIG_fail
;
44504 arg4
= wxString_in_helper(obj3
);
44505 if (arg4
== NULL
) SWIG_fail
;
44512 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44518 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44522 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44523 if (!SWIG_IsOK(ecode7
)) {
44524 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44526 arg7
= static_cast< long >(val7
);
44529 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44530 if (!SWIG_IsOK(res8
)) {
44531 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44536 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44540 arg9
= wxString_in_helper(obj8
);
44541 if (arg9
== NULL
) SWIG_fail
;
44546 if (!wxPyCheckForApp()) SWIG_fail
;
44547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44548 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
);
44549 wxPyEndAllowThreads(__tstate
);
44550 if (PyErr_Occurred()) SWIG_fail
;
44552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44583 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44584 PyObject
*resultobj
= 0;
44585 wxDirPickerCtrl
*result
= 0 ;
44587 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44589 if (!wxPyCheckForApp()) SWIG_fail
;
44590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44591 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44592 wxPyEndAllowThreads(__tstate
);
44593 if (PyErr_Occurred()) SWIG_fail
;
44595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44602 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44603 PyObject
*resultobj
= 0;
44604 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44605 wxWindow
*arg2
= (wxWindow
*) 0 ;
44606 int arg3
= (int) -1 ;
44607 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44608 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44609 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44610 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44611 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44612 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44613 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44614 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44615 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44616 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44617 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44618 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44619 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44627 bool temp4
= false ;
44628 bool temp5
= false ;
44635 bool temp10
= false ;
44636 PyObject
* obj0
= 0 ;
44637 PyObject
* obj1
= 0 ;
44638 PyObject
* obj2
= 0 ;
44639 PyObject
* obj3
= 0 ;
44640 PyObject
* obj4
= 0 ;
44641 PyObject
* obj5
= 0 ;
44642 PyObject
* obj6
= 0 ;
44643 PyObject
* obj7
= 0 ;
44644 PyObject
* obj8
= 0 ;
44645 PyObject
* obj9
= 0 ;
44646 char * kwnames
[] = {
44647 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44652 if (!SWIG_IsOK(res1
)) {
44653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44655 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44657 if (!SWIG_IsOK(res2
)) {
44658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44660 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44663 if (!SWIG_IsOK(ecode3
)) {
44664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44666 arg3
= static_cast< int >(val3
);
44670 arg4
= wxString_in_helper(obj3
);
44671 if (arg4
== NULL
) SWIG_fail
;
44677 arg5
= wxString_in_helper(obj4
);
44678 if (arg5
== NULL
) SWIG_fail
;
44685 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44691 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44695 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44696 if (!SWIG_IsOK(ecode8
)) {
44697 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44699 arg8
= static_cast< long >(val8
);
44702 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44703 if (!SWIG_IsOK(res9
)) {
44704 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44709 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44713 arg10
= wxString_in_helper(obj9
);
44714 if (arg10
== NULL
) SWIG_fail
;
44719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44720 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
);
44721 wxPyEndAllowThreads(__tstate
);
44722 if (PyErr_Occurred()) SWIG_fail
;
44725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44757 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44758 PyObject
*resultobj
= 0;
44759 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44763 PyObject
*swig_obj
[1] ;
44765 if (!args
) SWIG_fail
;
44766 swig_obj
[0] = args
;
44767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44768 if (!SWIG_IsOK(res1
)) {
44769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44771 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44774 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44791 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44792 PyObject
*resultobj
= 0;
44793 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44794 wxString
*arg2
= 0 ;
44797 bool temp2
= false ;
44798 PyObject
* obj0
= 0 ;
44799 PyObject
* obj1
= 0 ;
44800 char * kwnames
[] = {
44801 (char *) "self",(char *) "str", NULL
44804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44806 if (!SWIG_IsOK(res1
)) {
44807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44809 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44811 arg2
= wxString_in_helper(obj1
);
44812 if (arg2
== NULL
) SWIG_fail
;
44816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44817 (arg1
)->SetPath((wxString
const &)*arg2
);
44818 wxPyEndAllowThreads(__tstate
);
44819 if (PyErr_Occurred()) SWIG_fail
;
44821 resultobj
= SWIG_Py_Void();
44836 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44837 PyObject
*resultobj
= 0;
44838 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44839 wxString
*arg2
= 0 ;
44843 bool temp2
= false ;
44844 PyObject
* obj0
= 0 ;
44845 PyObject
* obj1
= 0 ;
44846 char * kwnames
[] = {
44847 (char *) "self",(char *) "path", NULL
44850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44852 if (!SWIG_IsOK(res1
)) {
44853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44855 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44857 arg2
= wxString_in_helper(obj1
);
44858 if (arg2
== NULL
) SWIG_fail
;
44862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44863 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44864 wxPyEndAllowThreads(__tstate
);
44865 if (PyErr_Occurred()) SWIG_fail
;
44868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44884 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44885 PyObject
*resultobj
= 0;
44886 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44890 PyObject
*swig_obj
[1] ;
44892 if (!args
) SWIG_fail
;
44893 swig_obj
[0] = args
;
44894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44895 if (!SWIG_IsOK(res1
)) {
44896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44898 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44901 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44902 wxPyEndAllowThreads(__tstate
);
44903 if (PyErr_Occurred()) SWIG_fail
;
44907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44918 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44922 return SWIG_Py_Void();
44925 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44926 return SWIG_Python_InitShadowInstance(args
);
44929 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44930 PyObject
*resultobj
= 0;
44932 wxObject
*arg2
= (wxObject
*) 0 ;
44934 wxString
*arg4
= 0 ;
44935 wxFileDirPickerEvent
*result
= 0 ;
44942 bool temp4
= false ;
44943 PyObject
* obj0
= 0 ;
44944 PyObject
* obj1
= 0 ;
44945 PyObject
* obj2
= 0 ;
44946 PyObject
* obj3
= 0 ;
44947 char * kwnames
[] = {
44948 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44953 if (!SWIG_IsOK(ecode1
)) {
44954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44956 arg1
= static_cast< wxEventType
>(val1
);
44957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44958 if (!SWIG_IsOK(res2
)) {
44959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44961 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44963 if (!SWIG_IsOK(ecode3
)) {
44964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44966 arg3
= static_cast< int >(val3
);
44968 arg4
= wxString_in_helper(obj3
);
44969 if (arg4
== NULL
) SWIG_fail
;
44973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44974 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44975 wxPyEndAllowThreads(__tstate
);
44976 if (PyErr_Occurred()) SWIG_fail
;
44978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44993 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44994 PyObject
*resultobj
= 0;
44995 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44999 PyObject
*swig_obj
[1] ;
45001 if (!args
) SWIG_fail
;
45002 swig_obj
[0] = args
;
45003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45004 if (!SWIG_IsOK(res1
)) {
45005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45007 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45010 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45011 wxPyEndAllowThreads(__tstate
);
45012 if (PyErr_Occurred()) SWIG_fail
;
45016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45027 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45028 PyObject
*resultobj
= 0;
45029 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45030 wxString
*arg2
= 0 ;
45033 bool temp2
= false ;
45034 PyObject
* obj0
= 0 ;
45035 PyObject
* obj1
= 0 ;
45036 char * kwnames
[] = {
45037 (char *) "self",(char *) "p", NULL
45040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45042 if (!SWIG_IsOK(res1
)) {
45043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45045 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45047 arg2
= wxString_in_helper(obj1
);
45048 if (arg2
== NULL
) SWIG_fail
;
45052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45053 (arg1
)->SetPath((wxString
const &)*arg2
);
45054 wxPyEndAllowThreads(__tstate
);
45055 if (PyErr_Occurred()) SWIG_fail
;
45057 resultobj
= SWIG_Py_Void();
45072 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45075 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45076 return SWIG_Py_Void();
45079 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45080 return SWIG_Python_InitShadowInstance(args
);
45083 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45084 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45089 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45090 PyObject
*pyobj
= 0;
45094 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45096 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45103 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45104 PyObject
*resultobj
= 0;
45105 wxWindow
*arg1
= (wxWindow
*) 0 ;
45106 int arg2
= (int) -1 ;
45107 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
45108 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45113 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45114 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45115 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45116 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45117 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45118 wxFontPickerCtrl
*result
= 0 ;
45131 bool temp8
= false ;
45132 PyObject
* obj0
= 0 ;
45133 PyObject
* obj1
= 0 ;
45134 PyObject
* obj2
= 0 ;
45135 PyObject
* obj3
= 0 ;
45136 PyObject
* obj4
= 0 ;
45137 PyObject
* obj5
= 0 ;
45138 PyObject
* obj6
= 0 ;
45139 PyObject
* obj7
= 0 ;
45140 char * kwnames
[] = {
45141 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45146 if (!SWIG_IsOK(res1
)) {
45147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45152 if (!SWIG_IsOK(ecode2
)) {
45153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45155 arg2
= static_cast< int >(val2
);
45158 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45159 if (!SWIG_IsOK(res3
)) {
45160 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45165 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45180 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45181 if (!SWIG_IsOK(ecode6
)) {
45182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45184 arg6
= static_cast< long >(val6
);
45187 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45188 if (!SWIG_IsOK(res7
)) {
45189 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45194 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45198 arg8
= wxString_in_helper(obj7
);
45199 if (arg8
== NULL
) SWIG_fail
;
45204 if (!wxPyCheckForApp()) SWIG_fail
;
45205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45206 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45207 wxPyEndAllowThreads(__tstate
);
45208 if (PyErr_Occurred()) SWIG_fail
;
45210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45225 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45226 PyObject
*resultobj
= 0;
45227 wxFontPickerCtrl
*result
= 0 ;
45229 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45231 if (!wxPyCheckForApp()) SWIG_fail
;
45232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45233 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45234 wxPyEndAllowThreads(__tstate
);
45235 if (PyErr_Occurred()) SWIG_fail
;
45237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45244 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45245 PyObject
*resultobj
= 0;
45246 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45247 wxWindow
*arg2
= (wxWindow
*) 0 ;
45248 int arg3
= (int) -1 ;
45249 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
45250 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45251 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45252 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45253 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45254 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45255 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45258 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45275 bool temp9
= false ;
45276 PyObject
* obj0
= 0 ;
45277 PyObject
* obj1
= 0 ;
45278 PyObject
* obj2
= 0 ;
45279 PyObject
* obj3
= 0 ;
45280 PyObject
* obj4
= 0 ;
45281 PyObject
* obj5
= 0 ;
45282 PyObject
* obj6
= 0 ;
45283 PyObject
* obj7
= 0 ;
45284 PyObject
* obj8
= 0 ;
45285 char * kwnames
[] = {
45286 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45291 if (!SWIG_IsOK(res1
)) {
45292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45294 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45296 if (!SWIG_IsOK(res2
)) {
45297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45302 if (!SWIG_IsOK(ecode3
)) {
45303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45305 arg3
= static_cast< int >(val3
);
45308 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45309 if (!SWIG_IsOK(res4
)) {
45310 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45315 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45320 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45326 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45330 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45331 if (!SWIG_IsOK(ecode7
)) {
45332 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45334 arg7
= static_cast< long >(val7
);
45337 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45338 if (!SWIG_IsOK(res8
)) {
45339 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45344 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45348 arg9
= wxString_in_helper(obj8
);
45349 if (arg9
== NULL
) SWIG_fail
;
45354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45356 wxPyEndAllowThreads(__tstate
);
45357 if (PyErr_Occurred()) SWIG_fail
;
45360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45376 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45377 PyObject
*resultobj
= 0;
45378 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45382 PyObject
*swig_obj
[1] ;
45384 if (!args
) SWIG_fail
;
45385 swig_obj
[0] = args
;
45386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45387 if (!SWIG_IsOK(res1
)) {
45388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45390 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45393 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45394 wxPyEndAllowThreads(__tstate
);
45395 if (PyErr_Occurred()) SWIG_fail
;
45397 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45404 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45405 PyObject
*resultobj
= 0;
45406 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45412 PyObject
* obj0
= 0 ;
45413 PyObject
* obj1
= 0 ;
45414 char * kwnames
[] = {
45415 (char *) "self",(char *) "f", NULL
45418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45420 if (!SWIG_IsOK(res1
)) {
45421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45423 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45425 if (!SWIG_IsOK(res2
)) {
45426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45431 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45434 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45435 wxPyEndAllowThreads(__tstate
);
45436 if (PyErr_Occurred()) SWIG_fail
;
45438 resultobj
= SWIG_Py_Void();
45445 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45446 PyObject
*resultobj
= 0;
45447 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45448 unsigned int arg2
;
45451 unsigned int val2
;
45453 PyObject
* obj0
= 0 ;
45454 PyObject
* obj1
= 0 ;
45455 char * kwnames
[] = {
45456 (char *) "self",(char *) "max", NULL
45459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45461 if (!SWIG_IsOK(res1
)) {
45462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45464 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45465 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45466 if (!SWIG_IsOK(ecode2
)) {
45467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45469 arg2
= static_cast< unsigned int >(val2
);
45471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45472 (arg1
)->SetMaxPointSize(arg2
);
45473 wxPyEndAllowThreads(__tstate
);
45474 if (PyErr_Occurred()) SWIG_fail
;
45476 resultobj
= SWIG_Py_Void();
45483 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45484 PyObject
*resultobj
= 0;
45485 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45486 unsigned int result
;
45489 PyObject
*swig_obj
[1] ;
45491 if (!args
) SWIG_fail
;
45492 swig_obj
[0] = args
;
45493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45494 if (!SWIG_IsOK(res1
)) {
45495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45497 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45500 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45501 wxPyEndAllowThreads(__tstate
);
45502 if (PyErr_Occurred()) SWIG_fail
;
45504 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45511 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45514 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45515 return SWIG_Py_Void();
45518 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45519 return SWIG_Python_InitShadowInstance(args
);
45522 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45523 PyObject
*resultobj
= 0;
45524 wxObject
*arg1
= (wxObject
*) 0 ;
45527 wxFontPickerEvent
*result
= 0 ;
45534 PyObject
* obj0
= 0 ;
45535 PyObject
* obj1
= 0 ;
45536 PyObject
* obj2
= 0 ;
45537 char * kwnames
[] = {
45538 (char *) "generator",(char *) "id",(char *) "f", NULL
45541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45543 if (!SWIG_IsOK(res1
)) {
45544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45546 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45548 if (!SWIG_IsOK(ecode2
)) {
45549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45551 arg2
= static_cast< int >(val2
);
45552 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45553 if (!SWIG_IsOK(res3
)) {
45554 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45559 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45562 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45563 wxPyEndAllowThreads(__tstate
);
45564 if (PyErr_Occurred()) SWIG_fail
;
45566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45573 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45574 PyObject
*resultobj
= 0;
45575 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45579 PyObject
*swig_obj
[1] ;
45581 if (!args
) SWIG_fail
;
45582 swig_obj
[0] = args
;
45583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45584 if (!SWIG_IsOK(res1
)) {
45585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45587 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45590 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45591 wxPyEndAllowThreads(__tstate
);
45592 if (PyErr_Occurred()) SWIG_fail
;
45594 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45601 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45602 PyObject
*resultobj
= 0;
45603 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45609 PyObject
* obj0
= 0 ;
45610 PyObject
* obj1
= 0 ;
45611 char * kwnames
[] = {
45612 (char *) "self",(char *) "c", NULL
45615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45617 if (!SWIG_IsOK(res1
)) {
45618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45620 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45622 if (!SWIG_IsOK(res2
)) {
45623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45628 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45631 (arg1
)->SetFont((wxFont
const &)*arg2
);
45632 wxPyEndAllowThreads(__tstate
);
45633 if (PyErr_Occurred()) SWIG_fail
;
45635 resultobj
= SWIG_Py_Void();
45642 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45645 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45646 return SWIG_Py_Void();
45649 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45650 return SWIG_Python_InitShadowInstance(args
);
45653 static PyMethodDef SwigMethods
[] = {
45654 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45656 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45658 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45659 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45662 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45664 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45666 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45667 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45668 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45669 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45670 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45677 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45678 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45679 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45680 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45682 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45684 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45685 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45687 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45689 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45690 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45693 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45695 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45697 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45700 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45702 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45704 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45706 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45707 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45708 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45710 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45711 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45714 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45715 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45719 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45721 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45722 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45723 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45724 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45725 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45726 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45727 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45728 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45729 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45732 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45734 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45737 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45739 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45740 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45741 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45743 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45745 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45747 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45748 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45750 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45754 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45756 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45758 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45759 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45761 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45762 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45764 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45768 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45769 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45771 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45773 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45778 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45780 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45791 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45796 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45802 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45803 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45805 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45809 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45810 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45811 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45813 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45814 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45824 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45825 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45826 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45827 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45828 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45829 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45830 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45832 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45833 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45834 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45835 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45836 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45837 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45838 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45839 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45840 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45841 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45844 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45846 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45848 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
45850 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45855 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45856 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45857 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45858 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45859 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45860 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45861 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45862 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45867 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45868 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45877 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45883 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45884 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45885 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45886 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45887 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45888 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45889 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45890 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45891 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45892 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45894 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45895 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45896 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45898 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
45900 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45902 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45907 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45909 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45910 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45911 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45912 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45913 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45915 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45917 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45918 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45919 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45920 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45921 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45925 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45927 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45929 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45930 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45931 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45936 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45939 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45941 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45943 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45947 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45948 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45952 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45954 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45957 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45959 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45962 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45963 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45965 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45973 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45974 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45981 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45982 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45984 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45986 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45989 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45990 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45992 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45994 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45997 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45998 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46003 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46004 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46006 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46008 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46009 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46011 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46012 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46013 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46016 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46017 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46019 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46022 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46024 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46025 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46026 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46028 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46029 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46034 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46039 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46041 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46043 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46045 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46046 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46049 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46057 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46059 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46061 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46064 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46066 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46068 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46071 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46075 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46076 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46078 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46079 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46081 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46083 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46084 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46085 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46087 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46088 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46090 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46092 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46093 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46094 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46096 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46097 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46099 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46107 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46108 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46109 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46111 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46112 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46114 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46116 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46117 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46118 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46119 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46121 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46122 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46123 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46124 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46125 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46126 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46127 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46128 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46129 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46130 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46131 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46132 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46133 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46134 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46135 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46136 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46137 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46138 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46139 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46141 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46148 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46150 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46152 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46160 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46165 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46166 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46183 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46184 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46185 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46186 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46189 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46190 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46192 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46193 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46196 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46197 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46198 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46200 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46203 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46204 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46206 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46210 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46211 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46212 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46213 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46214 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46215 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46217 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46218 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46219 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46220 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46221 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46222 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46223 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46237 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46238 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46239 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46240 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46241 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46242 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46243 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46244 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46245 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46246 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46247 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46248 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46249 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46250 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46251 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46252 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46253 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46254 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46255 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46256 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46257 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46258 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46259 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46260 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46261 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46262 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46263 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46264 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46265 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46266 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46267 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46268 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46269 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46270 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46271 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46272 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46274 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46275 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46276 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46277 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46278 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46279 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46280 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46281 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46282 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46283 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46284 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46285 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46286 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46287 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46288 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46289 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46290 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46291 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46292 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46293 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46294 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46295 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46296 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46297 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46299 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46300 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46302 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46309 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46310 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46311 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46326 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46327 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46328 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46329 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46330 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46332 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46338 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46339 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46344 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46346 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46347 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46371 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46374 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46376 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46380 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46382 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46386 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46387 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46388 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46389 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46390 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46393 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46394 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46395 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46396 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46398 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46399 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46401 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46403 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46404 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46405 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46406 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46407 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46409 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46411 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46413 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46414 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46416 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46418 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46421 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46422 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46423 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46425 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46428 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46429 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46431 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46433 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46434 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46462 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46463 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46464 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46471 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46481 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46484 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46488 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46490 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46496 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46505 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46506 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46507 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46509 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46513 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46515 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46516 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46519 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46520 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46522 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46524 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46525 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46526 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46528 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46529 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46530 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46531 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46533 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46536 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46537 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46539 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46547 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46548 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46549 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46550 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46551 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46552 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46553 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46554 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46555 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46557 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46559 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46561 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46563 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46565 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46566 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46568 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46570 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46572 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46574 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46575 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46576 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46578 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46585 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46586 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46587 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46588 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46589 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46595 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46599 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46601 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46602 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46607 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46608 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46610 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46613 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46615 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46616 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46617 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46618 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46620 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46622 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46624 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46626 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46628 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46631 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46632 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46633 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46635 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46637 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46638 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46641 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46643 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46645 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46646 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46648 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46650 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46651 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46652 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46653 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46655 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46657 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46659 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46660 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46662 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46664 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46665 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46667 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46669 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46672 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46673 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46674 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46676 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46678 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46681 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46682 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46683 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46685 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46687 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46688 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46690 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46692 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46695 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46696 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46697 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46699 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46701 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46702 { NULL
, NULL
, 0, NULL
}
46706 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46708 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46711 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46712 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46714 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46715 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46717 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46718 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46720 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46721 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46723 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46724 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46726 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46727 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46729 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46730 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46732 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46733 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46735 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46736 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46738 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46741 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46742 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46744 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46747 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46750 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46753 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46754 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46756 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46757 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46759 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46760 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46762 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46763 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46765 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46766 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46768 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46769 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46771 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46772 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46774 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46775 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46777 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46780 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46781 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46783 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46786 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46787 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46789 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46790 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46792 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46793 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46795 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46796 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46798 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46799 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46801 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46802 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46804 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46807 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46808 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46810 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46811 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46813 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46816 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46819 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46820 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46822 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46823 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46825 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46826 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46828 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46829 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46831 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46834 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46835 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46837 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46838 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46840 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46843 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46844 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46846 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46847 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46849 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46850 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46852 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46853 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46855 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46856 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46858 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46859 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46861 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46862 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46864 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46865 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46867 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46868 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46870 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46871 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46873 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46874 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46876 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46877 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46879 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46880 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46882 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46883 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46885 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46886 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46888 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46889 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46891 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46892 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46894 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46895 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46897 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46898 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46900 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46901 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46903 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46904 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46906 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46907 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46909 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46910 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46912 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46913 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46915 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46916 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46918 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46919 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46921 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46922 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46924 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46925 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46927 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46928 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46930 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46931 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46933 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46934 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46936 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46937 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46939 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46940 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46942 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46943 return (void *)((wxControl
*) ((wxGauge
*) x
));
46945 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46946 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46948 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46949 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46951 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46952 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46954 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46955 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46957 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46958 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46960 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46961 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46963 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46964 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46966 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46967 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46969 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46970 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46972 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46973 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46975 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46976 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46978 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46979 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46981 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46982 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46984 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46985 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46987 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46988 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46990 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46991 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46993 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46994 return (void *)((wxControl
*) ((wxSlider
*) x
));
46996 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46997 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46999 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47000 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47002 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47003 return (void *)((wxControl
*) ((wxButton
*) x
));
47005 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47006 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47008 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47009 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47011 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47012 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47014 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47015 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47017 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47018 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47020 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47021 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47023 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47024 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47026 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47027 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47029 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47030 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47032 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
47033 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
47035 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47036 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47038 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47039 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47041 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47042 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47044 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47045 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47047 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47048 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47050 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47051 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47053 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47054 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47056 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47057 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47059 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47060 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47062 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47063 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47065 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47066 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47068 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47069 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47071 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47072 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47074 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47075 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47077 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47078 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47080 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47081 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47083 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47086 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47087 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47089 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47090 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47092 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47095 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47098 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47099 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47101 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47104 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47107 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47110 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47111 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47113 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47114 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47116 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47119 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47122 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47125 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47128 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47131 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47132 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47134 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47137 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47140 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47143 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47146 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47149 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47152 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47155 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47158 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47161 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47164 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47167 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47170 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47173 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47176 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47179 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47182 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47185 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47188 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47191 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47194 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47197 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47200 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47203 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47206 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47209 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47212 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47215 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47218 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47221 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47224 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47227 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47230 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47231 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47233 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47234 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47236 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47237 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47239 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47240 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47242 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47243 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47245 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47246 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47248 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47251 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47252 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47254 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47255 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47257 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47260 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47261 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47263 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47266 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47267 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47269 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47270 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47272 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47273 return (void *)((wxObject
*) ((wxSizer
*) x
));
47275 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47276 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47278 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47281 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47284 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47287 static void *_p_wxEventTo_p_wxObject(void *x
) {
47288 return (void *)((wxObject
*) ((wxEvent
*) x
));
47290 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47293 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47294 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47296 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47297 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47299 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47302 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47305 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47308 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47311 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47314 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47315 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47317 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47318 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47320 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47321 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47323 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47324 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47326 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47327 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47329 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47330 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47332 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47335 static void *_p_wxControlTo_p_wxObject(void *x
) {
47336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47338 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47341 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47344 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47347 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47350 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47353 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47354 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47356 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47359 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47362 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47365 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47368 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47369 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47371 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47372 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47374 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47377 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47380 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47383 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47386 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47389 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47390 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47392 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47395 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47398 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47401 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47402 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47404 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47407 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47410 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47411 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47413 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47416 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47417 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47419 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47422 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47423 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47425 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47426 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47428 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47429 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47431 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47432 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47434 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47435 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47437 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47438 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47440 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47443 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47444 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47446 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47449 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47452 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47455 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47458 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47461 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47464 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47465 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47467 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47468 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47470 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47471 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47473 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47476 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47479 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47480 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47482 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47485 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47488 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47489 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47491 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47492 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47494 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47497 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47500 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47503 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47506 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47509 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47512 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47515 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47516 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47518 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47519 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47521 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47524 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47527 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47530 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47533 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47534 return (void *)((wxObject
*) ((wxListItem
*) x
));
47536 static void *_p_wxImageTo_p_wxObject(void *x
) {
47537 return (void *)((wxObject
*) ((wxImage
*) x
));
47539 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47540 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47542 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47545 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47546 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47548 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47551 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47554 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47557 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47560 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47563 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47566 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47569 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47570 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47572 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47573 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47575 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47578 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47579 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47581 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47584 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47585 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47587 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47590 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47591 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47593 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47596 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47597 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47599 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47600 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47602 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47603 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47605 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47608 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47611 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47614 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47615 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47617 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47620 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47621 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47623 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47624 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47626 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47629 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47632 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47635 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47638 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47641 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47644 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47647 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47650 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47651 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47653 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47656 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47659 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47662 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47663 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47665 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47666 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47668 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47669 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47671 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47672 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47674 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47675 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47677 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47678 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47680 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47681 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47683 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47684 return (void *)((wxWindow
*) ((wxControl
*) x
));
47686 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47687 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47689 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47690 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47692 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47693 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47695 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47696 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47698 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47699 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47701 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47702 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47704 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47705 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47707 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47708 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47710 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47711 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47713 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47714 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47716 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47717 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47719 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47720 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47722 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47723 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47725 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47726 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47728 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47729 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47731 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47732 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47734 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47735 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47737 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47738 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47740 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47741 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47743 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47744 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47746 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47747 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47749 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47750 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47752 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47753 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47755 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47756 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47758 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47759 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47761 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47762 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47764 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47765 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47767 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47768 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47770 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47771 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47773 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47774 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47776 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47777 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47779 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47780 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47782 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47783 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47785 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47786 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47788 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47789 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47791 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47792 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47794 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47795 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47797 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47798 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47800 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47801 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47803 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47804 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47806 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47807 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47809 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47810 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47812 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47813 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47815 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47816 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47818 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47819 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47821 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47822 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47824 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47825 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47827 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47828 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47830 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47831 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47833 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47834 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47836 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47837 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47839 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47840 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47842 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47843 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47845 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47846 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47848 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47849 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47851 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47852 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47854 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47855 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47857 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47858 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47860 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47861 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47863 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47864 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47866 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47867 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47869 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47870 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47872 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47873 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47875 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47876 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47878 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47879 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47881 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47882 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47884 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47885 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47887 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47888 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47890 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47891 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47893 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47894 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47896 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47897 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47899 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47900 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47902 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47903 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47905 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47906 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47907 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};
47908 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47909 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47910 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47911 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47912 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47913 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47914 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47915 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47916 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47917 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47918 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47919 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47920 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47921 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47922 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47923 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47924 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47925 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47926 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47927 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47928 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47929 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47930 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47931 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47932 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47933 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47934 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47935 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47936 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47937 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47938 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47939 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47940 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47941 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47942 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47943 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47944 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47945 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47946 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47947 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47948 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47949 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47950 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47951 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47952 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47953 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47954 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47955 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47956 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47957 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47958 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47959 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47960 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47961 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47962 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47963 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47964 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47965 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47966 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47967 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47968 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47969 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47970 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47971 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47972 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47973 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47974 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47975 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47976 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47977 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47978 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47979 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47980 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47981 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47982 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47983 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47984 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47985 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47986 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47987 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47988 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47989 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47990 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47991 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47992 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47993 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47994 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47995 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47996 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47997 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47998 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47999 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48000 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48001 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48002 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48003 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48004 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48005 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48006 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48007 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48008 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48009 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48010 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48011 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48012 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48013 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48014 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48015 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48016 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48017 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48018 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48019 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48020 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48021 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48022 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48023 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48024 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48025 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48026 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48027 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48028 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48029 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48030 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48031 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48032 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48033 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48034 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48035 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48036 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48037 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48038 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48039 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48040 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48041 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48042 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48043 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48044 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48045 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48046 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48047 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48048 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48049 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48050 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48051 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48052 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48053 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48054 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48055 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48056 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48057 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48058 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48059 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48060 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48061 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48062 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48063 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48064 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48065 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48066 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48067 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48068 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48069 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48070 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48071 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48072 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48073 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48074 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48075 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48076 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48077 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48078 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48079 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48081 static swig_type_info
*swig_type_initial
[] = {
48084 &_swigt__p_form_ops_t
,
48087 &_swigt__p_unsigned_char
,
48088 &_swigt__p_unsigned_int
,
48089 &_swigt__p_unsigned_long
,
48091 &_swigt__p_wxANIHandler
,
48092 &_swigt__p_wxAcceleratorTable
,
48093 &_swigt__p_wxActivateEvent
,
48094 &_swigt__p_wxArrayInt
,
48095 &_swigt__p_wxArrayString
,
48096 &_swigt__p_wxBMPHandler
,
48097 &_swigt__p_wxBitmap
,
48098 &_swigt__p_wxBitmapButton
,
48099 &_swigt__p_wxBookCtrlBase
,
48100 &_swigt__p_wxBookCtrlBaseEvent
,
48101 &_swigt__p_wxBoxSizer
,
48102 &_swigt__p_wxButton
,
48103 &_swigt__p_wxCURHandler
,
48104 &_swigt__p_wxCheckBox
,
48105 &_swigt__p_wxCheckListBox
,
48106 &_swigt__p_wxChildFocusEvent
,
48107 &_swigt__p_wxChoice
,
48108 &_swigt__p_wxChoicebook
,
48109 &_swigt__p_wxChoicebookEvent
,
48110 &_swigt__p_wxClipboardTextEvent
,
48111 &_swigt__p_wxCloseEvent
,
48112 &_swigt__p_wxColour
,
48113 &_swigt__p_wxColourPickerCtrl
,
48114 &_swigt__p_wxColourPickerEvent
,
48115 &_swigt__p_wxComboBox
,
48116 &_swigt__p_wxCommandEvent
,
48117 &_swigt__p_wxContextHelp
,
48118 &_swigt__p_wxContextHelpButton
,
48119 &_swigt__p_wxContextMenuEvent
,
48120 &_swigt__p_wxControl
,
48121 &_swigt__p_wxControlWithItems
,
48122 &_swigt__p_wxCursor
,
48124 &_swigt__p_wxDateEvent
,
48125 &_swigt__p_wxDatePickerCtrl
,
48126 &_swigt__p_wxDateTime
,
48127 &_swigt__p_wxDirFilterListCtrl
,
48128 &_swigt__p_wxDirPickerCtrl
,
48129 &_swigt__p_wxDisplayChangedEvent
,
48130 &_swigt__p_wxDropFilesEvent
,
48131 &_swigt__p_wxDuplexMode
,
48132 &_swigt__p_wxEraseEvent
,
48133 &_swigt__p_wxEvent
,
48134 &_swigt__p_wxEvtHandler
,
48135 &_swigt__p_wxFSFile
,
48136 &_swigt__p_wxFileDirPickerEvent
,
48137 &_swigt__p_wxFilePickerCtrl
,
48138 &_swigt__p_wxFileSystem
,
48139 &_swigt__p_wxFlexGridSizer
,
48140 &_swigt__p_wxFocusEvent
,
48142 &_swigt__p_wxFontPickerCtrl
,
48143 &_swigt__p_wxFontPickerEvent
,
48144 &_swigt__p_wxGBSizerItem
,
48145 &_swigt__p_wxGIFHandler
,
48146 &_swigt__p_wxGauge
,
48147 &_swigt__p_wxGenericDirCtrl
,
48148 &_swigt__p_wxGenericDragImage
,
48149 &_swigt__p_wxGridBagSizer
,
48150 &_swigt__p_wxGridSizer
,
48151 &_swigt__p_wxHelpEvent
,
48152 &_swigt__p_wxHelpProvider
,
48153 &_swigt__p_wxHyperlinkCtrl
,
48154 &_swigt__p_wxHyperlinkEvent
,
48155 &_swigt__p_wxICOHandler
,
48157 &_swigt__p_wxIconizeEvent
,
48158 &_swigt__p_wxIdleEvent
,
48159 &_swigt__p_wxImage
,
48160 &_swigt__p_wxImageHandler
,
48161 &_swigt__p_wxImageList
,
48162 &_swigt__p_wxIndividualLayoutConstraint
,
48163 &_swigt__p_wxInitDialogEvent
,
48164 &_swigt__p_wxItemContainer
,
48165 &_swigt__p_wxJPEGHandler
,
48166 &_swigt__p_wxKeyEvent
,
48167 &_swigt__p_wxLayoutConstraints
,
48168 &_swigt__p_wxListBox
,
48169 &_swigt__p_wxListEvent
,
48170 &_swigt__p_wxListItem
,
48171 &_swigt__p_wxListItemAttr
,
48172 &_swigt__p_wxListView
,
48173 &_swigt__p_wxListbook
,
48174 &_swigt__p_wxListbookEvent
,
48175 &_swigt__p_wxMaximizeEvent
,
48176 &_swigt__p_wxMemoryDC
,
48178 &_swigt__p_wxMenuBar
,
48179 &_swigt__p_wxMenuEvent
,
48180 &_swigt__p_wxMenuItem
,
48181 &_swigt__p_wxMouseCaptureChangedEvent
,
48182 &_swigt__p_wxMouseCaptureLostEvent
,
48183 &_swigt__p_wxMouseEvent
,
48184 &_swigt__p_wxMoveEvent
,
48185 &_swigt__p_wxNavigationKeyEvent
,
48186 &_swigt__p_wxNcPaintEvent
,
48187 &_swigt__p_wxNotebook
,
48188 &_swigt__p_wxNotebookEvent
,
48189 &_swigt__p_wxNotifyEvent
,
48190 &_swigt__p_wxObject
,
48191 &_swigt__p_wxPCXHandler
,
48192 &_swigt__p_wxPNGHandler
,
48193 &_swigt__p_wxPNMHandler
,
48194 &_swigt__p_wxPaintEvent
,
48195 &_swigt__p_wxPaletteChangedEvent
,
48196 &_swigt__p_wxPaperSize
,
48197 &_swigt__p_wxPickerBase
,
48198 &_swigt__p_wxPoint
,
48199 &_swigt__p_wxPyApp
,
48200 &_swigt__p_wxPyCommandEvent
,
48201 &_swigt__p_wxPyControl
,
48202 &_swigt__p_wxPyEvent
,
48203 &_swigt__p_wxPyImageHandler
,
48204 &_swigt__p_wxPyListCtrl
,
48205 &_swigt__p_wxPySizer
,
48206 &_swigt__p_wxPyTreeCtrl
,
48207 &_swigt__p_wxPyTreeItemData
,
48208 &_swigt__p_wxPyValidator
,
48209 &_swigt__p_wxQueryNewPaletteEvent
,
48210 &_swigt__p_wxRadioBox
,
48211 &_swigt__p_wxRadioButton
,
48213 &_swigt__p_wxScrollBar
,
48214 &_swigt__p_wxScrollEvent
,
48215 &_swigt__p_wxScrollWinEvent
,
48216 &_swigt__p_wxSetCursorEvent
,
48217 &_swigt__p_wxShowEvent
,
48218 &_swigt__p_wxSimpleHelpProvider
,
48220 &_swigt__p_wxSizeEvent
,
48221 &_swigt__p_wxSizer
,
48222 &_swigt__p_wxSizerItem
,
48223 &_swigt__p_wxSlider
,
48224 &_swigt__p_wxSpinButton
,
48225 &_swigt__p_wxSpinCtrl
,
48226 &_swigt__p_wxSpinEvent
,
48227 &_swigt__p_wxStaticBitmap
,
48228 &_swigt__p_wxStaticBox
,
48229 &_swigt__p_wxStaticBoxSizer
,
48230 &_swigt__p_wxStaticLine
,
48231 &_swigt__p_wxStaticText
,
48232 &_swigt__p_wxStdDialogButtonSizer
,
48233 &_swigt__p_wxString
,
48234 &_swigt__p_wxSysColourChangedEvent
,
48235 &_swigt__p_wxTIFFHandler
,
48236 &_swigt__p_wxTextAttr
,
48237 &_swigt__p_wxTextCtrl
,
48238 &_swigt__p_wxTextUrlEvent
,
48239 &_swigt__p_wxToggleButton
,
48240 &_swigt__p_wxToolBar
,
48241 &_swigt__p_wxToolBarBase
,
48242 &_swigt__p_wxToolBarToolBase
,
48243 &_swigt__p_wxToolbook
,
48244 &_swigt__p_wxToolbookEvent
,
48245 &_swigt__p_wxTreeEvent
,
48246 &_swigt__p_wxTreeItemId
,
48247 &_swigt__p_wxTreebook
,
48248 &_swigt__p_wxTreebookEvent
,
48249 &_swigt__p_wxUpdateUIEvent
,
48250 &_swigt__p_wxValidator
,
48251 &_swigt__p_wxVisualAttributes
,
48252 &_swigt__p_wxWindow
,
48253 &_swigt__p_wxWindowBase
,
48254 &_swigt__p_wxWindowCreateEvent
,
48255 &_swigt__p_wxWindowDestroyEvent
,
48256 &_swigt__p_wxXPMHandler
,
48259 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48260 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48261 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48262 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48263 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48264 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48265 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48266 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48267 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48268 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48269 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48270 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48271 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}};
48272 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}};
48273 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}};
48274 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}};
48275 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48276 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48277 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
48278 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48279 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48280 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48281 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48282 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48283 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48284 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48285 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48286 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48287 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48288 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48289 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48290 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48291 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48292 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48293 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
48294 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48295 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48296 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
48297 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
48298 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48299 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48300 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48301 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48302 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48303 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48304 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48305 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48306 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48307 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48308 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48309 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48310 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48311 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48312 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48313 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48314 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48315 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48316 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48317 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48318 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48319 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48320 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48321 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48322 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48323 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48324 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48325 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48326 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48327 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48328 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48329 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48330 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48331 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48332 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48333 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48334 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48335 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
48336 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48337 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48338 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48339 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48340 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48341 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48342 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48343 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48344 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48345 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}};
48346 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48347 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48348 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48349 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48350 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}};
48351 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48352 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}};
48353 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48354 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48355 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48356 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48357 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48358 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48359 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48360 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48361 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48362 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48363 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}};
48364 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48365 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48366 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48367 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48368 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48369 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48370 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48371 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48372 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48373 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48374 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48375 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48376 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48377 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48378 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48379 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48380 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48381 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48382 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48383 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48384 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48385 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48386 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48387 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48388 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48389 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48390 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48391 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48392 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48393 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48394 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48395 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48396 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}};
48397 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48398 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48399 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}};
48400 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48401 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48402 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48403 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48404 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48405 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48406 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48407 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48408 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48409 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48410 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48411 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48412 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48413 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48414 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48415 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48416 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48417 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48418 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48419 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48420 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48421 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48422 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}};
48423 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48424 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48425 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48426 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48427 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48428 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48429 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48430 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}};
48431 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48432 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
48433 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48435 static swig_cast_info
*swig_cast_initial
[] = {
48438 _swigc__p_form_ops_t
,
48441 _swigc__p_unsigned_char
,
48442 _swigc__p_unsigned_int
,
48443 _swigc__p_unsigned_long
,
48445 _swigc__p_wxANIHandler
,
48446 _swigc__p_wxAcceleratorTable
,
48447 _swigc__p_wxActivateEvent
,
48448 _swigc__p_wxArrayInt
,
48449 _swigc__p_wxArrayString
,
48450 _swigc__p_wxBMPHandler
,
48451 _swigc__p_wxBitmap
,
48452 _swigc__p_wxBitmapButton
,
48453 _swigc__p_wxBookCtrlBase
,
48454 _swigc__p_wxBookCtrlBaseEvent
,
48455 _swigc__p_wxBoxSizer
,
48456 _swigc__p_wxButton
,
48457 _swigc__p_wxCURHandler
,
48458 _swigc__p_wxCheckBox
,
48459 _swigc__p_wxCheckListBox
,
48460 _swigc__p_wxChildFocusEvent
,
48461 _swigc__p_wxChoice
,
48462 _swigc__p_wxChoicebook
,
48463 _swigc__p_wxChoicebookEvent
,
48464 _swigc__p_wxClipboardTextEvent
,
48465 _swigc__p_wxCloseEvent
,
48466 _swigc__p_wxColour
,
48467 _swigc__p_wxColourPickerCtrl
,
48468 _swigc__p_wxColourPickerEvent
,
48469 _swigc__p_wxComboBox
,
48470 _swigc__p_wxCommandEvent
,
48471 _swigc__p_wxContextHelp
,
48472 _swigc__p_wxContextHelpButton
,
48473 _swigc__p_wxContextMenuEvent
,
48474 _swigc__p_wxControl
,
48475 _swigc__p_wxControlWithItems
,
48476 _swigc__p_wxCursor
,
48478 _swigc__p_wxDateEvent
,
48479 _swigc__p_wxDatePickerCtrl
,
48480 _swigc__p_wxDateTime
,
48481 _swigc__p_wxDirFilterListCtrl
,
48482 _swigc__p_wxDirPickerCtrl
,
48483 _swigc__p_wxDisplayChangedEvent
,
48484 _swigc__p_wxDropFilesEvent
,
48485 _swigc__p_wxDuplexMode
,
48486 _swigc__p_wxEraseEvent
,
48488 _swigc__p_wxEvtHandler
,
48489 _swigc__p_wxFSFile
,
48490 _swigc__p_wxFileDirPickerEvent
,
48491 _swigc__p_wxFilePickerCtrl
,
48492 _swigc__p_wxFileSystem
,
48493 _swigc__p_wxFlexGridSizer
,
48494 _swigc__p_wxFocusEvent
,
48496 _swigc__p_wxFontPickerCtrl
,
48497 _swigc__p_wxFontPickerEvent
,
48498 _swigc__p_wxGBSizerItem
,
48499 _swigc__p_wxGIFHandler
,
48501 _swigc__p_wxGenericDirCtrl
,
48502 _swigc__p_wxGenericDragImage
,
48503 _swigc__p_wxGridBagSizer
,
48504 _swigc__p_wxGridSizer
,
48505 _swigc__p_wxHelpEvent
,
48506 _swigc__p_wxHelpProvider
,
48507 _swigc__p_wxHyperlinkCtrl
,
48508 _swigc__p_wxHyperlinkEvent
,
48509 _swigc__p_wxICOHandler
,
48511 _swigc__p_wxIconizeEvent
,
48512 _swigc__p_wxIdleEvent
,
48514 _swigc__p_wxImageHandler
,
48515 _swigc__p_wxImageList
,
48516 _swigc__p_wxIndividualLayoutConstraint
,
48517 _swigc__p_wxInitDialogEvent
,
48518 _swigc__p_wxItemContainer
,
48519 _swigc__p_wxJPEGHandler
,
48520 _swigc__p_wxKeyEvent
,
48521 _swigc__p_wxLayoutConstraints
,
48522 _swigc__p_wxListBox
,
48523 _swigc__p_wxListEvent
,
48524 _swigc__p_wxListItem
,
48525 _swigc__p_wxListItemAttr
,
48526 _swigc__p_wxListView
,
48527 _swigc__p_wxListbook
,
48528 _swigc__p_wxListbookEvent
,
48529 _swigc__p_wxMaximizeEvent
,
48530 _swigc__p_wxMemoryDC
,
48532 _swigc__p_wxMenuBar
,
48533 _swigc__p_wxMenuEvent
,
48534 _swigc__p_wxMenuItem
,
48535 _swigc__p_wxMouseCaptureChangedEvent
,
48536 _swigc__p_wxMouseCaptureLostEvent
,
48537 _swigc__p_wxMouseEvent
,
48538 _swigc__p_wxMoveEvent
,
48539 _swigc__p_wxNavigationKeyEvent
,
48540 _swigc__p_wxNcPaintEvent
,
48541 _swigc__p_wxNotebook
,
48542 _swigc__p_wxNotebookEvent
,
48543 _swigc__p_wxNotifyEvent
,
48544 _swigc__p_wxObject
,
48545 _swigc__p_wxPCXHandler
,
48546 _swigc__p_wxPNGHandler
,
48547 _swigc__p_wxPNMHandler
,
48548 _swigc__p_wxPaintEvent
,
48549 _swigc__p_wxPaletteChangedEvent
,
48550 _swigc__p_wxPaperSize
,
48551 _swigc__p_wxPickerBase
,
48554 _swigc__p_wxPyCommandEvent
,
48555 _swigc__p_wxPyControl
,
48556 _swigc__p_wxPyEvent
,
48557 _swigc__p_wxPyImageHandler
,
48558 _swigc__p_wxPyListCtrl
,
48559 _swigc__p_wxPySizer
,
48560 _swigc__p_wxPyTreeCtrl
,
48561 _swigc__p_wxPyTreeItemData
,
48562 _swigc__p_wxPyValidator
,
48563 _swigc__p_wxQueryNewPaletteEvent
,
48564 _swigc__p_wxRadioBox
,
48565 _swigc__p_wxRadioButton
,
48567 _swigc__p_wxScrollBar
,
48568 _swigc__p_wxScrollEvent
,
48569 _swigc__p_wxScrollWinEvent
,
48570 _swigc__p_wxSetCursorEvent
,
48571 _swigc__p_wxShowEvent
,
48572 _swigc__p_wxSimpleHelpProvider
,
48574 _swigc__p_wxSizeEvent
,
48576 _swigc__p_wxSizerItem
,
48577 _swigc__p_wxSlider
,
48578 _swigc__p_wxSpinButton
,
48579 _swigc__p_wxSpinCtrl
,
48580 _swigc__p_wxSpinEvent
,
48581 _swigc__p_wxStaticBitmap
,
48582 _swigc__p_wxStaticBox
,
48583 _swigc__p_wxStaticBoxSizer
,
48584 _swigc__p_wxStaticLine
,
48585 _swigc__p_wxStaticText
,
48586 _swigc__p_wxStdDialogButtonSizer
,
48587 _swigc__p_wxString
,
48588 _swigc__p_wxSysColourChangedEvent
,
48589 _swigc__p_wxTIFFHandler
,
48590 _swigc__p_wxTextAttr
,
48591 _swigc__p_wxTextCtrl
,
48592 _swigc__p_wxTextUrlEvent
,
48593 _swigc__p_wxToggleButton
,
48594 _swigc__p_wxToolBar
,
48595 _swigc__p_wxToolBarBase
,
48596 _swigc__p_wxToolBarToolBase
,
48597 _swigc__p_wxToolbook
,
48598 _swigc__p_wxToolbookEvent
,
48599 _swigc__p_wxTreeEvent
,
48600 _swigc__p_wxTreeItemId
,
48601 _swigc__p_wxTreebook
,
48602 _swigc__p_wxTreebookEvent
,
48603 _swigc__p_wxUpdateUIEvent
,
48604 _swigc__p_wxValidator
,
48605 _swigc__p_wxVisualAttributes
,
48606 _swigc__p_wxWindow
,
48607 _swigc__p_wxWindowBase
,
48608 _swigc__p_wxWindowCreateEvent
,
48609 _swigc__p_wxWindowDestroyEvent
,
48610 _swigc__p_wxXPMHandler
,
48614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48616 static swig_const_info swig_const_table
[] = {
48617 {0, 0, 0, 0.0, 0, 0}};
48622 /* -----------------------------------------------------------------------------
48623 * Type initialization:
48624 * This problem is tough by the requirement that no dynamic
48625 * memory is used. Also, since swig_type_info structures store pointers to
48626 * swig_cast_info structures and swig_cast_info structures store pointers back
48627 * to swig_type_info structures, we need some lookup code at initialization.
48628 * The idea is that swig generates all the structures that are needed.
48629 * The runtime then collects these partially filled structures.
48630 * The SWIG_InitializeModule function takes these initial arrays out of
48631 * swig_module, and does all the lookup, filling in the swig_module.types
48632 * array with the correct data and linking the correct swig_cast_info
48633 * structures together.
48635 * The generated swig_type_info structures are assigned staticly to an initial
48636 * array. We just loop though that array, and handle each type individually.
48637 * First we lookup if this type has been already loaded, and if so, use the
48638 * loaded structure instead of the generated one. Then we have to fill in the
48639 * cast linked list. The cast data is initially stored in something like a
48640 * two-dimensional array. Each row corresponds to a type (there are the same
48641 * number of rows as there are in the swig_type_initial array). Each entry in
48642 * a column is one of the swig_cast_info structures for that type.
48643 * The cast_initial array is actually an array of arrays, because each row has
48644 * a variable number of columns. So to actually build the cast linked list,
48645 * we find the array of casts associated with the type, and loop through it
48646 * adding the casts to the list. The one last trick we need to do is making
48647 * sure the type pointer in the swig_cast_info struct is correct.
48649 * First off, we lookup the cast->type name to see if it is already loaded.
48650 * There are three cases to handle:
48651 * 1) If the cast->type has already been loaded AND the type we are adding
48652 * casting info to has not been loaded (it is in this module), THEN we
48653 * replace the cast->type pointer with the type pointer that has already
48655 * 2) If BOTH types (the one we are adding casting info to, and the
48656 * cast->type) are loaded, THEN the cast info has already been loaded by
48657 * the previous module so we just ignore it.
48658 * 3) Finally, if cast->type has not already been loaded, then we add that
48659 * swig_cast_info to the linked list (because the cast->type) pointer will
48661 * ----------------------------------------------------------------------------- */
48671 #define SWIGRUNTIME_DEBUG
48675 SWIG_InitializeModule(void *clientdata
) {
48677 swig_module_info
*module_head
;
48678 static int init_run
= 0;
48680 clientdata
= clientdata
;
48682 if (init_run
) return;
48685 /* Initialize the swig_module */
48686 swig_module
.type_initial
= swig_type_initial
;
48687 swig_module
.cast_initial
= swig_cast_initial
;
48689 /* Try and load any already created modules */
48690 module_head
= SWIG_GetModule(clientdata
);
48692 swig_module
.next
= module_head
->next
;
48693 module_head
->next
= &swig_module
;
48695 /* This is the first module loaded */
48696 swig_module
.next
= &swig_module
;
48697 SWIG_SetModule(clientdata
, &swig_module
);
48700 /* Now work on filling in swig_module.types */
48701 #ifdef SWIGRUNTIME_DEBUG
48702 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48704 for (i
= 0; i
< swig_module
.size
; ++i
) {
48705 swig_type_info
*type
= 0;
48706 swig_type_info
*ret
;
48707 swig_cast_info
*cast
;
48709 #ifdef SWIGRUNTIME_DEBUG
48710 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48713 /* if there is another module already loaded */
48714 if (swig_module
.next
!= &swig_module
) {
48715 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48718 /* Overwrite clientdata field */
48719 #ifdef SWIGRUNTIME_DEBUG
48720 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48722 if (swig_module
.type_initial
[i
]->clientdata
) {
48723 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48724 #ifdef SWIGRUNTIME_DEBUG
48725 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48729 type
= swig_module
.type_initial
[i
];
48732 /* Insert casting types */
48733 cast
= swig_module
.cast_initial
[i
];
48734 while (cast
->type
) {
48735 /* Don't need to add information already in the list */
48737 #ifdef SWIGRUNTIME_DEBUG
48738 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48740 if (swig_module
.next
!= &swig_module
) {
48741 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48742 #ifdef SWIGRUNTIME_DEBUG
48743 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48747 if (type
== swig_module
.type_initial
[i
]) {
48748 #ifdef SWIGRUNTIME_DEBUG
48749 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48754 /* Check for casting already in the list */
48755 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48756 #ifdef SWIGRUNTIME_DEBUG
48757 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48759 if (!ocast
) ret
= 0;
48764 #ifdef SWIGRUNTIME_DEBUG
48765 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48768 type
->cast
->prev
= cast
;
48769 cast
->next
= type
->cast
;
48775 /* Set entry in modules->types array equal to the type */
48776 swig_module
.types
[i
] = type
;
48778 swig_module
.types
[i
] = 0;
48780 #ifdef SWIGRUNTIME_DEBUG
48781 printf("**** SWIG_InitializeModule: Cast List ******\n");
48782 for (i
= 0; i
< swig_module
.size
; ++i
) {
48784 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48785 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48786 while (cast
->type
) {
48787 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48791 printf("---- Total casts: %d\n",j
);
48793 printf("**** SWIG_InitializeModule: Cast List ******\n");
48797 /* This function will propagate the clientdata field of type to
48798 * any new swig_type_info structures that have been added into the list
48799 * of equivalent types. It is like calling
48800 * SWIG_TypeClientData(type, clientdata) a second time.
48803 SWIG_PropagateClientData(void) {
48805 swig_cast_info
*equiv
;
48806 static int init_run
= 0;
48808 if (init_run
) return;
48811 for (i
= 0; i
< swig_module
.size
; i
++) {
48812 if (swig_module
.types
[i
]->clientdata
) {
48813 equiv
= swig_module
.types
[i
]->cast
;
48815 if (!equiv
->converter
) {
48816 if (equiv
->type
&& !equiv
->type
->clientdata
)
48817 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48819 equiv
= equiv
->next
;
48839 /* Python-specific SWIG API */
48840 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48841 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48842 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48844 /* -----------------------------------------------------------------------------
48845 * global variable support code.
48846 * ----------------------------------------------------------------------------- */
48848 typedef struct swig_globalvar
{
48849 char *name
; /* Name of global variable */
48850 PyObject
*(*get_attr
)(void); /* Return the current value */
48851 int (*set_attr
)(PyObject
*); /* Set the value */
48852 struct swig_globalvar
*next
;
48855 typedef struct swig_varlinkobject
{
48857 swig_globalvar
*vars
;
48858 } swig_varlinkobject
;
48860 SWIGINTERN PyObject
*
48861 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48862 return PyString_FromString("<Swig global variables>");
48865 SWIGINTERN PyObject
*
48866 swig_varlink_str(swig_varlinkobject
*v
) {
48867 PyObject
*str
= PyString_FromString("(");
48868 swig_globalvar
*var
;
48869 for (var
= v
->vars
; var
; var
=var
->next
) {
48870 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48871 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48873 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48878 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48879 PyObject
*str
= swig_varlink_str(v
);
48880 fprintf(fp
,"Swig global variables ");
48881 fprintf(fp
,"%s\n", PyString_AsString(str
));
48887 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48888 swig_globalvar
*var
= v
->vars
;
48890 swig_globalvar
*n
= var
->next
;
48897 SWIGINTERN PyObject
*
48898 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48899 PyObject
*res
= NULL
;
48900 swig_globalvar
*var
= v
->vars
;
48902 if (strcmp(var
->name
,n
) == 0) {
48903 res
= (*var
->get_attr
)();
48908 if (res
== NULL
&& !PyErr_Occurred()) {
48909 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48915 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48917 swig_globalvar
*var
= v
->vars
;
48919 if (strcmp(var
->name
,n
) == 0) {
48920 res
= (*var
->set_attr
)(p
);
48925 if (res
== 1 && !PyErr_Occurred()) {
48926 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48931 SWIGINTERN PyTypeObject
*
48932 swig_varlink_type(void) {
48933 static char varlink__doc__
[] = "Swig var link object";
48934 static PyTypeObject varlink_type
;
48935 static int type_init
= 0;
48937 const PyTypeObject tmp
48939 PyObject_HEAD_INIT(NULL
)
48940 0, /* Number of items in variable part (ob_size) */
48941 (char *)"swigvarlink", /* Type name (tp_name) */
48942 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48943 0, /* Itemsize (tp_itemsize) */
48944 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48945 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48946 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48947 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48948 0, /* tp_compare */
48949 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48950 0, /* tp_as_number */
48951 0, /* tp_as_sequence */
48952 0, /* tp_as_mapping */
48955 (reprfunc
)swig_varlink_str
, /* tp_str */
48956 0, /* tp_getattro */
48957 0, /* tp_setattro */
48958 0, /* tp_as_buffer */
48960 varlink__doc__
, /* tp_doc */
48961 0, /* tp_traverse */
48963 0, /* tp_richcompare */
48964 0, /* tp_weaklistoffset */
48965 #if PY_VERSION_HEX >= 0x02020000
48966 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48968 #if PY_VERSION_HEX >= 0x02030000
48971 #ifdef COUNT_ALLOCS
48972 0,0,0,0 /* tp_alloc -> tp_next */
48975 varlink_type
= tmp
;
48976 varlink_type
.ob_type
= &PyType_Type
;
48979 return &varlink_type
;
48982 /* Create a variable linking object for use later */
48983 SWIGINTERN PyObject
*
48984 SWIG_Python_newvarlink(void) {
48985 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48989 return ((PyObject
*) result
);
48993 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48994 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48995 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48997 size_t size
= strlen(name
)+1;
48998 gv
->name
= (char *)malloc(size
);
49000 strncpy(gv
->name
,name
,size
);
49001 gv
->get_attr
= get_attr
;
49002 gv
->set_attr
= set_attr
;
49003 gv
->next
= v
->vars
;
49009 SWIGINTERN PyObject
*
49011 static PyObject
*_SWIG_globals
= 0;
49012 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49013 return _SWIG_globals
;
49016 /* -----------------------------------------------------------------------------
49017 * constants/methods manipulation
49018 * ----------------------------------------------------------------------------- */
49020 /* Install Constants */
49022 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49025 for (i
= 0; constants
[i
].type
; ++i
) {
49026 switch(constants
[i
].type
) {
49027 case SWIG_PY_POINTER
:
49028 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49030 case SWIG_PY_BINARY
:
49031 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49038 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49044 /* -----------------------------------------------------------------------------*/
49045 /* Fix SwigMethods to carry the callback ptrs when needed */
49046 /* -----------------------------------------------------------------------------*/
49049 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49050 swig_const_info
*const_table
,
49051 swig_type_info
**types
,
49052 swig_type_info
**types_initial
) {
49054 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49055 const char *c
= methods
[i
].ml_doc
;
49056 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49058 swig_const_info
*ci
= 0;
49059 const char *name
= c
+ 10;
49060 for (j
= 0; const_table
[j
].type
; ++j
) {
49061 if (strncmp(const_table
[j
].name
, name
,
49062 strlen(const_table
[j
].name
)) == 0) {
49063 ci
= &(const_table
[j
]);
49068 size_t shift
= (ci
->ptype
) - types
;
49069 swig_type_info
*ty
= types_initial
[shift
];
49070 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49071 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49072 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49075 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49077 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49079 strncpy(buff
, "swig_ptr: ", 10);
49081 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49082 methods
[i
].ml_doc
= ndoc
;
49094 /* -----------------------------------------------------------------------------*
49095 * Partial Init method
49096 * -----------------------------------------------------------------------------*/
49101 SWIGEXPORT
void SWIG_init(void) {
49104 /* Fix SwigMethods to carry the callback ptrs when needed */
49105 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49107 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49108 d
= PyModule_GetDict(m
);
49110 SWIG_InitializeModule(0);
49111 SWIG_InstallConstants(d
,swig_const_table
);
49114 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49115 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49116 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49117 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49118 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49119 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49120 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49121 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49122 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49123 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49124 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49125 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49126 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49127 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49128 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49129 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49130 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49131 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49132 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49133 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49134 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49135 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49136 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49137 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49138 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49139 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49140 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49141 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49142 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49143 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49144 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49145 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49146 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49147 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49148 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49149 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49150 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49151 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49152 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49153 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49154 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49155 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49156 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49157 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49158 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49159 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49160 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49161 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49162 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49163 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49164 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49165 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49166 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49167 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49168 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49169 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49170 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49171 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49172 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49173 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49174 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49175 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49176 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49177 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49178 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49179 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49180 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49181 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49182 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49183 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49184 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49185 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49186 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49191 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49192 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49193 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49194 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49195 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49196 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49197 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49198 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49199 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49200 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49201 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49202 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49203 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49204 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49205 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49206 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49207 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49208 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49209 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49210 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49211 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49212 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49213 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49214 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49215 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49216 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49217 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49218 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49219 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49220 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49221 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49222 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49223 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49224 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49225 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49226 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49227 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49228 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49229 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49230 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49231 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49232 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49233 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49234 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49235 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49236 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49237 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49238 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49239 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49240 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49241 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49242 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49243 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49244 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49245 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49246 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49247 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49248 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49251 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49252 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49253 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49254 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49255 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49256 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49257 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49258 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49265 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49266 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49267 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49268 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49269 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49270 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49271 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49272 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49273 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49274 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49275 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49276 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49277 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49278 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49279 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49280 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49281 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49282 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49283 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49284 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49285 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49286 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49287 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49288 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49289 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49290 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49291 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49292 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49293 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49294 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49295 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49296 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49297 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49298 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49299 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49300 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49301 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49302 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49303 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49304 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49305 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49306 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49307 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49308 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49309 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49310 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49311 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49312 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49313 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49314 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49315 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49316 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49317 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49318 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49319 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49320 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49321 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49322 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49323 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49324 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49325 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49326 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49327 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49328 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49329 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49330 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49331 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49332 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49333 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49334 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49335 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49336 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49337 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49338 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49339 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49340 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49341 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49342 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49343 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49344 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49345 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49346 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49347 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49348 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49349 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49350 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49351 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49352 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49353 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49354 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49355 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49356 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49357 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49358 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49359 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49362 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49363 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49364 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49365 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49368 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49369 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49372 // Map renamed classes back to their common name for OOR
49373 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49375 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49376 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49377 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49378 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49379 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49380 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49381 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49382 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49383 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49384 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49385 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49386 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49387 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49388 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49389 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49390 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49391 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49392 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49393 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49394 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49395 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49396 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49397 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49398 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49399 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49400 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49401 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49402 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49403 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49404 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49405 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49406 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49407 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49408 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49409 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49410 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49411 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49412 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49413 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49414 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49422 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49423 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49424 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49425 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49426 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49427 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49428 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49430 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49432 // Map renamed classes back to their common name for OOR
49433 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49434 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49436 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49437 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49438 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49439 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49440 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49441 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49442 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49443 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49444 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49445 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49446 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49448 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49450 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49451 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49452 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49453 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49454 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49455 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49456 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49457 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49458 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49459 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49460 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49461 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49462 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49463 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49464 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49465 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49466 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49467 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49468 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49469 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49470 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49471 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49472 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49473 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49474 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49475 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49476 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49477 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49478 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49479 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49480 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49481 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49482 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49483 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49484 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49485 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49486 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49487 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49488 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49489 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49490 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49491 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49492 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));