1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2904 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2905 self
->AppendText(text
);
2907 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2908 return self
->GetValue().Mid(from
, to
- from
);
2910 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2911 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2912 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2914 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_unsigned_SS_long (unsigned long value
)
2919 return (value
> LONG_MAX
) ?
2920 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_size_t (size_t value
)
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_unsigned_SS_int (unsigned int value
)
2934 return SWIG_From_unsigned_SS_long (value
);
2938 #include <wx/slider.h>
2941 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2942 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2949 class wxToggleButton
: public wxControl
2952 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2953 const wxPoint
&, const wxSize
&, long,
2954 const wxValidator
&, const wxString
&)
2955 { wxPyRaiseNotImplemented(); }
2958 { wxPyRaiseNotImplemented(); }
2962 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2964 SWIGINTERNINLINE
int
2965 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2968 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2969 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2974 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2985 self
->SetClientData(new wxPyUserData(clientData
));
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 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
){
2995 wxPyUserData
* udata
= NULL
;
2996 if (clientData
&& clientData
!= Py_None
)
2997 udata
= new wxPyUserData(clientData
);
2998 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2999 shortHelp
, longHelp
, udata
);
3001 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3002 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3004 Py_INCREF(udata
->m_obj
);
3005 return udata
->m_obj
;
3011 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3012 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3015 #include <wx/listctrl.h>
3017 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3018 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3022 PyObject
* func
= (PyObject
*)funcPtr
;
3023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3026 PyObject
* result
= PyEval_CallObject(func
, args
);
3029 retval
= PyInt_AsLong(result
);
3033 wxPyEndBlockThreads(blocked
);
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl
: public wxListCtrl
{
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) :
3048 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3050 bool Create(wxWindow
* parent
, wxWindowID id
,
3054 const wxValidator
& validator
,
3055 const wxString
& name
) {
3056 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3077 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3079 item
.SetMask( wxLIST_MASK_STATE
|
3087 if (self
->GetColumn(col
, item
))
3088 return new wxListItem(item
);
3092 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3093 wxListItem
* info
= new wxListItem
;
3094 info
->m_itemId
= itemId
;
3096 info
->m_mask
= 0xFFFF;
3097 self
->GetItem(*info
);
3100 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3102 self
->GetItemPosition(item
, pos
);
3105 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3107 self
->GetItemRect(item
, rect
, code
);
3110 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3111 if (!PyCallable_Check(func
))
3113 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3115 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3119 return (wxWindow
*)self
->m_mainWin
;
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3126 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3128 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3129 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3131 static wxTreeItemId wxNullTreeItemId
;
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl
: public wxTreeCtrl
{
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) :
3144 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3146 bool Create(wxWindow
*parent
, wxWindowID id
,
3150 const wxValidator
& validator
,
3151 const wxString
& name
) {
3152 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3156 int OnCompareItems(const wxTreeItemId
& item1
,
3157 const wxTreeItemId
& item2
) {
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3162 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3163 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3164 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3179 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3180 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3182 data
= new wxPyTreeItemData();
3183 data
->SetId(item
); // set the id
3184 self
->SetItemData(item
, data
);
3188 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3189 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3191 data
= new wxPyTreeItemData();
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 return data
->GetData();
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3201 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3202 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3204 data
= new wxPyTreeItemData(obj
);
3205 data
->SetId(item
); // set the id
3206 self
->SetItemData(item
, data
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* rval
= PyList_New(0);
3213 wxArrayTreeItemIds array
;
3215 num
= self
->GetSelections(array
);
3216 for (x
=0; x
< num
; x
++) {
3217 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3218 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval
, item
);
3222 wxPyEndBlockThreads(blocked
);
3225 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3227 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 PyObject
* tup
= PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3232 wxPyEndBlockThreads(blocked
);
3235 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3236 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3237 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3238 PyObject
* tup
= PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3241 wxPyEndBlockThreads(blocked
);
3244 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3246 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3247 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3248 wxRect
* r
= new wxRect(rect
);
3249 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked
);
3256 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxControl
3265 class wxPyControl
: public wxControl
3267 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxValidator
& validator
=wxDefaultValidator
,
3275 const wxString
& name
= wxPyControlNameStr
)
3276 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3358 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3360 #include <wx/generic/dragimgg.h>
3362 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3363 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3365 self
->GetRange(&rv
, NULL
);
3368 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3370 self
->GetRange(NULL
, &rv
);
3373 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3374 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3375 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3376 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3377 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3378 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3379 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3380 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3381 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3392 class wxSearchCtrl
: public wxTextCtrl
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow
*, wxWindowID
,
3402 const wxString
& name
)
3403 { wxPyRaiseNotImplemented(); }
3405 bool Create( wxWindow
*, wxWindowID
,
3411 const wxString
& name
) {}
3413 virtual void SetMenu( wxMenu
* ) {}
3414 virtual wxMenu
* GetMenu() { return NULL
; }
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3424 virtual void SetDescriptiveText(const wxString
& text
);
3425 virtual wxString
GetDescriptiveText() const;
3432 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3433 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3438 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3439 PyObject
*pyobj
= 0;
3443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3452 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
= 0;
3454 wxWindow
*arg1
= (wxWindow
*) 0 ;
3455 int arg2
= (int) -1 ;
3456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3462 long arg6
= (long) 0 ;
3463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3467 wxButton
*result
= 0 ;
3472 bool temp3
= false ;
3479 bool temp8
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 PyObject
* obj7
= 0 ;
3488 char * kwnames
[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3500 if (!SWIG_IsOK(ecode2
)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 arg2
= static_cast< int >(val2
);
3507 arg3
= wxString_in_helper(obj2
);
3508 if (arg3
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3526 if (!SWIG_IsOK(ecode6
)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 arg6
= static_cast< long >(val6
);
3532 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3533 if (!SWIG_IsOK(res7
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3543 arg8
= wxString_in_helper(obj7
);
3544 if (arg8
== NULL
) SWIG_fail
;
3549 if (!wxPyCheckForApp()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3578 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxButton
*result
= 0 ;
3582 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3584 if (!wxPyCheckForApp()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxButton
*)new wxButton();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3597 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxButton
*arg1
= (wxButton
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 int arg3
= (int) -1 ;
3602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3608 long arg7
= (long) 0 ;
3609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3611 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3620 bool temp4
= false ;
3627 bool temp9
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 PyObject
* obj7
= 0 ;
3636 PyObject
* obj8
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3648 if (!SWIG_IsOK(res2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3654 if (!SWIG_IsOK(ecode3
)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 arg3
= static_cast< int >(val3
);
3661 arg4
= wxString_in_helper(obj3
);
3662 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3679 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3680 if (!SWIG_IsOK(ecode7
)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 arg7
= static_cast< long >(val7
);
3686 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3687 if (!SWIG_IsOK(res8
)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3733 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxButton
*arg1
= (wxButton
*) 0 ;
3738 PyObject
*swig_obj
[1] ;
3740 if (!args
) SWIG_fail
;
3742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3743 if (!SWIG_IsOK(res1
)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3746 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetDefault();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_Py_Void();
3760 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 PyObject
*resultobj
= 0;
3764 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= wxButton::GetDefaultSize();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3778 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3781 SwigValueWrapper
<wxVisualAttributes
> result
;
3784 PyObject
* obj0
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "variant", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3792 if (!SWIG_IsOK(ecode1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3795 arg1
= static_cast< wxWindowVariant
>(val1
);
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= wxButton::GetClassDefaultAttributes(arg1
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3811 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3814 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3815 return SWIG_Py_Void();
3818 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3819 return SWIG_Python_InitShadowInstance(args
);
3822 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
= 0;
3824 wxWindow
*arg1
= (wxWindow
*) 0 ;
3825 int arg2
= (int) -1 ;
3826 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3827 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3832 long arg6
= (long) wxBU_AUTODRAW
;
3833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3835 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3837 wxBitmapButton
*result
= 0 ;
3850 bool temp8
= false ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3853 PyObject
* obj2
= 0 ;
3854 PyObject
* obj3
= 0 ;
3855 PyObject
* obj4
= 0 ;
3856 PyObject
* obj5
= 0 ;
3857 PyObject
* obj6
= 0 ;
3858 PyObject
* obj7
= 0 ;
3859 char * kwnames
[] = {
3860 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3865 if (!SWIG_IsOK(res1
)) {
3866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3871 if (!SWIG_IsOK(ecode2
)) {
3872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3874 arg2
= static_cast< int >(val2
);
3877 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3878 if (!SWIG_IsOK(res3
)) {
3879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3900 if (!SWIG_IsOK(ecode6
)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3903 arg6
= static_cast< long >(val6
);
3906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3907 if (!SWIG_IsOK(res7
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3917 arg8
= wxString_in_helper(obj7
);
3918 if (arg8
== NULL
) SWIG_fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3944 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxBitmapButton
*result
= 0 ;
3948 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3950 if (!wxPyCheckForApp()) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (wxBitmapButton
*)new wxBitmapButton();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3963 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
= 0;
3965 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3966 wxWindow
*arg2
= (wxWindow
*) 0 ;
3967 int arg3
= (int) -1 ;
3968 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3969 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3974 long arg7
= (long) wxBU_AUTODRAW
;
3975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3977 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3994 bool temp9
= false ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3997 PyObject
* obj2
= 0 ;
3998 PyObject
* obj3
= 0 ;
3999 PyObject
* obj4
= 0 ;
4000 PyObject
* obj5
= 0 ;
4001 PyObject
* obj6
= 0 ;
4002 PyObject
* obj7
= 0 ;
4003 PyObject
* obj8
= 0 ;
4004 char * kwnames
[] = {
4005 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4010 if (!SWIG_IsOK(res1
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4013 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4015 if (!SWIG_IsOK(res2
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4021 if (!SWIG_IsOK(ecode3
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4024 arg3
= static_cast< int >(val3
);
4027 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4028 if (!SWIG_IsOK(res4
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4049 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4050 if (!SWIG_IsOK(ecode7
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4053 arg7
= static_cast< long >(val7
);
4056 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4057 if (!SWIG_IsOK(res8
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4067 arg9
= wxString_in_helper(obj8
);
4068 if (arg9
== NULL
) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4095 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 PyObject
*resultobj
= 0;
4097 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4101 PyObject
*swig_obj
[1] ;
4103 if (!args
) SWIG_fail
;
4105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4106 if (!SWIG_IsOK(res1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (arg1
)->GetBitmapLabel();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4123 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4124 PyObject
*resultobj
= 0;
4125 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4129 PyObject
*swig_obj
[1] ;
4131 if (!args
) SWIG_fail
;
4133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4134 if (!SWIG_IsOK(res1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (arg1
)->GetBitmapDisabled();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4151 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4152 PyObject
*resultobj
= 0;
4153 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 PyObject
*swig_obj
[1] ;
4159 if (!args
) SWIG_fail
;
4161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4162 if (!SWIG_IsOK(res1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (arg1
)->GetBitmapFocus();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4179 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4180 PyObject
*resultobj
= 0;
4181 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4185 PyObject
*swig_obj
[1] ;
4187 if (!args
) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4193 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (arg1
)->GetBitmapSelected();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4207 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4213 PyObject
*swig_obj
[1] ;
4215 if (!args
) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (arg1
)->GetBitmapHover();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4235 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4238 wxBitmap
*arg2
= 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "bitmap", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4254 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4256 if (!SWIG_IsOK(res2
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_Py_Void();
4276 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
= 0;
4278 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4279 wxBitmap
*arg2
= 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4286 char * kwnames
[] = {
4287 (char *) "self",(char *) "bitmap", NULL
4290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4295 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4297 if (!SWIG_IsOK(res2
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_Py_Void();
4317 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4320 wxBitmap
*arg2
= 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 char * kwnames
[] = {
4328 (char *) "self",(char *) "bitmap", NULL
4331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4336 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4338 if (!SWIG_IsOK(res2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_Py_Void();
4358 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4361 wxBitmap
*arg2
= 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "bitmap", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4377 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4379 if (!SWIG_IsOK(res2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= SWIG_Py_Void();
4399 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= 0;
4401 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4402 wxBitmap
*arg2
= 0 ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "hover", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4420 if (!SWIG_IsOK(res2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 PyObject
* obj2
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "self",(char *) "x",(char *) "y", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4463 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4465 if (!SWIG_IsOK(ecode2
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4468 arg2
= static_cast< int >(val2
);
4469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4470 if (!SWIG_IsOK(ecode3
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4473 arg3
= static_cast< int >(val3
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetMargins(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 PyObject
*resultobj
= 0;
4489 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4493 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4501 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_From_int(static_cast< int >(result
));
4515 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4521 PyObject
*swig_obj
[1] ;
4523 if (!args
) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4529 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_From_int(static_cast< int >(result
));
4543 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4546 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4547 return SWIG_Py_Void();
4550 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 return SWIG_Python_InitShadowInstance(args
);
4554 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4555 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4560 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4561 PyObject
*pyobj
= 0;
4565 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4567 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4574 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxWindow
*arg1
= (wxWindow
*) 0 ;
4577 int arg2
= (int) -1 ;
4578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) 0 ;
4585 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4586 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4587 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4588 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4589 wxCheckBox
*result
= 0 ;
4594 bool temp3
= false ;
4601 bool temp8
= false ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 PyObject
* obj2
= 0 ;
4605 PyObject
* obj3
= 0 ;
4606 PyObject
* obj4
= 0 ;
4607 PyObject
* obj5
= 0 ;
4608 PyObject
* obj6
= 0 ;
4609 PyObject
* obj7
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4622 if (!SWIG_IsOK(ecode2
)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4625 arg2
= static_cast< int >(val2
);
4629 arg3
= wxString_in_helper(obj2
);
4630 if (arg3
== NULL
) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4648 if (!SWIG_IsOK(ecode6
)) {
4649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4651 arg6
= static_cast< long >(val6
);
4654 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4655 if (!SWIG_IsOK(res7
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4665 arg8
= wxString_in_helper(obj7
);
4666 if (arg8
== NULL
) SWIG_fail
;
4671 if (!wxPyCheckForApp()) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4700 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxCheckBox
*result
= 0 ;
4704 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4706 if (!wxPyCheckForApp()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (wxCheckBox
*)new wxCheckBox();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4719 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
= 0;
4721 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4722 wxWindow
*arg2
= (wxWindow
*) 0 ;
4723 int arg3
= (int) -1 ;
4724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4730 long arg7
= (long) 0 ;
4731 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4732 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4733 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4734 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4742 bool temp4
= false ;
4749 bool temp9
= false ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4753 PyObject
* obj3
= 0 ;
4754 PyObject
* obj4
= 0 ;
4755 PyObject
* obj5
= 0 ;
4756 PyObject
* obj6
= 0 ;
4757 PyObject
* obj7
= 0 ;
4758 PyObject
* obj8
= 0 ;
4759 char * kwnames
[] = {
4760 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4765 if (!SWIG_IsOK(res1
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4768 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res2
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4776 if (!SWIG_IsOK(ecode3
)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4779 arg3
= static_cast< int >(val3
);
4783 arg4
= wxString_in_helper(obj3
);
4784 if (arg4
== NULL
) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4801 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4802 if (!SWIG_IsOK(ecode7
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4805 arg7
= static_cast< long >(val7
);
4808 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4809 if (!SWIG_IsOK(res8
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4819 arg9
= wxString_in_helper(obj8
);
4820 if (arg9
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4855 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 PyObject
*resultobj
= 0;
4857 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4861 PyObject
*swig_obj
[1] ;
4863 if (!args
) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4869 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (bool)(arg1
)->GetValue();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4885 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4886 PyObject
*resultobj
= 0;
4887 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4891 PyObject
*swig_obj
[1] ;
4893 if (!args
) SWIG_fail
;
4895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4896 if (!SWIG_IsOK(res1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4899 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (bool)(arg1
)->IsChecked();
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4915 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4925 char * kwnames
[] = {
4926 (char *) "self",(char *) "state", NULL
4929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4931 if (!SWIG_IsOK(res1
)) {
4932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4934 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4936 if (!SWIG_IsOK(ecode2
)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4939 arg2
= static_cast< bool >(val2
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->SetValue(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_Py_Void();
4953 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4954 PyObject
*resultobj
= 0;
4955 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4956 wxCheckBoxState result
;
4959 PyObject
*swig_obj
[1] ;
4961 if (!args
) SWIG_fail
;
4963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4964 if (!SWIG_IsOK(res1
)) {
4965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4967 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int(static_cast< int >(result
));
4981 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
= 0;
4983 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4984 wxCheckBoxState arg2
;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 char * kwnames
[] = {
4992 (char *) "self",(char *) "state", NULL
4995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5000 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5002 if (!SWIG_IsOK(ecode2
)) {
5003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5005 arg2
= static_cast< wxCheckBoxState
>(val2
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->Set3StateValue(arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5020 PyObject
*resultobj
= 0;
5021 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5025 PyObject
*swig_obj
[1] ;
5027 if (!args
) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5033 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5063 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5079 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5082 SwigValueWrapper
<wxVisualAttributes
> result
;
5085 PyObject
* obj0
= 0 ;
5086 char * kwnames
[] = {
5087 (char *) "variant", NULL
5090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5093 if (!SWIG_IsOK(ecode1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5096 arg1
= static_cast< wxWindowVariant
>(val1
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5112 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5115 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5116 return SWIG_Py_Void();
5119 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 return SWIG_Python_InitShadowInstance(args
);
5123 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5124 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5129 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5130 PyObject
*pyobj
= 0;
5134 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5136 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5143 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxWindow
*arg1
= (wxWindow
*) 0 ;
5146 int arg2
= (int) -1 ;
5147 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5148 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5151 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5152 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5153 long arg6
= (long) 0 ;
5154 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5155 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5156 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5158 wxChoice
*result
= 0 ;
5165 bool temp5
= false ;
5170 bool temp8
= false ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5173 PyObject
* obj2
= 0 ;
5174 PyObject
* obj3
= 0 ;
5175 PyObject
* obj4
= 0 ;
5176 PyObject
* obj5
= 0 ;
5177 PyObject
* obj6
= 0 ;
5178 PyObject
* obj7
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5191 if (!SWIG_IsOK(ecode2
)) {
5192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5194 arg2
= static_cast< int >(val2
);
5199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5210 if (! PySequence_Check(obj4
)) {
5211 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5214 arg5
= new wxArrayString
;
5216 int i
, len
=PySequence_Length(obj4
);
5217 for (i
=0; i
<len
; i
++) {
5218 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5219 wxString
* s
= wxString_in_helper(item
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5228 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5229 if (!SWIG_IsOK(ecode6
)) {
5230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5232 arg6
= static_cast< long >(val6
);
5235 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5236 if (!SWIG_IsOK(res7
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 if (!wxPyCheckForApp()) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5260 if (temp5
) delete arg5
;
5269 if (temp5
) delete arg5
;
5279 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxChoice
*result
= 0 ;
5283 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5285 if (!wxPyCheckForApp()) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (wxChoice
*)new wxChoice();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5298 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= 0;
5300 wxChoice
*arg1
= (wxChoice
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5307 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5308 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5311 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5312 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5313 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5323 bool temp6
= false ;
5328 bool temp9
= false ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5333 PyObject
* obj4
= 0 ;
5334 PyObject
* obj5
= 0 ;
5335 PyObject
* obj6
= 0 ;
5336 PyObject
* obj7
= 0 ;
5337 PyObject
* obj8
= 0 ;
5338 char * kwnames
[] = {
5339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5344 if (!SWIG_IsOK(res1
)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5347 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5349 if (!SWIG_IsOK(res2
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5355 if (!SWIG_IsOK(ecode3
)) {
5356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5358 arg3
= static_cast< int >(val3
);
5363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5374 if (! PySequence_Check(obj5
)) {
5375 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5378 arg6
= new wxArrayString
;
5380 int i
, len
=PySequence_Length(obj5
);
5381 for (i
=0; i
<len
; i
++) {
5382 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5383 wxString
* s
= wxString_in_helper(item
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5393 if (!SWIG_IsOK(ecode7
)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5396 arg7
= static_cast< long >(val7
);
5399 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5400 if (!SWIG_IsOK(res8
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5410 arg9
= wxString_in_helper(obj8
);
5411 if (arg9
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5425 if (temp6
) delete arg6
;
5434 if (temp6
) delete arg6
;
5444 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5445 PyObject
*resultobj
= 0;
5446 wxChoice
*arg1
= (wxChoice
*) 0 ;
5450 PyObject
*swig_obj
[1] ;
5452 if (!args
) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5458 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_int(static_cast< int >(result
));
5472 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
= 0;
5474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5475 SwigValueWrapper
<wxVisualAttributes
> result
;
5478 PyObject
* obj0
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "variant", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5486 if (!SWIG_IsOK(ecode1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5489 arg1
= static_cast< wxWindowVariant
>(val1
);
5492 if (!wxPyCheckForApp()) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5505 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5508 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5509 return SWIG_Py_Void();
5512 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5513 return SWIG_Python_InitShadowInstance(args
);
5516 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5517 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5522 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5523 PyObject
*pyobj
= 0;
5527 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5529 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5536 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxWindow
*arg1
= (wxWindow
*) 0 ;
5539 int arg2
= (int) -1 ;
5540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5546 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5547 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5548 long arg7
= (long) 0 ;
5549 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5550 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5551 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5552 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5553 wxComboBox
*result
= 0 ;
5558 bool temp3
= false ;
5561 bool temp6
= false ;
5566 bool temp9
= false ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5571 PyObject
* obj4
= 0 ;
5572 PyObject
* obj5
= 0 ;
5573 PyObject
* obj6
= 0 ;
5574 PyObject
* obj7
= 0 ;
5575 PyObject
* obj8
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5588 if (!SWIG_IsOK(ecode2
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5591 arg2
= static_cast< int >(val2
);
5595 arg3
= wxString_in_helper(obj2
);
5596 if (arg3
== NULL
) SWIG_fail
;
5603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5614 if (! PySequence_Check(obj5
)) {
5615 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5618 arg6
= new wxArrayString
;
5620 int i
, len
=PySequence_Length(obj5
);
5621 for (i
=0; i
<len
; i
++) {
5622 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5623 wxString
* s
= wxString_in_helper(item
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5633 if (!SWIG_IsOK(ecode7
)) {
5634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5636 arg7
= static_cast< long >(val7
);
5639 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5640 if (!SWIG_IsOK(res8
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5650 arg9
= wxString_in_helper(obj8
);
5651 if (arg9
== NULL
) SWIG_fail
;
5656 if (!wxPyCheckForApp()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 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
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5668 if (temp6
) delete arg6
;
5681 if (temp6
) delete arg6
;
5691 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 PyObject
*resultobj
= 0;
5693 wxComboBox
*result
= 0 ;
5695 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxComboBox
*)new wxComboBox();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5710 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5713 wxWindow
*arg2
= (wxWindow
*) 0 ;
5714 int arg3
= (int) -1 ;
5715 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5717 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5718 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5719 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5720 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5721 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5722 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5723 long arg8
= (long) 0 ;
5724 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5725 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5726 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5735 bool temp4
= false ;
5738 bool temp7
= false ;
5743 bool temp10
= false ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5748 PyObject
* obj4
= 0 ;
5749 PyObject
* obj5
= 0 ;
5750 PyObject
* obj6
= 0 ;
5751 PyObject
* obj7
= 0 ;
5752 PyObject
* obj8
= 0 ;
5753 PyObject
* obj9
= 0 ;
5754 char * kwnames
[] = {
5755 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5763 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res2
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5771 if (!SWIG_IsOK(ecode3
)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5774 arg3
= static_cast< int >(val3
);
5778 arg4
= wxString_in_helper(obj3
);
5779 if (arg4
== NULL
) SWIG_fail
;
5786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5797 if (! PySequence_Check(obj6
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg7
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj6
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5806 wxString
* s
= wxString_in_helper(item
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5815 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5816 if (!SWIG_IsOK(ecode8
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5819 arg8
= static_cast< long >(val8
);
5822 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5823 if (!SWIG_IsOK(res9
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5833 arg10
= wxString_in_helper(obj9
);
5834 if (arg10
== NULL
) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 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
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5852 if (temp7
) delete arg7
;
5865 if (temp7
) delete arg7
;
5875 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5876 PyObject
*resultobj
= 0;
5877 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5881 PyObject
*swig_obj
[1] ;
5883 if (!args
) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5889 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= ((wxComboBox
const *)arg1
)->GetValue();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5909 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= 0;
5911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 wxString
*arg2
= 0 ;
5915 bool temp2
= false ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "value", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5927 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5929 arg2
= wxString_in_helper(obj1
);
5930 if (arg2
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetValue((wxString
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(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_Copy" "', 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_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5986 PyObject
*swig_obj
[1] ;
5988 if (!args
) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5994 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_Py_Void();
6008 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6009 PyObject
*resultobj
= 0;
6010 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6013 PyObject
*swig_obj
[1] ;
6015 if (!args
) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6021 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_Py_Void();
6035 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= 0;
6037 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 char * kwnames
[] = {
6046 (char *) "self",(char *) "pos", NULL
6049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6054 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6056 if (!SWIG_IsOK(ecode2
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6059 arg2
= static_cast< long >(val2
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->SetInsertionPoint(arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_Py_Void();
6073 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6074 PyObject
*resultobj
= 0;
6075 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 PyObject
*swig_obj
[1] ;
6081 if (!args
) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6087 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_From_long(static_cast< long >(result
));
6101 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6115 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_From_long(static_cast< long >(result
));
6129 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6134 wxString
*arg4
= 0 ;
6141 bool temp4
= false ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6155 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6157 if (!SWIG_IsOK(ecode2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6160 arg2
= static_cast< long >(val2
);
6161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6162 if (!SWIG_IsOK(ecode3
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6165 arg3
= static_cast< long >(val3
);
6167 arg4
= wxString_in_helper(obj3
);
6168 if (arg4
== NULL
) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6192 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= 0;
6194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "from",(char *) "to", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6217 if (!SWIG_IsOK(ecode2
)) {
6218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6220 arg2
= static_cast< long >(val2
);
6221 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6222 if (!SWIG_IsOK(ecode3
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6225 arg3
= static_cast< long >(val3
);
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->SetSelection(arg2
,arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_Py_Void();
6239 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 long *arg2
= (long *) 0 ;
6243 long *arg3
= (long *) 0 ;
6247 int res2
= SWIG_TMPOBJ
;
6249 int res3
= SWIG_TMPOBJ
;
6250 PyObject
*swig_obj
[1] ;
6254 if (!args
) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6260 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 (arg1
)->GetSelection(arg2
,arg3
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6268 if (SWIG_IsTmpObj(res2
)) {
6269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6271 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6274 if (SWIG_IsTmpObj(res3
)) {
6275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6286 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6292 PyObject
*swig_obj
[1] ;
6294 if (!args
) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6300 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_From_int(static_cast< int >(result
));
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6317 wxString
*arg2
= 0 ;
6321 bool temp2
= false ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "string", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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
int StaticLineNameStr_set(PyObject
*) {
7490 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7495 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7496 PyObject
*pyobj
= 0;
7500 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7502 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7509 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxWindow
*arg1
= (wxWindow
*) 0 ;
7512 int arg2
= (int) -1 ;
7513 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7514 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7519 long arg6
= (long) 0 ;
7520 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7522 wxStaticBox
*result
= 0 ;
7527 bool temp3
= false ;
7532 bool temp7
= false ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7538 PyObject
* obj5
= 0 ;
7539 PyObject
* obj6
= 0 ;
7540 char * kwnames
[] = {
7541 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7546 if (!SWIG_IsOK(res1
)) {
7547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7552 if (!SWIG_IsOK(ecode2
)) {
7553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7555 arg2
= static_cast< int >(val2
);
7559 arg3
= wxString_in_helper(obj2
);
7560 if (arg3
== NULL
) SWIG_fail
;
7567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7578 if (!SWIG_IsOK(ecode6
)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7581 arg6
= static_cast< long >(val6
);
7585 arg7
= wxString_in_helper(obj6
);
7586 if (arg7
== NULL
) SWIG_fail
;
7591 if (!wxPyCheckForApp()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7620 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7621 PyObject
*resultobj
= 0;
7622 wxStaticBox
*result
= 0 ;
7624 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7626 if (!wxPyCheckForApp()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxStaticBox
*)new wxStaticBox();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7639 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7642 wxWindow
*arg2
= (wxWindow
*) 0 ;
7643 int arg3
= (int) -1 ;
7644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7650 long arg7
= (long) 0 ;
7651 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7660 bool temp4
= false ;
7665 bool temp8
= false ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7668 PyObject
* obj2
= 0 ;
7669 PyObject
* obj3
= 0 ;
7670 PyObject
* obj4
= 0 ;
7671 PyObject
* obj5
= 0 ;
7672 PyObject
* obj6
= 0 ;
7673 PyObject
* obj7
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7683 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7685 if (!SWIG_IsOK(res2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7691 if (!SWIG_IsOK(ecode3
)) {
7692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7694 arg3
= static_cast< int >(val3
);
7698 arg4
= wxString_in_helper(obj3
);
7699 if (arg4
== NULL
) SWIG_fail
;
7706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7717 if (!SWIG_IsOK(ecode7
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7720 arg7
= static_cast< long >(val7
);
7724 arg8
= wxString_in_helper(obj7
);
7725 if (arg8
== NULL
) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7760 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7763 SwigValueWrapper
<wxVisualAttributes
> result
;
7766 PyObject
* obj0
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "variant", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7774 if (!SWIG_IsOK(ecode1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7777 arg1
= static_cast< wxWindowVariant
>(val1
);
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7793 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7797 return SWIG_Py_Void();
7800 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 return SWIG_Python_InitShadowInstance(args
);
7804 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxWindow
*arg1
= (wxWindow
*) 0 ;
7807 int arg2
= (int) -1 ;
7808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7812 long arg5
= (long) wxLI_HORIZONTAL
;
7813 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7814 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7815 wxStaticLine
*result
= 0 ;
7824 bool temp6
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7828 PyObject
* obj3
= 0 ;
7829 PyObject
* obj4
= 0 ;
7830 PyObject
* obj5
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7861 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7862 if (!SWIG_IsOK(ecode5
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7865 arg5
= static_cast< long >(val5
);
7869 arg6
= wxString_in_helper(obj5
);
7870 if (arg6
== NULL
) SWIG_fail
;
7875 if (!wxPyCheckForApp()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7896 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxStaticLine
*result
= 0 ;
7900 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7902 if (!wxPyCheckForApp()) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (wxStaticLine
*)new wxStaticLine();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7915 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
= 0;
7917 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7918 wxWindow
*arg2
= (wxWindow
*) 0 ;
7919 int arg3
= (int) -1 ;
7920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7924 long arg6
= (long) wxLI_HORIZONTAL
;
7925 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7938 bool temp7
= false ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7942 PyObject
* obj3
= 0 ;
7943 PyObject
* obj4
= 0 ;
7944 PyObject
* obj5
= 0 ;
7945 PyObject
* obj6
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7955 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7957 if (!SWIG_IsOK(res2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7963 if (!SWIG_IsOK(ecode3
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7966 arg3
= static_cast< int >(val3
);
7971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7981 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7982 if (!SWIG_IsOK(ecode6
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7985 arg6
= static_cast< long >(val6
);
7989 arg7
= wxString_in_helper(obj6
);
7990 if (arg7
== NULL
) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8017 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 PyObject
*resultobj
= 0;
8019 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8023 PyObject
*swig_obj
[1] ;
8025 if (!args
) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8031 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8047 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8051 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (int)wxStaticLine::GetDefaultSize();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_From_int(static_cast< int >(result
));
8065 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= 0;
8067 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8068 SwigValueWrapper
<wxVisualAttributes
> result
;
8071 PyObject
* obj0
= 0 ;
8072 char * kwnames
[] = {
8073 (char *) "variant", NULL
8076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8079 if (!SWIG_IsOK(ecode1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8082 arg1
= static_cast< wxWindowVariant
>(val1
);
8085 if (!wxPyCheckForApp()) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8098 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8101 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8102 return SWIG_Py_Void();
8105 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 return SWIG_Python_InitShadowInstance(args
);
8109 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
= 0;
8111 wxWindow
*arg1
= (wxWindow
*) 0 ;
8112 int arg2
= (int) -1 ;
8113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8119 long arg6
= (long) 0 ;
8120 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8122 wxStaticText
*result
= 0 ;
8127 bool temp3
= false ;
8132 bool temp7
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8137 PyObject
* obj4
= 0 ;
8138 PyObject
* obj5
= 0 ;
8139 PyObject
* obj6
= 0 ;
8140 char * kwnames
[] = {
8141 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8146 if (!SWIG_IsOK(res1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8152 if (!SWIG_IsOK(ecode2
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8155 arg2
= static_cast< int >(val2
);
8159 arg3
= wxString_in_helper(obj2
);
8160 if (arg3
== NULL
) SWIG_fail
;
8167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8178 if (!SWIG_IsOK(ecode6
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8181 arg6
= static_cast< long >(val6
);
8185 arg7
= wxString_in_helper(obj6
);
8186 if (arg7
== NULL
) SWIG_fail
;
8191 if (!wxPyCheckForApp()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8220 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 PyObject
*resultobj
= 0;
8222 wxStaticText
*result
= 0 ;
8224 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8226 if (!wxPyCheckForApp()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxStaticText
*)new wxStaticText();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8239 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8242 wxWindow
*arg2
= (wxWindow
*) 0 ;
8243 int arg3
= (int) -1 ;
8244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8246 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8247 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8248 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8249 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8250 long arg7
= (long) 0 ;
8251 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8260 bool temp4
= false ;
8265 bool temp8
= false ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 PyObject
* obj3
= 0 ;
8270 PyObject
* obj4
= 0 ;
8271 PyObject
* obj5
= 0 ;
8272 PyObject
* obj6
= 0 ;
8273 PyObject
* obj7
= 0 ;
8274 char * kwnames
[] = {
8275 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8283 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8285 if (!SWIG_IsOK(res2
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8288 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8291 if (!SWIG_IsOK(ecode3
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8294 arg3
= static_cast< int >(val3
);
8298 arg4
= wxString_in_helper(obj3
);
8299 if (arg4
== NULL
) SWIG_fail
;
8306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8312 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8316 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8317 if (!SWIG_IsOK(ecode7
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8320 arg7
= static_cast< long >(val7
);
8324 arg8
= wxString_in_helper(obj7
);
8325 if (arg8
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8360 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 char * kwnames
[] = {
8371 (char *) "self",(char *) "width", NULL
8374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8379 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8381 if (!SWIG_IsOK(ecode2
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8384 arg2
= static_cast< int >(val2
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_StaticText_IsEllipsized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 PyObject
*resultobj
= 0;
8400 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8404 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8412 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)((wxStaticText
const *)arg1
)->IsEllipsized();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8428 SWIGINTERN PyObject
*_wrap_StaticText_RemoveMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
= 0;
8430 wxString
*arg1
= 0 ;
8432 bool temp1
= false ;
8433 PyObject
* obj0
= 0 ;
8434 char * kwnames
[] = {
8435 (char *) "str", NULL
8438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_RemoveMarkup",kwnames
,&obj0
)) SWIG_fail
;
8440 arg1
= wxString_in_helper(obj0
);
8441 if (arg1
== NULL
) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= wxStaticText::RemoveMarkup((wxString
const &)*arg1
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8471 SWIGINTERN PyObject
*_wrap_StaticText_EscapeMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
= 0;
8473 wxString
*arg1
= 0 ;
8475 bool temp1
= false ;
8476 PyObject
* obj0
= 0 ;
8477 char * kwnames
[] = {
8478 (char *) "str", NULL
8481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_EscapeMarkup",kwnames
,&obj0
)) SWIG_fail
;
8483 arg1
= wxString_in_helper(obj0
);
8484 if (arg1
== NULL
) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= wxStaticText::EscapeMarkup((wxString
const &)*arg1
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8514 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
= 0;
8516 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8517 SwigValueWrapper
<wxVisualAttributes
> result
;
8520 PyObject
* obj0
= 0 ;
8521 char * kwnames
[] = {
8522 (char *) "variant", NULL
8525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8527 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8528 if (!SWIG_IsOK(ecode1
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8531 arg1
= static_cast< wxWindowVariant
>(val1
);
8534 if (!wxPyCheckForApp()) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8547 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8550 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8551 return SWIG_Py_Void();
8554 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8555 return SWIG_Python_InitShadowInstance(args
);
8558 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
= 0;
8560 wxWindow
*arg1
= (wxWindow
*) 0 ;
8561 int arg2
= (int) -1 ;
8562 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8563 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8568 long arg6
= (long) 0 ;
8569 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8571 wxStaticBitmap
*result
= 0 ;
8582 bool temp7
= false ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8586 PyObject
* obj3
= 0 ;
8587 PyObject
* obj4
= 0 ;
8588 PyObject
* obj5
= 0 ;
8589 PyObject
* obj6
= 0 ;
8590 char * kwnames
[] = {
8591 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8596 if (!SWIG_IsOK(res1
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8602 if (!SWIG_IsOK(ecode2
)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8605 arg2
= static_cast< int >(val2
);
8608 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8609 if (!SWIG_IsOK(res3
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8615 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8630 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8631 if (!SWIG_IsOK(ecode6
)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8634 arg6
= static_cast< long >(val6
);
8638 arg7
= wxString_in_helper(obj6
);
8639 if (arg7
== NULL
) SWIG_fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8665 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*result
= 0 ;
8669 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8671 if (!wxPyCheckForApp()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8687 wxWindow
*arg2
= (wxWindow
*) 0 ;
8688 int arg3
= (int) -1 ;
8689 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8690 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8691 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8692 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8693 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8694 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8695 long arg7
= (long) 0 ;
8696 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8711 bool temp8
= false ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 PyObject
* obj2
= 0 ;
8715 PyObject
* obj3
= 0 ;
8716 PyObject
* obj4
= 0 ;
8717 PyObject
* obj5
= 0 ;
8718 PyObject
* obj6
= 0 ;
8719 PyObject
* obj7
= 0 ;
8720 char * kwnames
[] = {
8721 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8729 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8731 if (!SWIG_IsOK(res2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8737 if (!SWIG_IsOK(ecode3
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8740 arg3
= static_cast< int >(val3
);
8743 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8744 if (!SWIG_IsOK(res4
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8750 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8755 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8761 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8765 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8766 if (!SWIG_IsOK(ecode7
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8769 arg7
= static_cast< long >(val7
);
8773 arg8
= wxString_in_helper(obj7
);
8774 if (arg8
== NULL
) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8801 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8802 PyObject
*resultobj
= 0;
8803 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8807 PyObject
*swig_obj
[1] ;
8809 if (!args
) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8815 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (arg1
)->GetBitmap();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8829 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8832 wxBitmap
*arg2
= 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "bitmap", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8848 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8850 if (!SWIG_IsOK(res2
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8856 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_Py_Void();
8870 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
= 0;
8872 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 char * kwnames
[] = {
8881 (char *) "self",(char *) "icon", NULL
8884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8886 if (!SWIG_IsOK(res1
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8889 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8891 if (!SWIG_IsOK(res2
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8897 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_Py_Void();
8911 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
= 0;
8913 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8914 SwigValueWrapper
<wxVisualAttributes
> result
;
8917 PyObject
* obj0
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "variant", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8925 if (!SWIG_IsOK(ecode1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8928 arg1
= static_cast< wxWindowVariant
>(val1
);
8931 if (!wxPyCheckForApp()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8944 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8947 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8948 return SWIG_Py_Void();
8951 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8952 return SWIG_Python_InitShadowInstance(args
);
8955 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8956 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8961 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8962 PyObject
*pyobj
= 0;
8966 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8968 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8975 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
= 0;
8977 wxWindow
*arg1
= (wxWindow
*) 0 ;
8978 int arg2
= (int) -1 ;
8979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8983 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8984 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8985 long arg6
= (long) 0 ;
8986 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8987 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8988 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8989 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8990 wxListBox
*result
= 0 ;
8997 bool temp5
= false ;
9002 bool temp8
= false ;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9005 PyObject
* obj2
= 0 ;
9006 PyObject
* obj3
= 0 ;
9007 PyObject
* obj4
= 0 ;
9008 PyObject
* obj5
= 0 ;
9009 PyObject
* obj6
= 0 ;
9010 PyObject
* obj7
= 0 ;
9011 char * kwnames
[] = {
9012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9023 if (!SWIG_IsOK(ecode2
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
9026 arg2
= static_cast< int >(val2
);
9031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9042 if (! PySequence_Check(obj4
)) {
9043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9046 arg5
= new wxArrayString
;
9048 int i
, len
=PySequence_Length(obj4
);
9049 for (i
=0; i
<len
; i
++) {
9050 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9051 wxString
* s
= wxString_in_helper(item
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9061 if (!SWIG_IsOK(ecode6
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9064 arg6
= static_cast< long >(val6
);
9067 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9068 if (!SWIG_IsOK(res7
)) {
9069 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9074 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9078 arg8
= wxString_in_helper(obj7
);
9079 if (arg8
== NULL
) SWIG_fail
;
9084 if (!wxPyCheckForApp()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
9092 if (temp5
) delete arg5
;
9101 if (temp5
) delete arg5
;
9111 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9112 PyObject
*resultobj
= 0;
9113 wxListBox
*result
= 0 ;
9115 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9117 if (!wxPyCheckForApp()) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (wxListBox
*)new wxListBox();
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9130 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
= 0;
9132 wxListBox
*arg1
= (wxListBox
*) 0 ;
9133 wxWindow
*arg2
= (wxWindow
*) 0 ;
9134 int arg3
= (int) -1 ;
9135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9139 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9140 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9141 long arg7
= (long) 0 ;
9142 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9143 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9144 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9145 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9155 bool temp6
= false ;
9160 bool temp9
= false ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9164 PyObject
* obj3
= 0 ;
9165 PyObject
* obj4
= 0 ;
9166 PyObject
* obj5
= 0 ;
9167 PyObject
* obj6
= 0 ;
9168 PyObject
* obj7
= 0 ;
9169 PyObject
* obj8
= 0 ;
9170 char * kwnames
[] = {
9171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9176 if (!SWIG_IsOK(res1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9179 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9181 if (!SWIG_IsOK(res2
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9187 if (!SWIG_IsOK(ecode3
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9190 arg3
= static_cast< int >(val3
);
9195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9206 if (! PySequence_Check(obj5
)) {
9207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9210 arg6
= new wxArrayString
;
9212 int i
, len
=PySequence_Length(obj5
);
9213 for (i
=0; i
<len
; i
++) {
9214 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9215 wxString
* s
= wxString_in_helper(item
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9225 if (!SWIG_IsOK(ecode7
)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9228 arg7
= static_cast< long >(val7
);
9231 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9232 if (!SWIG_IsOK(res8
)) {
9233 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9238 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9242 arg9
= wxString_in_helper(obj8
);
9243 if (arg9
== NULL
) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9257 if (temp6
) delete arg6
;
9266 if (temp6
) delete arg6
;
9276 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxListBox
*arg1
= (wxListBox
*) 0 ;
9279 wxString
*arg2
= 0 ;
9281 PyObject
*arg4
= (PyObject
*) NULL
;
9284 bool temp2
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 PyObject
* obj3
= 0 ;
9291 char * kwnames
[] = {
9292 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9300 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9307 if (!SWIG_IsOK(ecode3
)) {
9308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9310 arg3
= static_cast< int >(val3
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_Py_Void();
9335 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
= 0;
9337 wxListBox
*arg1
= (wxListBox
*) 0 ;
9338 wxArrayString
*arg2
= 0 ;
9342 bool temp2
= false ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "items",(char *) "pos", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9357 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9359 if (! PySequence_Check(obj1
)) {
9360 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9363 arg2
= new wxArrayString
;
9365 int i
, len
=PySequence_Length(obj1
);
9366 for (i
=0; i
<len
; i
++) {
9367 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9368 wxString
* s
= wxString_in_helper(item
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9375 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9376 if (!SWIG_IsOK(ecode3
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9379 arg3
= static_cast< unsigned int >(val3
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_Py_Void();
9388 if (temp2
) delete arg2
;
9393 if (temp2
) delete arg2
;
9399 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9402 wxArrayString
*arg2
= 0 ;
9405 bool temp2
= false ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 char * kwnames
[] = {
9409 (char *) "self",(char *) "items", NULL
9412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9414 if (!SWIG_IsOK(res1
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9417 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 if (! PySequence_Check(obj1
)) {
9420 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9423 arg2
= new wxArrayString
;
9425 int i
, len
=PySequence_Length(obj1
);
9426 for (i
=0; i
<len
; i
++) {
9427 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9428 wxString
* s
= wxString_in_helper(item
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->Set((wxArrayString
const &)*arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_Py_Void();
9443 if (temp2
) delete arg2
;
9448 if (temp2
) delete arg2
;
9454 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
= 0;
9456 wxListBox
*arg1
= (wxListBox
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 char * kwnames
[] = {
9466 (char *) "self",(char *) "n", NULL
9469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9474 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9476 if (!SWIG_IsOK(ecode2
)) {
9477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9479 arg2
= static_cast< int >(val2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxListBox
*arg1
= (wxListBox
*) 0 ;
9499 bool arg3
= (bool) true ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "n",(char *) "select", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9526 if (!SWIG_IsOK(ecode3
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9529 arg3
= static_cast< bool >(val3
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->SetSelection(arg2
,arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_Py_Void();
9544 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxListBox
*arg1
= (wxListBox
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9554 char * kwnames
[] = {
9555 (char *) "self",(char *) "n", NULL
9558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9560 if (!SWIG_IsOK(res1
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9563 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9565 if (!SWIG_IsOK(ecode2
)) {
9566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9568 arg2
= static_cast< int >(val2
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 (arg1
)->Select(arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_Py_Void();
9582 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
= 0;
9584 wxListBox
*arg1
= (wxListBox
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "self",(char *) "n", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->Deselect(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9623 int arg2
= (int) -1 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "itemToLeaveSelected", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9642 if (!SWIG_IsOK(ecode2
)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9645 arg2
= static_cast< int >(val2
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->DeselectAll(arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_Py_Void();
9660 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
= 0;
9662 wxListBox
*arg1
= (wxListBox
*) 0 ;
9663 wxString
*arg2
= 0 ;
9664 bool arg3
= (bool) true ;
9668 bool temp2
= false ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 PyObject
* obj2
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "s",(char *) "select", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9683 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9685 arg2
= wxString_in_helper(obj1
);
9686 if (arg2
== NULL
) SWIG_fail
;
9690 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9691 if (!SWIG_IsOK(ecode3
)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9694 arg3
= static_cast< bool >(val3
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxListBox
*arg1
= (wxListBox
*) 0 ;
9722 PyObject
*result
= 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9733 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9747 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= 0;
9749 wxListBox
*arg1
= (wxListBox
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "n", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9766 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9768 if (!SWIG_IsOK(ecode2
)) {
9769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9771 arg2
= static_cast< int >(val2
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 (arg1
)->SetFirstItem(arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_Py_Void();
9785 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
= 0;
9787 wxListBox
*arg1
= (wxListBox
*) 0 ;
9788 wxString
*arg2
= 0 ;
9791 bool temp2
= false ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 char * kwnames
[] = {
9795 (char *) "self",(char *) "s", NULL
9798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9800 if (!SWIG_IsOK(res1
)) {
9801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9803 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9805 arg2
= wxString_in_helper(obj1
);
9806 if (arg2
== NULL
) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_Py_Void();
9830 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
= 0;
9832 wxListBox
*arg1
= (wxListBox
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9839 PyObject
* obj1
= 0 ;
9840 char * kwnames
[] = {
9841 (char *) "self",(char *) "n", NULL
9844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9846 if (!SWIG_IsOK(res1
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9849 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9851 if (!SWIG_IsOK(ecode2
)) {
9852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9854 arg2
= static_cast< int >(val2
);
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 (arg1
)->EnsureVisible(arg2
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_Py_Void();
9868 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= 0;
9870 wxListBox
*arg1
= (wxListBox
*) 0 ;
9871 wxString
*arg2
= 0 ;
9874 bool temp2
= false ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "s", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9888 arg2
= wxString_in_helper(obj1
);
9889 if (arg2
== NULL
) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_Py_Void();
9913 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 PyObject
*resultobj
= 0;
9915 wxListBox
*arg1
= (wxListBox
*) 0 ;
9919 PyObject
*swig_obj
[1] ;
9921 if (!args
) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9927 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9943 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
= 0;
9945 wxListBox
*arg1
= (wxListBox
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9953 char * kwnames
[] = {
9954 (char *) "self",(char *) "pt", NULL
9957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9962 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_From_int(static_cast< int >(result
));
9980 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
= 0;
9982 wxListBox
*arg1
= (wxListBox
*) 0 ;
9984 wxColour
*arg3
= 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 PyObject
* obj2
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "self",(char *) "item",(char *) "c", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10002 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10004 if (!SWIG_IsOK(ecode2
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
10007 arg2
= static_cast< int >(val2
);
10010 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_Py_Void();
10025 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
= 0;
10027 wxListBox
*arg1
= (wxListBox
*) 0 ;
10029 wxColour
*arg3
= 0 ;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 PyObject
* obj2
= 0 ;
10038 char * kwnames
[] = {
10039 (char *) "self",(char *) "item",(char *) "c", NULL
10042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10044 if (!SWIG_IsOK(res1
)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10047 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10049 if (!SWIG_IsOK(ecode2
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10052 arg2
= static_cast< int >(val2
);
10055 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_Py_Void();
10070 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
= 0;
10072 wxListBox
*arg1
= (wxListBox
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 PyObject
* obj2
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "item",(char *) "f", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10093 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10099 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10100 if (!SWIG_IsOK(res3
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10106 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_Py_Void();
10120 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
= 0;
10122 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10123 SwigValueWrapper
<wxVisualAttributes
> result
;
10126 PyObject
* obj0
= 0 ;
10127 char * kwnames
[] = {
10128 (char *) "variant", NULL
10131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10134 if (!SWIG_IsOK(ecode1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10137 arg1
= static_cast< wxWindowVariant
>(val1
);
10140 if (!wxPyCheckForApp()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10153 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10156 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10157 return SWIG_Py_Void();
10160 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 return SWIG_Python_InitShadowInstance(args
);
10164 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
= 0;
10166 wxWindow
*arg1
= (wxWindow
*) 0 ;
10167 int arg2
= (int) -1 ;
10168 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10169 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10170 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10171 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10172 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10173 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10174 long arg6
= (long) 0 ;
10175 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10176 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10177 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10179 wxCheckListBox
*result
= 0 ;
10186 bool temp5
= false ;
10191 bool temp8
= false ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 PyObject
* obj3
= 0 ;
10196 PyObject
* obj4
= 0 ;
10197 PyObject
* obj5
= 0 ;
10198 PyObject
* obj6
= 0 ;
10199 PyObject
* obj7
= 0 ;
10200 char * kwnames
[] = {
10201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10212 if (!SWIG_IsOK(ecode2
)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10215 arg2
= static_cast< int >(val2
);
10220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10226 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10231 if (! PySequence_Check(obj4
)) {
10232 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10235 arg5
= new wxArrayString
;
10237 int i
, len
=PySequence_Length(obj4
);
10238 for (i
=0; i
<len
; i
++) {
10239 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10240 wxString
* s
= wxString_in_helper(item
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10249 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10250 if (!SWIG_IsOK(ecode6
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10253 arg6
= static_cast< long >(val6
);
10256 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10257 if (!SWIG_IsOK(res7
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10263 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10267 arg8
= wxString_in_helper(obj7
);
10268 if (arg8
== NULL
) SWIG_fail
;
10273 if (!wxPyCheckForApp()) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10281 if (temp5
) delete arg5
;
10290 if (temp5
) delete arg5
;
10300 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10301 PyObject
*resultobj
= 0;
10302 wxCheckListBox
*result
= 0 ;
10304 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10306 if (!wxPyCheckForApp()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (wxCheckListBox
*)new wxCheckListBox();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10319 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10322 wxWindow
*arg2
= (wxWindow
*) 0 ;
10323 int arg3
= (int) -1 ;
10324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10328 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10329 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10330 long arg7
= (long) 0 ;
10331 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10332 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10333 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10334 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10344 bool temp6
= false ;
10349 bool temp9
= false ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 PyObject
* obj4
= 0 ;
10355 PyObject
* obj5
= 0 ;
10356 PyObject
* obj6
= 0 ;
10357 PyObject
* obj7
= 0 ;
10358 PyObject
* obj8
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10370 if (!SWIG_IsOK(res2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10376 if (!SWIG_IsOK(ecode3
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10379 arg3
= static_cast< int >(val3
);
10384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10395 if (! PySequence_Check(obj5
)) {
10396 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10399 arg6
= new wxArrayString
;
10401 int i
, len
=PySequence_Length(obj5
);
10402 for (i
=0; i
<len
; i
++) {
10403 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10404 wxString
* s
= wxString_in_helper(item
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10413 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10414 if (!SWIG_IsOK(ecode7
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10417 arg7
= static_cast< long >(val7
);
10420 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10421 if (!SWIG_IsOK(res8
)) {
10422 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10427 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10431 arg9
= wxString_in_helper(obj8
);
10432 if (arg9
== NULL
) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10446 if (temp6
) delete arg6
;
10455 if (temp6
) delete arg6
;
10465 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
= 0;
10467 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10468 unsigned int arg2
;
10472 unsigned int val2
;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 char * kwnames
[] = {
10477 (char *) "self",(char *) "index", NULL
10480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10482 if (!SWIG_IsOK(res1
)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10485 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10486 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10487 if (!SWIG_IsOK(ecode2
)) {
10488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10490 arg2
= static_cast< unsigned int >(val2
);
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)(arg1
)->IsChecked(arg2
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
= 0;
10508 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10509 unsigned int arg2
;
10510 int arg3
= (int) true ;
10513 unsigned int val2
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 char * kwnames
[] = {
10521 (char *) "self",(char *) "index",(char *) "check", NULL
10524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10529 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10530 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10531 if (!SWIG_IsOK(ecode2
)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10534 arg2
= static_cast< unsigned int >(val2
);
10536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10537 if (!SWIG_IsOK(ecode3
)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10540 arg3
= static_cast< int >(val3
);
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 (arg1
)->Check(arg2
,arg3
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_Py_Void();
10555 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10556 PyObject
*resultobj
= 0;
10557 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10561 PyObject
*swig_obj
[1] ;
10563 if (!args
) SWIG_fail
;
10564 swig_obj
[0] = args
;
10565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10569 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (int)(arg1
)->GetItemHeight();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_From_int(static_cast< int >(result
));
10583 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10586 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10587 return SWIG_Py_Void();
10590 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 return SWIG_Python_InitShadowInstance(args
);
10594 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10595 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10600 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10601 PyObject
*pyobj
= 0;
10605 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10607 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10614 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxColour
const &arg1_defvalue
= wxNullColour
;
10617 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10618 wxColour
const &arg2_defvalue
= wxNullColour
;
10619 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10620 wxFont
const &arg3_defvalue
= wxNullFont
;
10621 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10622 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10623 wxTextAttr
*result
= 0 ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 PyObject
* obj2
= 0 ;
10633 PyObject
* obj3
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10642 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10652 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10653 if (!SWIG_IsOK(res3
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10659 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10663 if (!SWIG_IsOK(ecode4
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10666 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10681 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 PyObject
*resultobj
= 0;
10683 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10686 PyObject
*swig_obj
[1] ;
10688 if (!args
) SWIG_fail
;
10689 swig_obj
[0] = args
;
10690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10694 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_Py_Void();
10709 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10710 PyObject
*resultobj
= 0;
10711 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10714 PyObject
*swig_obj
[1] ;
10716 if (!args
) SWIG_fail
;
10717 swig_obj
[0] = args
;
10718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10722 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_Py_Void();
10736 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxTextAttr
*arg1
= 0 ;
10739 wxTextAttr
*arg2
= 0 ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "base",(char *) "overlay", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10752 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10759 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10761 if (!SWIG_IsOK(res2
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10767 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10781 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
= 0;
10783 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10784 wxColour
*arg2
= 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char * kwnames
[] = {
10791 (char *) "self",(char *) "colText", NULL
10794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10799 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_Py_Void();
10817 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
= 0;
10819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10820 wxColour
*arg2
= 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char * kwnames
[] = {
10827 (char *) "self",(char *) "colBack", NULL
10830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10832 if (!SWIG_IsOK(res1
)) {
10833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10835 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_Py_Void();
10853 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
= 0;
10855 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10857 long arg3
= (long) wxTEXT_ATTR_FONT
;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "font",(char *) "flags", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10878 if (!SWIG_IsOK(res2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10884 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10886 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10887 if (!SWIG_IsOK(ecode3
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10890 arg3
= static_cast< long >(val3
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_Py_Void();
10905 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
= 0;
10907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10908 wxTextAttrAlignment arg2
;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char * kwnames
[] = {
10916 (char *) "self",(char *) "alignment", NULL
10919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10924 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10926 if (!SWIG_IsOK(ecode2
)) {
10927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10929 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->SetAlignment(arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_Py_Void();
10943 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= 0;
10945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10946 wxArrayInt
*arg2
= 0 ;
10949 bool temp2
= false ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char * kwnames
[] = {
10953 (char *) "self",(char *) "tabs", NULL
10956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10958 if (!SWIG_IsOK(res1
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10961 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10963 if (! PySequence_Check(obj1
)) {
10964 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10967 arg2
= new wxArrayInt
;
10969 int i
, len
=PySequence_Length(obj1
);
10970 for (i
=0; i
<len
; i
++) {
10971 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10972 PyObject
* number
= PyNumber_Int(item
);
10974 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10977 arg2
->Add(PyInt_AS_LONG(number
));
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= SWIG_Py_Void();
10990 if (temp2
) delete arg2
;
10995 if (temp2
) delete arg2
;
11001 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= 0;
11003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11005 int arg3
= (int) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 char * kwnames
[] = {
11016 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
11019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11024 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11026 if (!SWIG_IsOK(ecode2
)) {
11027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
11029 arg2
= static_cast< int >(val2
);
11031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11032 if (!SWIG_IsOK(ecode3
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
11035 arg3
= static_cast< int >(val3
);
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 (arg1
)->SetLeftIndent(arg2
,arg3
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_Py_Void();
11050 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
= 0;
11052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 char * kwnames
[] = {
11061 (char *) "self",(char *) "indent", NULL
11064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11069 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11071 if (!SWIG_IsOK(ecode2
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11074 arg2
= static_cast< int >(val2
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->SetRightIndent(arg2
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_Py_Void();
11088 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "flags", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11107 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11108 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11112 arg2
= static_cast< long >(val2
);
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->SetFlags(arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= SWIG_Py_Void();
11126 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11127 PyObject
*resultobj
= 0;
11128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11132 PyObject
*swig_obj
[1] ;
11134 if (!args
) SWIG_fail
;
11135 swig_obj
[0] = args
;
11136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11140 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11157 PyObject
*resultobj
= 0;
11158 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11162 PyObject
*swig_obj
[1] ;
11164 if (!args
) SWIG_fail
;
11165 swig_obj
[0] = args
;
11166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11170 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 PyObject
*resultobj
= 0;
11188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11192 PyObject
*swig_obj
[1] ;
11194 if (!args
) SWIG_fail
;
11195 swig_obj
[0] = args
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11200 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11217 PyObject
*resultobj
= 0;
11218 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11222 PyObject
*swig_obj
[1] ;
11224 if (!args
) SWIG_fail
;
11225 swig_obj
[0] = args
;
11226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11230 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11246 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11276 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 PyObject
*resultobj
= 0;
11278 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11282 PyObject
*swig_obj
[1] ;
11284 if (!args
) SWIG_fail
;
11285 swig_obj
[0] = args
;
11286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11287 if (!SWIG_IsOK(res1
)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11290 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11306 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11336 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= 0;
11338 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "flag", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11356 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11358 if (!SWIG_IsOK(ecode2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11361 arg2
= static_cast< long >(val2
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11377 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 PyObject
*resultobj
= 0;
11379 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11380 wxColour
*result
= 0 ;
11383 PyObject
*swig_obj
[1] ;
11385 if (!args
) SWIG_fail
;
11386 swig_obj
[0] = args
;
11387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11388 if (!SWIG_IsOK(res1
)) {
11389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11391 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11396 result
= (wxColour
*) &_result_ref
;
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11408 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11409 PyObject
*resultobj
= 0;
11410 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11411 wxColour
*result
= 0 ;
11414 PyObject
*swig_obj
[1] ;
11416 if (!args
) SWIG_fail
;
11417 swig_obj
[0] = args
;
11418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11419 if (!SWIG_IsOK(res1
)) {
11420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11422 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11427 result
= (wxColour
*) &_result_ref
;
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11439 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11440 PyObject
*resultobj
= 0;
11441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11442 wxFont
*result
= 0 ;
11445 PyObject
*swig_obj
[1] ;
11447 if (!args
) SWIG_fail
;
11448 swig_obj
[0] = args
;
11449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11450 if (!SWIG_IsOK(res1
)) {
11451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11453 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11458 result
= (wxFont
*) &_result_ref
;
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 wxFont
* resultptr
= new wxFont(*result
);
11465 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11473 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11476 wxTextAttrAlignment result
;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11487 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_int(static_cast< int >(result
));
11501 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11504 wxArrayInt
*result
= 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11515 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11520 result
= (wxArrayInt
*) &_result_ref
;
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= wxArrayInt2PyList_helper(*result
);
11534 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11535 PyObject
*resultobj
= 0;
11536 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11540 PyObject
*swig_obj
[1] ;
11542 if (!args
) SWIG_fail
;
11543 swig_obj
[0] = args
;
11544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11548 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_From_long(static_cast< long >(result
));
11562 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11563 PyObject
*resultobj
= 0;
11564 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11568 PyObject
*swig_obj
[1] ;
11570 if (!args
) SWIG_fail
;
11571 swig_obj
[0] = args
;
11572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11576 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_From_long(static_cast< long >(result
));
11590 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11604 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_From_long(static_cast< long >(result
));
11618 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11619 PyObject
*resultobj
= 0;
11620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11624 PyObject
*swig_obj
[1] ;
11626 if (!args
) SWIG_fail
;
11627 swig_obj
[0] = args
;
11628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11629 if (!SWIG_IsOK(res1
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11632 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_From_long(static_cast< long >(result
));
11646 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11647 PyObject
*resultobj
= 0;
11648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11652 PyObject
*swig_obj
[1] ;
11654 if (!args
) SWIG_fail
;
11655 swig_obj
[0] = args
;
11656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11657 if (!SWIG_IsOK(res1
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11660 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11676 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
= 0;
11678 wxTextAttr
*arg1
= 0 ;
11679 wxTextAttr
*arg2
= 0 ;
11680 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 char * kwnames
[] = {
11692 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11696 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11697 if (!SWIG_IsOK(res1
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11703 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11705 if (!SWIG_IsOK(res2
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11711 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11712 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11713 if (!SWIG_IsOK(res3
)) {
11714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11716 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11730 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11733 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11734 return SWIG_Py_Void();
11737 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 return SWIG_Python_InitShadowInstance(args
);
11741 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
= 0;
11743 wxWindow
*arg1
= (wxWindow
*) 0 ;
11744 int arg2
= (int) -1 ;
11745 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11746 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11751 long arg6
= (long) 0 ;
11752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11754 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11756 wxTextCtrl
*result
= 0 ;
11761 bool temp3
= false ;
11768 bool temp8
= false ;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 PyObject
* obj2
= 0 ;
11772 PyObject
* obj3
= 0 ;
11773 PyObject
* obj4
= 0 ;
11774 PyObject
* obj5
= 0 ;
11775 PyObject
* obj6
= 0 ;
11776 PyObject
* obj7
= 0 ;
11777 char * kwnames
[] = {
11778 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11783 if (!SWIG_IsOK(res1
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11789 if (!SWIG_IsOK(ecode2
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11792 arg2
= static_cast< int >(val2
);
11796 arg3
= wxString_in_helper(obj2
);
11797 if (arg3
== NULL
) SWIG_fail
;
11804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11815 if (!SWIG_IsOK(ecode6
)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11818 arg6
= static_cast< long >(val6
);
11821 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11822 if (!SWIG_IsOK(res7
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11828 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11832 arg8
= wxString_in_helper(obj7
);
11833 if (arg8
== NULL
) SWIG_fail
;
11838 if (!wxPyCheckForApp()) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11867 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 PyObject
*resultobj
= 0;
11869 wxTextCtrl
*result
= 0 ;
11871 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11873 if (!wxPyCheckForApp()) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (wxTextCtrl
*)new wxTextCtrl();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11886 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
= 0;
11888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11889 wxWindow
*arg2
= (wxWindow
*) 0 ;
11890 int arg3
= (int) -1 ;
11891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11897 long arg7
= (long) 0 ;
11898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11900 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11909 bool temp4
= false ;
11916 bool temp9
= false ;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 PyObject
* obj2
= 0 ;
11920 PyObject
* obj3
= 0 ;
11921 PyObject
* obj4
= 0 ;
11922 PyObject
* obj5
= 0 ;
11923 PyObject
* obj6
= 0 ;
11924 PyObject
* obj7
= 0 ;
11925 PyObject
* obj8
= 0 ;
11926 char * kwnames
[] = {
11927 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11932 if (!SWIG_IsOK(res1
)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11935 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11937 if (!SWIG_IsOK(res2
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11943 if (!SWIG_IsOK(ecode3
)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11946 arg3
= static_cast< int >(val3
);
11950 arg4
= wxString_in_helper(obj3
);
11951 if (arg4
== NULL
) SWIG_fail
;
11958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11969 if (!SWIG_IsOK(ecode7
)) {
11970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11972 arg7
= static_cast< long >(val7
);
11975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11976 if (!SWIG_IsOK(res8
)) {
11977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11986 arg9
= wxString_in_helper(obj8
);
11987 if (arg9
== NULL
) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12022 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12028 PyObject
*swig_obj
[1] ;
12030 if (!args
) SWIG_fail
;
12031 swig_obj
[0] = args
;
12032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12033 if (!SWIG_IsOK(res1
)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12036 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12056 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
= 0;
12058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12059 wxString
*arg2
= 0 ;
12062 bool temp2
= false ;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "value", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12076 arg2
= wxString_in_helper(obj1
);
12077 if (arg2
== NULL
) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetValue((wxString
const &)*arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_Py_Void();
12101 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12115 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12131 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12134 wxString
*arg2
= 0 ;
12137 bool temp2
= false ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "value", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",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_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12151 arg2
= wxString_in_helper(obj1
);
12152 if (arg2
== NULL
) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
= 0;
12178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 PyObject
* obj2
= 0 ;
12191 char * kwnames
[] = {
12192 (char *) "self",(char *) "from",(char *) "to", NULL
12195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12201 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12202 if (!SWIG_IsOK(ecode2
)) {
12203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12205 arg2
= static_cast< long >(val2
);
12206 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12207 if (!SWIG_IsOK(ecode3
)) {
12208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12210 arg3
= static_cast< long >(val3
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12230 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= 0;
12232 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 char * kwnames
[] = {
12242 (char *) "self",(char *) "lineNo", NULL
12245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12250 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12251 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12252 if (!SWIG_IsOK(ecode2
)) {
12253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12255 arg2
= static_cast< long >(val2
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_From_int(static_cast< int >(result
));
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "self",(char *) "lineNo", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12289 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12290 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12291 if (!SWIG_IsOK(ecode2
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12294 arg2
= static_cast< long >(val2
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12314 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12315 PyObject
*resultobj
= 0;
12316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12320 PyObject
*swig_obj
[1] ;
12322 if (!args
) SWIG_fail
;
12323 swig_obj
[0] = args
;
12324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12325 if (!SWIG_IsOK(res1
)) {
12326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12328 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_From_int(static_cast< int >(result
));
12342 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12343 PyObject
*resultobj
= 0;
12344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12348 PyObject
*swig_obj
[1] ;
12350 if (!args
) SWIG_fail
;
12351 swig_obj
[0] = args
;
12352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12372 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12373 PyObject
*resultobj
= 0;
12374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12378 PyObject
*swig_obj
[1] ;
12380 if (!args
) SWIG_fail
;
12381 swig_obj
[0] = args
;
12382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12386 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12402 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12404 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_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12432 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12433 PyObject
*resultobj
= 0;
12434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12438 PyObject
*swig_obj
[1] ;
12440 if (!args
) SWIG_fail
;
12441 swig_obj
[0] = args
;
12442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12443 if (!SWIG_IsOK(res1
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12446 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12462 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 PyObject
*resultobj
= 0;
12464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12465 long *arg2
= (long *) 0 ;
12466 long *arg3
= (long *) 0 ;
12470 int res2
= SWIG_TMPOBJ
;
12472 int res3
= SWIG_TMPOBJ
;
12473 PyObject
*swig_obj
[1] ;
12477 if (!args
) SWIG_fail
;
12478 swig_obj
[0] = args
;
12479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12483 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_Py_Void();
12491 if (SWIG_IsTmpObj(res2
)) {
12492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12494 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12497 if (SWIG_IsTmpObj(res3
)) {
12498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12509 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 PyObject
*resultobj
= 0;
12511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12515 PyObject
*swig_obj
[1] ;
12517 if (!args
) SWIG_fail
;
12518 swig_obj
[0] = args
;
12519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12543 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12575 wxString
*arg4
= 0 ;
12582 bool temp4
= false ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 PyObject
* obj2
= 0 ;
12586 PyObject
* obj3
= 0 ;
12587 char * kwnames
[] = {
12588 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12593 if (!SWIG_IsOK(res1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12596 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12598 if (!SWIG_IsOK(ecode2
)) {
12599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12601 arg2
= static_cast< long >(val2
);
12602 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12603 if (!SWIG_IsOK(ecode3
)) {
12604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12606 arg3
= static_cast< long >(val3
);
12608 arg4
= wxString_in_helper(obj3
);
12609 if (arg4
== NULL
) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_Py_Void();
12633 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
= 0;
12635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 char * kwnames
[] = {
12648 (char *) "self",(char *) "from",(char *) "to", NULL
12651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12653 if (!SWIG_IsOK(res1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12656 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12657 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12658 if (!SWIG_IsOK(ecode2
)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12661 arg2
= static_cast< long >(val2
);
12662 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12663 if (!SWIG_IsOK(ecode3
)) {
12664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12666 arg3
= static_cast< long >(val3
);
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->Remove(arg2
,arg3
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_Py_Void();
12680 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= 0;
12682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12683 wxString
*arg2
= 0 ;
12684 int arg3
= (int) wxTEXT_TYPE_ANY
;
12688 bool temp2
= false ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 PyObject
* obj2
= 0 ;
12694 char * kwnames
[] = {
12695 (char *) "self",(char *) "file",(char *) "fileType", NULL
12698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12700 if (!SWIG_IsOK(res1
)) {
12701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12703 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12705 arg2
= wxString_in_helper(obj1
);
12706 if (arg2
== NULL
) SWIG_fail
;
12710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12711 if (!SWIG_IsOK(ecode3
)) {
12712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12714 arg3
= static_cast< int >(val3
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12739 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= 0;
12741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12742 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12743 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12744 int arg3
= (int) wxTEXT_TYPE_ANY
;
12748 bool temp2
= false ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 PyObject
* obj2
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "file",(char *) "fileType", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12763 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12766 arg2
= wxString_in_helper(obj1
);
12767 if (arg2
== NULL
) SWIG_fail
;
12772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12773 if (!SWIG_IsOK(ecode3
)) {
12774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12776 arg3
= static_cast< int >(val3
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12806 PyObject
*swig_obj
[1] ;
12808 if (!args
) SWIG_fail
;
12809 swig_obj
[0] = args
;
12810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12811 if (!SWIG_IsOK(res1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12814 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->MarkDirty();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12829 PyObject
*resultobj
= 0;
12830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12833 PyObject
*swig_obj
[1] ;
12835 if (!args
) SWIG_fail
;
12836 swig_obj
[0] = args
;
12837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->DiscardEdits();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_Py_Void();
12855 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
= 0;
12857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "self",(char *) "modified", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12874 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12875 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12876 if (!SWIG_IsOK(ecode2
)) {
12877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12879 arg2
= static_cast< bool >(val2
);
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->SetModified(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_Py_Void();
12893 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
= 0;
12895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12896 unsigned long arg2
;
12899 unsigned long val2
;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 char * kwnames
[] = {
12904 (char *) "self",(char *) "len", NULL
12907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12909 if (!SWIG_IsOK(res1
)) {
12910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12912 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12913 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12914 if (!SWIG_IsOK(ecode2
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12917 arg2
= static_cast< unsigned long >(val2
);
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 (arg1
)->SetMaxLength(arg2
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_Py_Void();
12931 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12934 wxString
*arg2
= 0 ;
12937 bool temp2
= false ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char * kwnames
[] = {
12941 (char *) "self",(char *) "text", NULL
12944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12949 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12951 arg2
= wxString_in_helper(obj1
);
12952 if (arg2
== NULL
) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->WriteText((wxString
const &)*arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= SWIG_Py_Void();
12976 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
= 0;
12978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12979 wxString
*arg2
= 0 ;
12982 bool temp2
= false ;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 char * kwnames
[] = {
12986 (char *) "self",(char *) "text", NULL
12989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12991 if (!SWIG_IsOK(res1
)) {
12992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12994 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12996 arg2
= wxString_in_helper(obj1
);
12997 if (arg2
== NULL
) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 (arg1
)->AppendText((wxString
const &)*arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_Py_Void();
13021 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
= 0;
13023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13024 wxKeyEvent
*arg2
= 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 char * kwnames
[] = {
13033 (char *) "self",(char *) "event", NULL
13036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13038 if (!SWIG_IsOK(res1
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13041 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
13043 if (!SWIG_IsOK(res2
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13049 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13070 wxTextAttr
*arg4
= 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 PyObject
* obj3
= 0 ;
13084 char * kwnames
[] = {
13085 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13095 if (!SWIG_IsOK(ecode2
)) {
13096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13098 arg2
= static_cast< long >(val2
);
13099 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13100 if (!SWIG_IsOK(ecode3
)) {
13101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13103 arg3
= static_cast< long >(val3
);
13104 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13105 if (!SWIG_IsOK(res4
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13111 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13127 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13131 wxTextAttr
*arg3
= 0 ;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 PyObject
* obj2
= 0 ;
13142 char * kwnames
[] = {
13143 (char *) "self",(char *) "position",(char *) "style", NULL
13146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13148 if (!SWIG_IsOK(res1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13151 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13152 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13153 if (!SWIG_IsOK(ecode2
)) {
13154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13156 arg2
= static_cast< long >(val2
);
13157 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13158 if (!SWIG_IsOK(res3
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13164 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13180 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13183 wxTextAttr
*arg2
= 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "self",(char *) "style", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13202 if (!SWIG_IsOK(res2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13208 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13227 wxTextAttr
*result
= 0 ;
13230 PyObject
*swig_obj
[1] ;
13232 if (!args
) SWIG_fail
;
13233 swig_obj
[0] = args
;
13234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13235 if (!SWIG_IsOK(res1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13238 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13243 result
= (wxTextAttr
*) &_result_ref
;
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13255 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
= 0;
13257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 char * kwnames
[] = {
13271 (char *) "self",(char *) "x",(char *) "y", NULL
13274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13279 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13280 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13281 if (!SWIG_IsOK(ecode2
)) {
13282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13284 arg2
= static_cast< long >(val2
);
13285 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13286 if (!SWIG_IsOK(ecode3
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13289 arg3
= static_cast< long >(val3
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_From_long(static_cast< long >(result
));
13303 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
= 0;
13305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13307 long *arg3
= (long *) 0 ;
13308 long *arg4
= (long *) 0 ;
13314 int res3
= SWIG_TMPOBJ
;
13316 int res4
= SWIG_TMPOBJ
;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char * kwnames
[] = {
13320 (char *) "self",(char *) "pos", NULL
13325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13331 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13332 if (!SWIG_IsOK(ecode2
)) {
13333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13335 arg2
= static_cast< long >(val2
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_Py_Void();
13343 if (SWIG_IsTmpObj(res3
)) {
13344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13346 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13349 if (SWIG_IsTmpObj(res4
)) {
13350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13352 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13361 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= 0;
13363 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 char * kwnames
[] = {
13372 (char *) "self",(char *) "pos", NULL
13375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13381 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13382 if (!SWIG_IsOK(ecode2
)) {
13383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13385 arg2
= static_cast< long >(val2
);
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 (arg1
)->ShowPosition(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_Py_Void();
13399 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
= 0;
13401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13402 wxPoint
*arg2
= 0 ;
13403 long *arg3
= (long *) 0 ;
13404 long *arg4
= (long *) 0 ;
13405 wxTextCtrlHitTestResult result
;
13410 int res3
= SWIG_TMPOBJ
;
13412 int res4
= SWIG_TMPOBJ
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char * kwnames
[] = {
13416 (char *) "self",(char *) "pt", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_From_int(static_cast< int >(result
));
13438 if (SWIG_IsTmpObj(res3
)) {
13439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13441 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13444 if (SWIG_IsTmpObj(res4
)) {
13445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13447 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13456 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13459 wxPoint
*arg2
= 0 ;
13460 long *arg3
= (long *) 0 ;
13461 wxTextCtrlHitTestResult result
;
13466 int res3
= SWIG_TMPOBJ
;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 char * kwnames
[] = {
13470 (char *) "self",(char *) "pt", NULL
13474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13479 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_From_int(static_cast< int >(result
));
13491 if (SWIG_IsTmpObj(res3
)) {
13492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13494 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13503 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13504 PyObject
*resultobj
= 0;
13505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13508 PyObject
*swig_obj
[1] ;
13510 if (!args
) SWIG_fail
;
13511 swig_obj
[0] = args
;
13512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13513 if (!SWIG_IsOK(res1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13535 PyObject
*swig_obj
[1] ;
13537 if (!args
) SWIG_fail
;
13538 swig_obj
[0] = args
;
13539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13543 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_Py_Void();
13557 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13614 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13615 PyObject
*resultobj
= 0;
13616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13620 PyObject
*swig_obj
[1] ;
13622 if (!args
) SWIG_fail
;
13623 swig_obj
[0] = args
;
13624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13625 if (!SWIG_IsOK(res1
)) {
13626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13628 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13644 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13645 PyObject
*resultobj
= 0;
13646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13650 PyObject
*swig_obj
[1] ;
13652 if (!args
) SWIG_fail
;
13653 swig_obj
[0] = args
;
13654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13655 if (!SWIG_IsOK(res1
)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13658 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13674 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13675 PyObject
*resultobj
= 0;
13676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13679 PyObject
*swig_obj
[1] ;
13681 if (!args
) SWIG_fail
;
13682 swig_obj
[0] = args
;
13683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_Py_Void();
13701 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13706 PyObject
*swig_obj
[1] ;
13708 if (!args
) SWIG_fail
;
13709 swig_obj
[0] = args
;
13710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13711 if (!SWIG_IsOK(res1
)) {
13712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13714 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= SWIG_Py_Void();
13728 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 PyObject
*resultobj
= 0;
13730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13734 PyObject
*swig_obj
[1] ;
13736 if (!args
) SWIG_fail
;
13737 swig_obj
[0] = args
;
13738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13742 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13758 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13759 PyObject
*resultobj
= 0;
13760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13764 PyObject
*swig_obj
[1] ;
13766 if (!args
) SWIG_fail
;
13767 swig_obj
[0] = args
;
13768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13769 if (!SWIG_IsOK(res1
)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13788 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
= 0;
13790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char * kwnames
[] = {
13799 (char *) "self",(char *) "pos", NULL
13802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13804 if (!SWIG_IsOK(res1
)) {
13805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13807 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13809 if (!SWIG_IsOK(ecode2
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13812 arg2
= static_cast< long >(val2
);
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->SetInsertionPoint(arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 PyObject
*resultobj
= 0;
13828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13831 PyObject
*swig_obj
[1] ;
13833 if (!args
) SWIG_fail
;
13834 swig_obj
[0] = args
;
13835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SetInsertionPointEnd();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_Py_Void();
13853 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13854 PyObject
*resultobj
= 0;
13855 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13859 PyObject
*swig_obj
[1] ;
13861 if (!args
) SWIG_fail
;
13862 swig_obj
[0] = args
;
13863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13867 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_From_long(static_cast< long >(result
));
13881 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13882 PyObject
*resultobj
= 0;
13883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13887 PyObject
*swig_obj
[1] ;
13889 if (!args
) SWIG_fail
;
13890 swig_obj
[0] = args
;
13891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13892 if (!SWIG_IsOK(res1
)) {
13893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13895 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_long(static_cast< long >(result
));
13909 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "from",(char *) "to", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13932 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13937 arg2
= static_cast< long >(val2
);
13938 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13939 if (!SWIG_IsOK(ecode3
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13942 arg3
= static_cast< long >(val3
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 (arg1
)->SetSelection(arg2
,arg3
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_Py_Void();
13956 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13957 PyObject
*resultobj
= 0;
13958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13961 PyObject
*swig_obj
[1] ;
13963 if (!args
) SWIG_fail
;
13964 swig_obj
[0] = args
;
13965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13969 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 (arg1
)->SelectAll();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= SWIG_Py_Void();
13983 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
= 0;
13985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char * kwnames
[] = {
13994 (char *) "self",(char *) "editable", NULL
13997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14002 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14004 if (!SWIG_IsOK(ecode2
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
14007 arg2
= static_cast< bool >(val2
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->SetEditable(arg2
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_Py_Void();
14021 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
= 0;
14023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "self",(char *) "check", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14040 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14041 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
14045 arg2
= static_cast< bool >(val2
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_Py_Void();
14059 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14064 PyObject
*swig_obj
[1] ;
14066 if (!args
) SWIG_fail
;
14067 swig_obj
[0] = args
;
14068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14069 if (!SWIG_IsOK(res1
)) {
14070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 (arg1
)->SendTextUpdatedEvent();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_Py_Void();
14086 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
= 0;
14088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14089 wxString
*arg2
= 0 ;
14092 bool temp2
= false ;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 char * kwnames
[] = {
14096 (char *) "self",(char *) "text", NULL
14099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14101 if (!SWIG_IsOK(res1
)) {
14102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14106 arg2
= wxString_in_helper(obj1
);
14107 if (arg2
== NULL
) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_Py_Void();
14131 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 char * kwnames
[] = {
14147 (char *) "self",(char *) "from",(char *) "to", NULL
14150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14155 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14157 if (!SWIG_IsOK(ecode2
)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14160 arg2
= static_cast< long >(val2
);
14161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14162 if (!SWIG_IsOK(ecode3
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14165 arg3
= static_cast< long >(val3
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14185 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
= 0;
14187 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14188 SwigValueWrapper
<wxVisualAttributes
> result
;
14191 PyObject
* obj0
= 0 ;
14192 char * kwnames
[] = {
14193 (char *) "variant", NULL
14196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14199 if (!SWIG_IsOK(ecode1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14202 arg1
= static_cast< wxWindowVariant
>(val1
);
14205 if (!wxPyCheckForApp()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14218 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14221 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14222 return SWIG_Py_Void();
14225 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14226 return SWIG_Python_InitShadowInstance(args
);
14229 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
= 0;
14232 wxMouseEvent
*arg2
= 0 ;
14235 wxTextUrlEvent
*result
= 0 ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 PyObject
* obj2
= 0 ;
14247 PyObject
* obj3
= 0 ;
14248 char * kwnames
[] = {
14249 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14254 if (!SWIG_IsOK(ecode1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14257 arg1
= static_cast< int >(val1
);
14258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14259 if (!SWIG_IsOK(res2
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14265 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14266 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14267 if (!SWIG_IsOK(ecode3
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14270 arg3
= static_cast< long >(val3
);
14271 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14272 if (!SWIG_IsOK(ecode4
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14275 arg4
= static_cast< long >(val4
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14289 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14292 wxMouseEvent
*result
= 0 ;
14295 PyObject
*swig_obj
[1] ;
14297 if (!args
) SWIG_fail
;
14298 swig_obj
[0] = args
;
14299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14303 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14308 result
= (wxMouseEvent
*) &_result_ref
;
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14320 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14321 PyObject
*resultobj
= 0;
14322 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14326 PyObject
*swig_obj
[1] ;
14328 if (!args
) SWIG_fail
;
14329 swig_obj
[0] = args
;
14330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14334 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_From_long(static_cast< long >(result
));
14348 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14349 PyObject
*resultobj
= 0;
14350 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14354 PyObject
*swig_obj
[1] ;
14356 if (!args
) SWIG_fail
;
14357 swig_obj
[0] = args
;
14358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14362 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_long(static_cast< long >(result
));
14376 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14379 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14380 return SWIG_Py_Void();
14383 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 return SWIG_Python_InitShadowInstance(args
);
14387 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14388 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14393 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14394 PyObject
*pyobj
= 0;
14398 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14400 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14407 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
= 0;
14409 wxWindow
*arg1
= (wxWindow
*) 0 ;
14410 int arg2
= (int) -1 ;
14411 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14412 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14413 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14414 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14415 long arg5
= (long) wxSB_HORIZONTAL
;
14416 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14417 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14418 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14420 wxScrollBar
*result
= 0 ;
14431 bool temp7
= false ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 PyObject
* obj3
= 0 ;
14436 PyObject
* obj4
= 0 ;
14437 PyObject
* obj5
= 0 ;
14438 PyObject
* obj6
= 0 ;
14439 char * kwnames
[] = {
14440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14445 if (!SWIG_IsOK(res1
)) {
14446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14451 if (!SWIG_IsOK(ecode2
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14454 arg2
= static_cast< int >(val2
);
14459 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14465 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14469 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14470 if (!SWIG_IsOK(ecode5
)) {
14471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14473 arg5
= static_cast< long >(val5
);
14476 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14477 if (!SWIG_IsOK(res6
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14483 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14487 arg7
= wxString_in_helper(obj6
);
14488 if (arg7
== NULL
) SWIG_fail
;
14493 if (!wxPyCheckForApp()) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14514 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxScrollBar
*result
= 0 ;
14518 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14520 if (!wxPyCheckForApp()) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (wxScrollBar
*)new wxScrollBar();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14533 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
= 0;
14535 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14536 wxWindow
*arg2
= (wxWindow
*) 0 ;
14537 int arg3
= (int) -1 ;
14538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14542 long arg6
= (long) wxSB_HORIZONTAL
;
14543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14545 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14560 bool temp8
= false ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 PyObject
* obj3
= 0 ;
14565 PyObject
* obj4
= 0 ;
14566 PyObject
* obj5
= 0 ;
14567 PyObject
* obj6
= 0 ;
14568 PyObject
* obj7
= 0 ;
14569 char * kwnames
[] = {
14570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14578 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14580 if (!SWIG_IsOK(res2
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14586 if (!SWIG_IsOK(ecode3
)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14589 arg3
= static_cast< int >(val3
);
14594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14605 if (!SWIG_IsOK(ecode6
)) {
14606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14608 arg6
= static_cast< long >(val6
);
14611 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14612 if (!SWIG_IsOK(res7
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14618 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14622 arg8
= wxString_in_helper(obj7
);
14623 if (arg8
== NULL
) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14656 PyObject
*swig_obj
[1] ;
14658 if (!args
) SWIG_fail
;
14659 swig_obj
[0] = args
;
14660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14664 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_From_int(static_cast< int >(result
));
14678 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14679 PyObject
*resultobj
= 0;
14680 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14684 PyObject
*swig_obj
[1] ;
14686 if (!args
) SWIG_fail
;
14687 swig_obj
[0] = args
;
14688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14689 if (!SWIG_IsOK(res1
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14692 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_From_int(static_cast< int >(result
));
14706 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 PyObject
*resultobj
= 0;
14708 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14712 PyObject
*swig_obj
[1] ;
14714 if (!args
) SWIG_fail
;
14715 swig_obj
[0] = args
;
14716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14720 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_From_int(static_cast< int >(result
));
14734 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14735 PyObject
*resultobj
= 0;
14736 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14740 PyObject
*swig_obj
[1] ;
14742 if (!args
) SWIG_fail
;
14743 swig_obj
[0] = args
;
14744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14748 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_From_int(static_cast< int >(result
));
14762 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14763 PyObject
*resultobj
= 0;
14764 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14768 PyObject
*swig_obj
[1] ;
14770 if (!args
) SWIG_fail
;
14771 swig_obj
[0] = args
;
14772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14776 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
= 0;
14794 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char * kwnames
[] = {
14803 (char *) "self",(char *) "viewStart", NULL
14806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14811 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14813 if (!SWIG_IsOK(ecode2
)) {
14814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14816 arg2
= static_cast< int >(val2
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->SetThumbPosition(arg2
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_Py_Void();
14830 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
= 0;
14832 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14833 SwigValueWrapper
<wxVisualAttributes
> result
;
14836 PyObject
* obj0
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "variant", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14844 if (!SWIG_IsOK(ecode1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14847 arg1
= static_cast< wxWindowVariant
>(val1
);
14850 if (!wxPyCheckForApp()) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14863 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14866 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14867 return SWIG_Py_Void();
14870 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14871 return SWIG_Python_InitShadowInstance(args
);
14874 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14875 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14880 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14881 PyObject
*pyobj
= 0;
14885 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14887 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14894 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14895 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14900 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14901 PyObject
*pyobj
= 0;
14905 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14907 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14914 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
= 0;
14916 wxWindow
*arg1
= (wxWindow
*) 0 ;
14917 int arg2
= (int) -1 ;
14918 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14919 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14920 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14921 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14922 long arg5
= (long) wxSP_HORIZONTAL
;
14923 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14924 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14925 wxSpinButton
*result
= 0 ;
14934 bool temp6
= false ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 PyObject
* obj3
= 0 ;
14939 PyObject
* obj4
= 0 ;
14940 PyObject
* obj5
= 0 ;
14941 char * kwnames
[] = {
14942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14947 if (!SWIG_IsOK(res1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14950 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14953 if (!SWIG_IsOK(ecode2
)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14956 arg2
= static_cast< int >(val2
);
14961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14971 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14972 if (!SWIG_IsOK(ecode5
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14975 arg5
= static_cast< long >(val5
);
14979 arg6
= wxString_in_helper(obj5
);
14980 if (arg6
== NULL
) SWIG_fail
;
14985 if (!wxPyCheckForApp()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
15006 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15007 PyObject
*resultobj
= 0;
15008 wxSpinButton
*result
= 0 ;
15010 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
15012 if (!wxPyCheckForApp()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (wxSpinButton
*)new wxSpinButton();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
15025 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15028 wxWindow
*arg2
= (wxWindow
*) 0 ;
15029 int arg3
= (int) -1 ;
15030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15034 long arg6
= (long) wxSP_HORIZONTAL
;
15035 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
15036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15048 bool temp7
= false ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 PyObject
* obj2
= 0 ;
15052 PyObject
* obj3
= 0 ;
15053 PyObject
* obj4
= 0 ;
15054 PyObject
* obj5
= 0 ;
15055 PyObject
* obj6
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15065 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15067 if (!SWIG_IsOK(res2
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15070 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15073 if (!SWIG_IsOK(ecode3
)) {
15074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15076 arg3
= static_cast< int >(val3
);
15081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15091 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15092 if (!SWIG_IsOK(ecode6
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15095 arg6
= static_cast< long >(val6
);
15099 arg7
= wxString_in_helper(obj6
);
15100 if (arg7
== NULL
) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15127 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 PyObject
*resultobj
= 0;
15129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15133 PyObject
*swig_obj
[1] ;
15135 if (!args
) SWIG_fail
;
15136 swig_obj
[0] = args
;
15137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15141 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_From_int(static_cast< int >(result
));
15155 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15156 PyObject
*resultobj
= 0;
15157 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15161 PyObject
*swig_obj
[1] ;
15163 if (!args
) SWIG_fail
;
15164 swig_obj
[0] = args
;
15165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15169 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_From_int(static_cast< int >(result
));
15183 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15197 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_From_int(static_cast< int >(result
));
15211 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "val", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15230 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15235 arg2
= static_cast< int >(val2
);
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->SetValue(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= 0;
15251 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char * kwnames
[] = {
15260 (char *) "self",(char *) "minVal", NULL
15263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15265 if (!SWIG_IsOK(res1
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15268 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15270 if (!SWIG_IsOK(ecode2
)) {
15271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15273 arg2
= static_cast< int >(val2
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->SetMin(arg2
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_Py_Void();
15287 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= 0;
15289 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char * kwnames
[] = {
15298 (char *) "self",(char *) "maxVal", NULL
15301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15306 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15311 arg2
= static_cast< int >(val2
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetMax(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= 0;
15327 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15345 if (!SWIG_IsOK(res1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15348 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15350 if (!SWIG_IsOK(ecode2
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15353 arg2
= static_cast< int >(val2
);
15354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15355 if (!SWIG_IsOK(ecode3
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15358 arg3
= static_cast< int >(val3
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->SetRange(arg2
,arg3
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_Py_Void();
15372 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15373 PyObject
*resultobj
= 0;
15374 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15378 PyObject
*swig_obj
[1] ;
15380 if (!args
) SWIG_fail
;
15381 swig_obj
[0] = args
;
15382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15383 if (!SWIG_IsOK(res1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15386 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15402 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
= 0;
15404 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15405 SwigValueWrapper
<wxVisualAttributes
> result
;
15408 PyObject
* obj0
= 0 ;
15409 char * kwnames
[] = {
15410 (char *) "variant", NULL
15413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15416 if (!SWIG_IsOK(ecode1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15419 arg1
= static_cast< wxWindowVariant
>(val1
);
15422 if (!wxPyCheckForApp()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15435 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15438 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15439 return SWIG_Py_Void();
15442 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15443 return SWIG_Python_InitShadowInstance(args
);
15446 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= 0;
15448 wxWindow
*arg1
= (wxWindow
*) 0 ;
15449 int arg2
= (int) -1 ;
15450 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15451 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15452 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15453 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15454 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15455 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15456 long arg6
= (long) wxSP_ARROW_KEYS
;
15457 int arg7
= (int) 0 ;
15458 int arg8
= (int) 100 ;
15459 int arg9
= (int) 0 ;
15460 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15461 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15462 wxSpinCtrl
*result
= 0 ;
15467 bool temp3
= false ;
15478 bool temp10
= false ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 PyObject
* obj2
= 0 ;
15482 PyObject
* obj3
= 0 ;
15483 PyObject
* obj4
= 0 ;
15484 PyObject
* obj5
= 0 ;
15485 PyObject
* obj6
= 0 ;
15486 PyObject
* obj7
= 0 ;
15487 PyObject
* obj8
= 0 ;
15488 PyObject
* obj9
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15504 arg2
= static_cast< int >(val2
);
15508 arg3
= wxString_in_helper(obj2
);
15509 if (arg3
== NULL
) SWIG_fail
;
15516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15527 if (!SWIG_IsOK(ecode6
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15530 arg6
= static_cast< long >(val6
);
15533 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15534 if (!SWIG_IsOK(ecode7
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15537 arg7
= static_cast< int >(val7
);
15540 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15541 if (!SWIG_IsOK(ecode8
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15544 arg8
= static_cast< int >(val8
);
15547 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15548 if (!SWIG_IsOK(ecode9
)) {
15549 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15551 arg9
= static_cast< int >(val9
);
15555 arg10
= wxString_in_helper(obj9
);
15556 if (arg10
== NULL
) SWIG_fail
;
15561 if (!wxPyCheckForApp()) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15590 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15591 PyObject
*resultobj
= 0;
15592 wxSpinCtrl
*result
= 0 ;
15594 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15596 if (!wxPyCheckForApp()) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15609 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= 0;
15611 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15612 wxWindow
*arg2
= (wxWindow
*) 0 ;
15613 int arg3
= (int) -1 ;
15614 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15615 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15616 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15617 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15618 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15619 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15620 long arg7
= (long) wxSP_ARROW_KEYS
;
15621 int arg8
= (int) 0 ;
15622 int arg9
= (int) 100 ;
15623 int arg10
= (int) 0 ;
15624 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15625 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15633 bool temp4
= false ;
15644 bool temp11
= false ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 PyObject
* obj3
= 0 ;
15649 PyObject
* obj4
= 0 ;
15650 PyObject
* obj5
= 0 ;
15651 PyObject
* obj6
= 0 ;
15652 PyObject
* obj7
= 0 ;
15653 PyObject
* obj8
= 0 ;
15654 PyObject
* obj9
= 0 ;
15655 PyObject
* obj10
= 0 ;
15656 char * kwnames
[] = {
15657 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15662 if (!SWIG_IsOK(res1
)) {
15663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15665 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15667 if (!SWIG_IsOK(res2
)) {
15668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15670 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15673 if (!SWIG_IsOK(ecode3
)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15676 arg3
= static_cast< int >(val3
);
15680 arg4
= wxString_in_helper(obj3
);
15681 if (arg4
== NULL
) SWIG_fail
;
15688 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15694 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15698 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15699 if (!SWIG_IsOK(ecode7
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15702 arg7
= static_cast< long >(val7
);
15705 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15706 if (!SWIG_IsOK(ecode8
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15709 arg8
= static_cast< int >(val8
);
15712 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15713 if (!SWIG_IsOK(ecode9
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15716 arg9
= static_cast< int >(val9
);
15719 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15720 if (!SWIG_IsOK(ecode10
)) {
15721 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15723 arg10
= static_cast< int >(val10
);
15727 arg11
= wxString_in_helper(obj10
);
15728 if (arg11
== NULL
) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15764 PyObject
*resultobj
= 0;
15765 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15769 PyObject
*swig_obj
[1] ;
15771 if (!args
) SWIG_fail
;
15772 swig_obj
[0] = args
;
15773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15777 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_From_int(static_cast< int >(result
));
15791 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "value", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15810 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15812 if (!SWIG_IsOK(ecode2
)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15815 arg2
= static_cast< int >(val2
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 (arg1
)->SetValue(arg2
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_Py_Void();
15829 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
= 0;
15831 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15832 wxString
*arg2
= 0 ;
15835 bool temp2
= false ;
15836 PyObject
* obj0
= 0 ;
15837 PyObject
* obj1
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "self",(char *) "text", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15847 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15849 arg2
= wxString_in_helper(obj1
);
15850 if (arg2
== NULL
) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetValue((wxString
const &)*arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 PyObject
* obj2
= 0 ;
15888 char * kwnames
[] = {
15889 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15897 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15899 if (!SWIG_IsOK(ecode2
)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15902 arg2
= static_cast< int >(val2
);
15903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15904 if (!SWIG_IsOK(ecode3
)) {
15905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15907 arg3
= static_cast< int >(val3
);
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 (arg1
)->SetRange(arg2
,arg3
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_Py_Void();
15921 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 PyObject
*resultobj
= 0;
15923 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15927 PyObject
*swig_obj
[1] ;
15929 if (!args
) SWIG_fail
;
15930 swig_obj
[0] = args
;
15931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15935 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= SWIG_From_int(static_cast< int >(result
));
15949 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15950 PyObject
*resultobj
= 0;
15951 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15955 PyObject
*swig_obj
[1] ;
15957 if (!args
) SWIG_fail
;
15958 swig_obj
[0] = args
;
15959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15963 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_From_int(static_cast< int >(result
));
15977 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 char * kwnames
[] = {
15992 (char *) "self",(char *) "from",(char *) "to", NULL
15995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
16000 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
16001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16002 if (!SWIG_IsOK(ecode2
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
16005 arg2
= static_cast< long >(val2
);
16006 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16007 if (!SWIG_IsOK(ecode3
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
16010 arg3
= static_cast< long >(val3
);
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->SetSelection(arg2
,arg3
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= SWIG_Py_Void();
16024 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16027 SwigValueWrapper
<wxVisualAttributes
> result
;
16030 PyObject
* obj0
= 0 ;
16031 char * kwnames
[] = {
16032 (char *) "variant", NULL
16035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16038 if (!SWIG_IsOK(ecode1
)) {
16039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16041 arg1
= static_cast< wxWindowVariant
>(val1
);
16044 if (!wxPyCheckForApp()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16057 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16060 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16061 return SWIG_Py_Void();
16064 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 return SWIG_Python_InitShadowInstance(args
);
16068 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16071 int arg2
= (int) 0 ;
16072 wxSpinEvent
*result
= 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "commandType",(char *) "winid", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16086 if (!SWIG_IsOK(ecode1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16089 arg1
= static_cast< wxEventType
>(val1
);
16092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16093 if (!SWIG_IsOK(ecode2
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16096 arg2
= static_cast< int >(val2
);
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16111 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16112 PyObject
*resultobj
= 0;
16113 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16117 PyObject
*swig_obj
[1] ;
16119 if (!args
) SWIG_fail
;
16120 swig_obj
[0] = args
;
16121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16122 if (!SWIG_IsOK(res1
)) {
16123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16125 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_From_int(static_cast< int >(result
));
16139 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
= 0;
16141 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 PyObject
* obj1
= 0 ;
16149 char * kwnames
[] = {
16150 (char *) "self",(char *) "pos", NULL
16153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16155 if (!SWIG_IsOK(res1
)) {
16156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16158 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16160 if (!SWIG_IsOK(ecode2
)) {
16161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16163 arg2
= static_cast< int >(val2
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->SetPosition(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_Py_Void();
16177 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16180 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16181 return SWIG_Py_Void();
16184 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16185 return SWIG_Python_InitShadowInstance(args
);
16188 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16189 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16194 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16195 PyObject
*pyobj
= 0;
16199 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16201 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16208 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16209 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16214 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16215 PyObject
*pyobj
= 0;
16219 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16221 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16228 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
= 0;
16230 wxWindow
*arg1
= (wxWindow
*) 0 ;
16231 int arg2
= (int) -1 ;
16232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16238 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16239 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16240 int arg7
= (int) 0 ;
16241 long arg8
= (long) wxRA_HORIZONTAL
;
16242 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16243 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16244 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16245 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16246 wxRadioBox
*result
= 0 ;
16251 bool temp3
= false ;
16254 bool temp6
= false ;
16261 bool temp10
= false ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 PyObject
* obj2
= 0 ;
16265 PyObject
* obj3
= 0 ;
16266 PyObject
* obj4
= 0 ;
16267 PyObject
* obj5
= 0 ;
16268 PyObject
* obj6
= 0 ;
16269 PyObject
* obj7
= 0 ;
16270 PyObject
* obj8
= 0 ;
16271 PyObject
* obj9
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16284 if (!SWIG_IsOK(ecode2
)) {
16285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16287 arg2
= static_cast< int >(val2
);
16291 arg3
= wxString_in_helper(obj2
);
16292 if (arg3
== NULL
) SWIG_fail
;
16299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16310 if (! PySequence_Check(obj5
)) {
16311 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16314 arg6
= new wxArrayString
;
16316 int i
, len
=PySequence_Length(obj5
);
16317 for (i
=0; i
<len
; i
++) {
16318 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16319 wxString
* s
= wxString_in_helper(item
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16328 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16329 if (!SWIG_IsOK(ecode7
)) {
16330 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16332 arg7
= static_cast< int >(val7
);
16335 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16336 if (!SWIG_IsOK(ecode8
)) {
16337 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16339 arg8
= static_cast< long >(val8
);
16342 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16343 if (!SWIG_IsOK(res9
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16349 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16353 arg10
= wxString_in_helper(obj9
);
16354 if (arg10
== NULL
) SWIG_fail
;
16359 if (!wxPyCheckForApp()) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 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
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16371 if (temp6
) delete arg6
;
16384 if (temp6
) delete arg6
;
16394 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16395 PyObject
*resultobj
= 0;
16396 wxRadioBox
*result
= 0 ;
16398 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16400 if (!wxPyCheckForApp()) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (wxRadioBox
*)new wxRadioBox();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16413 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
= 0;
16415 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16416 wxWindow
*arg2
= (wxWindow
*) 0 ;
16417 int arg3
= (int) -1 ;
16418 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16419 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16420 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16421 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16422 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16423 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16424 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16425 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16426 int arg8
= (int) 0 ;
16427 long arg9
= (long) wxRA_HORIZONTAL
;
16428 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16429 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16430 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16431 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16439 bool temp4
= false ;
16442 bool temp7
= false ;
16449 bool temp11
= false ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 PyObject
* obj2
= 0 ;
16453 PyObject
* obj3
= 0 ;
16454 PyObject
* obj4
= 0 ;
16455 PyObject
* obj5
= 0 ;
16456 PyObject
* obj6
= 0 ;
16457 PyObject
* obj7
= 0 ;
16458 PyObject
* obj8
= 0 ;
16459 PyObject
* obj9
= 0 ;
16460 PyObject
* obj10
= 0 ;
16461 char * kwnames
[] = {
16462 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16470 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16472 if (!SWIG_IsOK(res2
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16475 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16478 if (!SWIG_IsOK(ecode3
)) {
16479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16481 arg3
= static_cast< int >(val3
);
16485 arg4
= wxString_in_helper(obj3
);
16486 if (arg4
== NULL
) SWIG_fail
;
16493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16504 if (! PySequence_Check(obj6
)) {
16505 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16508 arg7
= new wxArrayString
;
16510 int i
, len
=PySequence_Length(obj6
);
16511 for (i
=0; i
<len
; i
++) {
16512 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16513 wxString
* s
= wxString_in_helper(item
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16522 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16523 if (!SWIG_IsOK(ecode8
)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16526 arg8
= static_cast< int >(val8
);
16529 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16530 if (!SWIG_IsOK(ecode9
)) {
16531 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16533 arg9
= static_cast< long >(val9
);
16536 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16537 if (!SWIG_IsOK(res10
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16543 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16547 arg11
= wxString_in_helper(obj10
);
16548 if (arg11
== NULL
) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 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
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16566 if (temp7
) delete arg7
;
16579 if (temp7
) delete arg7
;
16589 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
= 0;
16591 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "self",(char *) "n", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16608 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16610 if (!SWIG_IsOK(ecode2
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16613 arg2
= static_cast< int >(val2
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 (arg1
)->SetSelection(arg2
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_Py_Void();
16627 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16628 PyObject
*resultobj
= 0;
16629 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16633 PyObject
*swig_obj
[1] ;
16635 if (!args
) SWIG_fail
;
16636 swig_obj
[0] = args
;
16637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16638 if (!SWIG_IsOK(res1
)) {
16639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16641 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_From_int(static_cast< int >(result
));
16655 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16656 PyObject
*resultobj
= 0;
16657 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16661 PyObject
*swig_obj
[1] ;
16663 if (!args
) SWIG_fail
;
16664 swig_obj
[0] = args
;
16665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16666 if (!SWIG_IsOK(res1
)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16669 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16689 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= 0;
16691 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16692 wxString
*arg2
= 0 ;
16696 bool temp2
= false ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "self",(char *) "s", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16708 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16710 arg2
= wxString_in_helper(obj1
);
16711 if (arg2
== NULL
) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16737 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16738 PyObject
*resultobj
= 0;
16739 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16743 PyObject
*swig_obj
[1] ;
16745 if (!args
) SWIG_fail
;
16746 swig_obj
[0] = args
;
16747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16751 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16765 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
= 0;
16767 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16768 wxString
*arg2
= 0 ;
16772 bool temp2
= false ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char * kwnames
[] = {
16776 (char *) "self",(char *) "s", NULL
16779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16784 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16786 arg2
= wxString_in_helper(obj1
);
16787 if (arg2
== NULL
) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_From_int(static_cast< int >(result
));
16811 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
= 0;
16813 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 char * kwnames
[] = {
16823 (char *) "self",(char *) "n", NULL
16826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16831 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16833 if (!SWIG_IsOK(ecode2
)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16836 arg2
= static_cast< int >(val2
);
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16856 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
= 0;
16858 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16860 wxString
*arg3
= 0 ;
16865 bool temp3
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 PyObject
* obj2
= 0 ;
16869 char * kwnames
[] = {
16870 (char *) "self",(char *) "n",(char *) "label", NULL
16873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16878 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16880 if (!SWIG_IsOK(ecode2
)) {
16881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16883 arg2
= static_cast< int >(val2
);
16885 arg3
= wxString_in_helper(obj2
);
16886 if (arg3
== NULL
) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_Py_Void();
16910 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16913 unsigned int arg2
;
16914 bool arg3
= (bool) true ;
16917 unsigned int val2
;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "self",(char *) "n",(char *) "enable", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16933 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16934 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16935 if (!SWIG_IsOK(ecode2
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16938 arg2
= static_cast< unsigned int >(val2
);
16940 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16941 if (!SWIG_IsOK(ecode3
)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16944 arg3
= static_cast< bool >(val3
);
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 (arg1
)->Enable(arg2
,arg3
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_Py_Void();
16959 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
= 0;
16961 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16962 unsigned int arg2
;
16963 bool arg3
= (bool) true ;
16966 unsigned int val2
;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 PyObject
* obj2
= 0 ;
16973 char * kwnames
[] = {
16974 (char *) "self",(char *) "n",(char *) "show", NULL
16977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16979 if (!SWIG_IsOK(res1
)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16982 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16983 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16984 if (!SWIG_IsOK(ecode2
)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16987 arg2
= static_cast< unsigned int >(val2
);
16989 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16990 if (!SWIG_IsOK(ecode3
)) {
16991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16993 arg3
= static_cast< bool >(val3
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->Show(arg2
,arg3
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_Py_Void();
17008 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
= 0;
17010 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17011 unsigned int arg2
;
17015 unsigned int val2
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "n", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17028 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17029 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17030 if (!SWIG_IsOK(ecode2
)) {
17031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
17033 arg2
= static_cast< unsigned int >(val2
);
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17049 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
= 0;
17051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17052 unsigned int arg2
;
17056 unsigned int val2
;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "n", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) 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_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17069 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17070 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17071 if (!SWIG_IsOK(ecode2
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17074 arg2
= static_cast< unsigned int >(val2
);
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17090 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17091 PyObject
*resultobj
= 0;
17092 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17093 unsigned int result
;
17096 PyObject
*swig_obj
[1] ;
17098 if (!args
) SWIG_fail
;
17099 swig_obj
[0] = args
;
17100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17104 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17118 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17119 PyObject
*resultobj
= 0;
17120 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17121 unsigned int result
;
17124 PyObject
*swig_obj
[1] ;
17126 if (!args
) SWIG_fail
;
17127 swig_obj
[0] = args
;
17128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17129 if (!SWIG_IsOK(res1
)) {
17130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17132 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17146 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
= 0;
17148 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 PyObject
* obj2
= 0 ;
17164 PyObject
* obj3
= 0 ;
17165 char * kwnames
[] = {
17166 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17171 if (!SWIG_IsOK(res1
)) {
17172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17174 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17176 if (!SWIG_IsOK(ecode2
)) {
17177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17179 arg2
= static_cast< int >(val2
);
17180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17181 if (!SWIG_IsOK(ecode3
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17184 arg3
= static_cast< wxDirection
>(val3
);
17185 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17186 if (!SWIG_IsOK(ecode4
)) {
17187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17189 arg4
= static_cast< long >(val4
);
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_From_int(static_cast< int >(result
));
17203 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
= 0;
17205 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17206 unsigned int arg2
;
17207 wxString
*arg3
= 0 ;
17210 unsigned int val2
;
17212 bool temp3
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 char * kwnames
[] = {
17217 (char *) "self",(char *) "item",(char *) "text", NULL
17220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17222 if (!SWIG_IsOK(res1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17225 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17226 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17227 if (!SWIG_IsOK(ecode2
)) {
17228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17230 arg2
= static_cast< unsigned int >(val2
);
17232 arg3
= wxString_in_helper(obj2
);
17233 if (arg3
== NULL
) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17260 unsigned int arg2
;
17261 wxToolTip
*result
= 0 ;
17264 unsigned int val2
;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char * kwnames
[] = {
17269 (char *) "self",(char *) "item", NULL
17272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17274 if (!SWIG_IsOK(res1
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17277 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17278 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17279 if (!SWIG_IsOK(ecode2
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17282 arg2
= static_cast< unsigned int >(val2
);
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17298 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
= 0;
17300 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17301 unsigned int arg2
;
17302 wxString
*arg3
= 0 ;
17305 unsigned int val2
;
17307 bool temp3
= false ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 PyObject
* obj2
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "n",(char *) "helpText", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17320 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17321 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17322 if (!SWIG_IsOK(ecode2
)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17325 arg2
= static_cast< unsigned int >(val2
);
17327 arg3
= wxString_in_helper(obj2
);
17328 if (arg3
== NULL
) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_Py_Void();
17352 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
= 0;
17354 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17355 unsigned int arg2
;
17359 unsigned int val2
;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "self",(char *) "n", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17372 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17373 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17374 if (!SWIG_IsOK(ecode2
)) {
17375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17377 arg2
= static_cast< unsigned int >(val2
);
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17397 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
= 0;
17399 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17400 SwigValueWrapper
<wxVisualAttributes
> result
;
17403 PyObject
* obj0
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "variant", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17410 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17411 if (!SWIG_IsOK(ecode1
)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17414 arg1
= static_cast< wxWindowVariant
>(val1
);
17417 if (!wxPyCheckForApp()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17430 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17433 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17434 return SWIG_Py_Void();
17437 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17438 return SWIG_Python_InitShadowInstance(args
);
17441 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= 0;
17443 wxWindow
*arg1
= (wxWindow
*) 0 ;
17444 int arg2
= (int) -1 ;
17445 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17446 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17451 long arg6
= (long) 0 ;
17452 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17453 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17454 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17455 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17456 wxRadioButton
*result
= 0 ;
17461 bool temp3
= false ;
17468 bool temp8
= false ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 PyObject
* obj2
= 0 ;
17472 PyObject
* obj3
= 0 ;
17473 PyObject
* obj4
= 0 ;
17474 PyObject
* obj5
= 0 ;
17475 PyObject
* obj6
= 0 ;
17476 PyObject
* obj7
= 0 ;
17477 char * kwnames
[] = {
17478 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17483 if (!SWIG_IsOK(res1
)) {
17484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17489 if (!SWIG_IsOK(ecode2
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17492 arg2
= static_cast< int >(val2
);
17496 arg3
= wxString_in_helper(obj2
);
17497 if (arg3
== NULL
) SWIG_fail
;
17504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17514 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17515 if (!SWIG_IsOK(ecode6
)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17518 arg6
= static_cast< long >(val6
);
17521 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17522 if (!SWIG_IsOK(res7
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17528 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17532 arg8
= wxString_in_helper(obj7
);
17533 if (arg8
== NULL
) SWIG_fail
;
17538 if (!wxPyCheckForApp()) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17567 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17568 PyObject
*resultobj
= 0;
17569 wxRadioButton
*result
= 0 ;
17571 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17573 if (!wxPyCheckForApp()) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (wxRadioButton
*)new wxRadioButton();
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17586 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
= 0;
17588 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17589 wxWindow
*arg2
= (wxWindow
*) 0 ;
17590 int arg3
= (int) -1 ;
17591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17597 long arg7
= (long) 0 ;
17598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17600 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17609 bool temp4
= false ;
17616 bool temp9
= false ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 PyObject
* obj2
= 0 ;
17620 PyObject
* obj3
= 0 ;
17621 PyObject
* obj4
= 0 ;
17622 PyObject
* obj5
= 0 ;
17623 PyObject
* obj6
= 0 ;
17624 PyObject
* obj7
= 0 ;
17625 PyObject
* obj8
= 0 ;
17626 char * kwnames
[] = {
17627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17632 if (!SWIG_IsOK(res1
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17635 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17637 if (!SWIG_IsOK(res2
)) {
17638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17643 if (!SWIG_IsOK(ecode3
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17646 arg3
= static_cast< int >(val3
);
17650 arg4
= wxString_in_helper(obj3
);
17651 if (arg4
== NULL
) SWIG_fail
;
17658 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17664 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17668 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17669 if (!SWIG_IsOK(ecode7
)) {
17670 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17672 arg7
= static_cast< long >(val7
);
17675 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17676 if (!SWIG_IsOK(res8
)) {
17677 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17682 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17686 arg9
= wxString_in_helper(obj8
);
17687 if (arg9
== NULL
) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17722 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17723 PyObject
*resultobj
= 0;
17724 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17728 PyObject
*swig_obj
[1] ;
17730 if (!args
) SWIG_fail
;
17731 swig_obj
[0] = args
;
17732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17736 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (bool)(arg1
)->GetValue();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17752 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
= 0;
17754 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char * kwnames
[] = {
17763 (char *) "self",(char *) "value", NULL
17766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17768 if (!SWIG_IsOK(res1
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17771 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17773 if (!SWIG_IsOK(ecode2
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17776 arg2
= static_cast< bool >(val2
);
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetValue(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17790 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= 0;
17792 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17793 SwigValueWrapper
<wxVisualAttributes
> result
;
17796 PyObject
* obj0
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "variant", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17804 if (!SWIG_IsOK(ecode1
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17807 arg1
= static_cast< wxWindowVariant
>(val1
);
17810 if (!wxPyCheckForApp()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17823 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17826 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17827 return SWIG_Py_Void();
17830 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17831 return SWIG_Python_InitShadowInstance(args
);
17834 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17835 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17840 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17841 PyObject
*pyobj
= 0;
17845 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17847 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17854 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= 0;
17856 wxWindow
*arg1
= (wxWindow
*) 0 ;
17857 int arg2
= (int) -1 ;
17858 int arg3
= (int) 0 ;
17859 int arg4
= (int) 0 ;
17860 int arg5
= (int) 100 ;
17861 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17862 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17863 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17864 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17865 long arg8
= (long) wxSL_HORIZONTAL
;
17866 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17867 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17868 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17869 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17870 wxSlider
*result
= 0 ;
17887 bool temp10
= false ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 PyObject
* obj2
= 0 ;
17891 PyObject
* obj3
= 0 ;
17892 PyObject
* obj4
= 0 ;
17893 PyObject
* obj5
= 0 ;
17894 PyObject
* obj6
= 0 ;
17895 PyObject
* obj7
= 0 ;
17896 PyObject
* obj8
= 0 ;
17897 PyObject
* obj9
= 0 ;
17898 char * kwnames
[] = {
17899 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17904 if (!SWIG_IsOK(res1
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17910 if (!SWIG_IsOK(ecode2
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17913 arg2
= static_cast< int >(val2
);
17916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17917 if (!SWIG_IsOK(ecode3
)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17920 arg3
= static_cast< int >(val3
);
17923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17924 if (!SWIG_IsOK(ecode4
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17927 arg4
= static_cast< int >(val4
);
17930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17931 if (!SWIG_IsOK(ecode5
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17934 arg5
= static_cast< int >(val5
);
17939 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17945 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17949 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17950 if (!SWIG_IsOK(ecode8
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17953 arg8
= static_cast< long >(val8
);
17956 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17957 if (!SWIG_IsOK(res9
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17963 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17967 arg10
= wxString_in_helper(obj9
);
17968 if (arg10
== NULL
) SWIG_fail
;
17973 if (!wxPyCheckForApp()) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17994 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17995 PyObject
*resultobj
= 0;
17996 wxSlider
*result
= 0 ;
17998 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
18000 if (!wxPyCheckForApp()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (wxSlider
*)new wxSlider();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
18013 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
= 0;
18015 wxSlider
*arg1
= (wxSlider
*) 0 ;
18016 wxWindow
*arg2
= (wxWindow
*) 0 ;
18017 int arg3
= (int) -1 ;
18018 int arg4
= (int) 0 ;
18019 int arg5
= (int) 0 ;
18020 int arg6
= (int) 100 ;
18021 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18022 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18023 wxSize
const &arg8_defvalue
= wxDefaultSize
;
18024 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
18025 long arg9
= (long) wxSL_HORIZONTAL
;
18026 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
18027 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
18028 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
18029 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18049 bool temp11
= false ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 PyObject
* obj2
= 0 ;
18053 PyObject
* obj3
= 0 ;
18054 PyObject
* obj4
= 0 ;
18055 PyObject
* obj5
= 0 ;
18056 PyObject
* obj6
= 0 ;
18057 PyObject
* obj7
= 0 ;
18058 PyObject
* obj8
= 0 ;
18059 PyObject
* obj9
= 0 ;
18060 PyObject
* obj10
= 0 ;
18061 char * kwnames
[] = {
18062 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18067 if (!SWIG_IsOK(res1
)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18070 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18072 if (!SWIG_IsOK(res2
)) {
18073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18075 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18078 if (!SWIG_IsOK(ecode3
)) {
18079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18081 arg3
= static_cast< int >(val3
);
18084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18085 if (!SWIG_IsOK(ecode4
)) {
18086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18088 arg4
= static_cast< int >(val4
);
18091 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18092 if (!SWIG_IsOK(ecode5
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18095 arg5
= static_cast< int >(val5
);
18098 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18099 if (!SWIG_IsOK(ecode6
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18102 arg6
= static_cast< int >(val6
);
18107 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18113 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18117 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18118 if (!SWIG_IsOK(ecode9
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18121 arg9
= static_cast< long >(val9
);
18124 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18125 if (!SWIG_IsOK(res10
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18131 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18135 arg11
= wxString_in_helper(obj10
);
18136 if (arg11
== NULL
) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18163 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18164 PyObject
*resultobj
= 0;
18165 wxSlider
*arg1
= (wxSlider
*) 0 ;
18169 PyObject
*swig_obj
[1] ;
18171 if (!args
) SWIG_fail
;
18172 swig_obj
[0] = args
;
18173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18177 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_From_int(static_cast< int >(result
));
18191 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
= 0;
18193 wxSlider
*arg1
= (wxSlider
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "self",(char *) "value", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18210 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18212 if (!SWIG_IsOK(ecode2
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18215 arg2
= static_cast< int >(val2
);
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetValue(arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
= 0;
18231 wxSlider
*arg1
= (wxSlider
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 PyObject
* obj2
= 0 ;
18243 char * kwnames
[] = {
18244 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18249 if (!SWIG_IsOK(res1
)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18252 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18254 if (!SWIG_IsOK(ecode2
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18257 arg2
= static_cast< int >(val2
);
18258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18259 if (!SWIG_IsOK(ecode3
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18262 arg3
= static_cast< int >(val3
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetRange(arg2
,arg3
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_Py_Void();
18276 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 PyObject
*resultobj
= 0;
18278 wxSlider
*arg1
= (wxSlider
*) 0 ;
18282 PyObject
*swig_obj
[1] ;
18284 if (!args
) SWIG_fail
;
18285 swig_obj
[0] = args
;
18286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18287 if (!SWIG_IsOK(res1
)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18290 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_From_int(static_cast< int >(result
));
18304 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18305 PyObject
*resultobj
= 0;
18306 wxSlider
*arg1
= (wxSlider
*) 0 ;
18310 PyObject
*swig_obj
[1] ;
18312 if (!args
) SWIG_fail
;
18313 swig_obj
[0] = args
;
18314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18315 if (!SWIG_IsOK(res1
)) {
18316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18318 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_From_int(static_cast< int >(result
));
18332 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
= 0;
18334 wxSlider
*arg1
= (wxSlider
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 char * kwnames
[] = {
18343 (char *) "self",(char *) "minValue", NULL
18346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18348 if (!SWIG_IsOK(res1
)) {
18349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18351 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18353 if (!SWIG_IsOK(ecode2
)) {
18354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18356 arg2
= static_cast< int >(val2
);
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetMin(arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_Py_Void();
18370 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
= 0;
18372 wxSlider
*arg1
= (wxSlider
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 PyObject
* obj1
= 0 ;
18380 char * kwnames
[] = {
18381 (char *) "self",(char *) "maxValue", NULL
18384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18386 if (!SWIG_IsOK(res1
)) {
18387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18389 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18391 if (!SWIG_IsOK(ecode2
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18394 arg2
= static_cast< int >(val2
);
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 (arg1
)->SetMax(arg2
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= SWIG_Py_Void();
18408 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= 0;
18410 wxSlider
*arg1
= (wxSlider
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "self",(char *) "lineSize", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18427 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18429 if (!SWIG_IsOK(ecode2
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18432 arg2
= static_cast< int >(val2
);
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetLineSize(arg2
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_Py_Void();
18446 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
= 0;
18448 wxSlider
*arg1
= (wxSlider
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "pageSize", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18465 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18467 if (!SWIG_IsOK(ecode2
)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18470 arg2
= static_cast< int >(val2
);
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->SetPageSize(arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_Py_Void();
18484 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18485 PyObject
*resultobj
= 0;
18486 wxSlider
*arg1
= (wxSlider
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18498 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_From_int(static_cast< int >(result
));
18512 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxSlider
*arg1
= (wxSlider
*) 0 ;
18518 PyObject
*swig_obj
[1] ;
18520 if (!args
) SWIG_fail
;
18521 swig_obj
[0] = args
;
18522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18526 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int(static_cast< int >(result
));
18540 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxSlider
*arg1
= (wxSlider
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char * kwnames
[] = {
18551 (char *) "self",(char *) "lenPixels", NULL
18554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18556 if (!SWIG_IsOK(res1
)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18559 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18561 if (!SWIG_IsOK(ecode2
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18564 arg2
= static_cast< int >(val2
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetThumbLength(arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_Py_Void();
18578 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxSlider
*arg1
= (wxSlider
*) 0 ;
18584 PyObject
*swig_obj
[1] ;
18586 if (!args
) SWIG_fail
;
18587 swig_obj
[0] = args
;
18588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18592 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_From_int(static_cast< int >(result
));
18606 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxSlider
*arg1
= (wxSlider
*) 0 ;
18610 int arg3
= (int) 1 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 PyObject
* obj2
= 0 ;
18620 char * kwnames
[] = {
18621 (char *) "self",(char *) "n",(char *) "pos", NULL
18624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18629 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18631 if (!SWIG_IsOK(ecode2
)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18634 arg2
= static_cast< int >(val2
);
18636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18637 if (!SWIG_IsOK(ecode3
)) {
18638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18640 arg3
= static_cast< int >(val3
);
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetTickFreq(arg2
,arg3
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_Py_Void();
18655 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18656 PyObject
*resultobj
= 0;
18657 wxSlider
*arg1
= (wxSlider
*) 0 ;
18661 PyObject
*swig_obj
[1] ;
18663 if (!args
) SWIG_fail
;
18664 swig_obj
[0] = args
;
18665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18669 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_From_int(static_cast< int >(result
));
18683 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18684 PyObject
*resultobj
= 0;
18685 wxSlider
*arg1
= (wxSlider
*) 0 ;
18688 PyObject
*swig_obj
[1] ;
18690 if (!args
) SWIG_fail
;
18691 swig_obj
[0] = args
;
18692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18696 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->ClearTicks();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_Py_Void();
18710 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
= 0;
18712 wxSlider
*arg1
= (wxSlider
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char * kwnames
[] = {
18721 (char *) "self",(char *) "tickPos", NULL
18724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18726 if (!SWIG_IsOK(res1
)) {
18727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18729 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18731 if (!SWIG_IsOK(ecode2
)) {
18732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18734 arg2
= static_cast< int >(val2
);
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->SetTick(arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_Py_Void();
18748 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18749 PyObject
*resultobj
= 0;
18750 wxSlider
*arg1
= (wxSlider
*) 0 ;
18753 PyObject
*swig_obj
[1] ;
18755 if (!args
) SWIG_fail
;
18756 swig_obj
[0] = args
;
18757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18758 if (!SWIG_IsOK(res1
)) {
18759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18761 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->ClearSel();
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18776 PyObject
*resultobj
= 0;
18777 wxSlider
*arg1
= (wxSlider
*) 0 ;
18781 PyObject
*swig_obj
[1] ;
18783 if (!args
) SWIG_fail
;
18784 swig_obj
[0] = args
;
18785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18789 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_From_int(static_cast< int >(result
));
18803 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18804 PyObject
*resultobj
= 0;
18805 wxSlider
*arg1
= (wxSlider
*) 0 ;
18809 PyObject
*swig_obj
[1] ;
18811 if (!args
) SWIG_fail
;
18812 swig_obj
[0] = args
;
18813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18814 if (!SWIG_IsOK(res1
)) {
18815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18817 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_From_int(static_cast< int >(result
));
18831 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxSlider
*arg1
= (wxSlider
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 PyObject
* obj2
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "min",(char *) "max", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18854 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18856 if (!SWIG_IsOK(ecode2
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18859 arg2
= static_cast< int >(val2
);
18860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18861 if (!SWIG_IsOK(ecode3
)) {
18862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18864 arg3
= static_cast< int >(val3
);
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 (arg1
)->SetSelection(arg2
,arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= SWIG_Py_Void();
18878 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= 0;
18880 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18881 SwigValueWrapper
<wxVisualAttributes
> result
;
18884 PyObject
* obj0
= 0 ;
18885 char * kwnames
[] = {
18886 (char *) "variant", NULL
18889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18892 if (!SWIG_IsOK(ecode1
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18895 arg1
= static_cast< wxWindowVariant
>(val1
);
18898 if (!wxPyCheckForApp()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18911 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18914 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18915 return SWIG_Py_Void();
18918 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 return SWIG_Python_InitShadowInstance(args
);
18922 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18923 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18928 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18929 PyObject
*pyobj
= 0;
18933 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18935 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18942 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
= 0;
18944 wxWindow
*arg1
= (wxWindow
*) 0 ;
18945 int arg2
= (int) -1 ;
18946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18952 long arg6
= (long) 0 ;
18953 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18954 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18955 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18956 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18957 wxToggleButton
*result
= 0 ;
18962 bool temp3
= false ;
18969 bool temp8
= false ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 PyObject
* obj2
= 0 ;
18973 PyObject
* obj3
= 0 ;
18974 PyObject
* obj4
= 0 ;
18975 PyObject
* obj5
= 0 ;
18976 PyObject
* obj6
= 0 ;
18977 PyObject
* obj7
= 0 ;
18978 char * kwnames
[] = {
18979 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18984 if (!SWIG_IsOK(res1
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18990 if (!SWIG_IsOK(ecode2
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18993 arg2
= static_cast< int >(val2
);
18997 arg3
= wxString_in_helper(obj2
);
18998 if (arg3
== NULL
) SWIG_fail
;
19005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19015 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19016 if (!SWIG_IsOK(ecode6
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
19019 arg6
= static_cast< long >(val6
);
19022 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
19023 if (!SWIG_IsOK(res7
)) {
19024 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19029 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
19033 arg8
= wxString_in_helper(obj7
);
19034 if (arg8
== NULL
) SWIG_fail
;
19039 if (!wxPyCheckForApp()) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19068 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19069 PyObject
*resultobj
= 0;
19070 wxToggleButton
*result
= 0 ;
19072 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19074 if (!wxPyCheckForApp()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (wxToggleButton
*)new wxToggleButton();
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19087 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
= 0;
19089 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19090 wxWindow
*arg2
= (wxWindow
*) 0 ;
19091 int arg3
= (int) -1 ;
19092 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19093 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19098 long arg7
= (long) 0 ;
19099 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19100 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19101 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19102 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19110 bool temp4
= false ;
19117 bool temp9
= false ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 PyObject
* obj2
= 0 ;
19121 PyObject
* obj3
= 0 ;
19122 PyObject
* obj4
= 0 ;
19123 PyObject
* obj5
= 0 ;
19124 PyObject
* obj6
= 0 ;
19125 PyObject
* obj7
= 0 ;
19126 PyObject
* obj8
= 0 ;
19127 char * kwnames
[] = {
19128 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19133 if (!SWIG_IsOK(res1
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19136 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19138 if (!SWIG_IsOK(res2
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19144 if (!SWIG_IsOK(ecode3
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19147 arg3
= static_cast< int >(val3
);
19151 arg4
= wxString_in_helper(obj3
);
19152 if (arg4
== NULL
) SWIG_fail
;
19159 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19165 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19169 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19170 if (!SWIG_IsOK(ecode7
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19173 arg7
= static_cast< long >(val7
);
19176 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19177 if (!SWIG_IsOK(res8
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19183 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19187 arg9
= wxString_in_helper(obj8
);
19188 if (arg9
== NULL
) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19223 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "value", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19242 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19244 if (!SWIG_IsOK(ecode2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19247 arg2
= static_cast< bool >(val2
);
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 (arg1
)->SetValue(arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_Py_Void();
19261 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 PyObject
*resultobj
= 0;
19263 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19267 PyObject
*swig_obj
[1] ;
19269 if (!args
) SWIG_fail
;
19270 swig_obj
[0] = args
;
19271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19275 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19291 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19294 SwigValueWrapper
<wxVisualAttributes
> result
;
19297 PyObject
* obj0
= 0 ;
19298 char * kwnames
[] = {
19299 (char *) "variant", NULL
19302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19305 if (!SWIG_IsOK(ecode1
)) {
19306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19308 arg1
= static_cast< wxWindowVariant
>(val1
);
19311 if (!wxPyCheckForApp()) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19324 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19327 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19328 return SWIG_Py_Void();
19331 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19332 return SWIG_Python_InitShadowInstance(args
);
19335 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19336 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19341 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19342 PyObject
*pyobj
= 0;
19346 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19348 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19355 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19356 PyObject
*resultobj
= 0;
19357 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19361 PyObject
*swig_obj
[1] ;
19363 if (!args
) SWIG_fail
;
19364 swig_obj
[0] = args
;
19365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19369 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19383 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
= 0;
19385 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19387 wxWindow
*result
= 0 ;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 char * kwnames
[] = {
19395 (char *) "self",(char *) "n", NULL
19398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19400 if (!SWIG_IsOK(res1
)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19403 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19404 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19405 if (!SWIG_IsOK(ecode2
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19408 arg2
= static_cast< size_t >(val2
);
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= wxPyMake_wxObject(result
, 0);
19424 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19425 PyObject
*resultobj
= 0;
19426 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19427 wxWindow
*result
= 0 ;
19430 PyObject
*swig_obj
[1] ;
19432 if (!args
) SWIG_fail
;
19433 swig_obj
[0] = args
;
19434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19435 if (!SWIG_IsOK(res1
)) {
19436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19438 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= wxPyMake_wxObject(result
, 0);
19454 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19455 PyObject
*resultobj
= 0;
19456 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19460 PyObject
*swig_obj
[1] ;
19462 if (!args
) SWIG_fail
;
19463 swig_obj
[0] = args
;
19464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19465 if (!SWIG_IsOK(res1
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19468 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_From_int(static_cast< int >(result
));
19482 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
= 0;
19484 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19486 wxString
*arg3
= 0 ;
19492 bool temp3
= false ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 PyObject
* obj2
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "n",(char *) "strText", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19505 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19506 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19507 if (!SWIG_IsOK(ecode2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19510 arg2
= static_cast< size_t >(val2
);
19512 arg3
= wxString_in_helper(obj2
);
19513 if (arg3
== NULL
) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19539 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= 0;
19541 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "n", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19559 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19560 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19561 if (!SWIG_IsOK(ecode2
)) {
19562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19564 arg2
= static_cast< size_t >(val2
);
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19584 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19587 wxImageList
*arg2
= (wxImageList
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char * kwnames
[] = {
19595 (char *) "self",(char *) "imageList", NULL
19598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",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_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19603 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19605 if (!SWIG_IsOK(res2
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19608 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetImageList(arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19625 wxImageList
*arg2
= (wxImageList
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "imageList", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19640 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19641 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19642 if (!SWIG_IsOK(res2
)) {
19643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 (arg1
)->AssignImageList(arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_Py_Void();
19658 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19659 PyObject
*resultobj
= 0;
19660 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19661 wxImageList
*result
= 0 ;
19664 PyObject
*swig_obj
[1] ;
19666 if (!args
) SWIG_fail
;
19667 swig_obj
[0] = args
;
19668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19669 if (!SWIG_IsOK(res1
)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19672 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19688 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= 0;
19690 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "n", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19708 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19710 if (!SWIG_IsOK(ecode2
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19713 arg2
= static_cast< size_t >(val2
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_From_int(static_cast< int >(result
));
19727 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
= 0;
19729 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "n",(char *) "imageId", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19751 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19752 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19753 if (!SWIG_IsOK(ecode2
)) {
19754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19756 arg2
= static_cast< size_t >(val2
);
19757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19758 if (!SWIG_IsOK(ecode3
)) {
19759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19761 arg3
= static_cast< int >(val3
);
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19777 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
= 0;
19779 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char * kwnames
[] = {
19787 (char *) "self",(char *) "size", NULL
19790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19792 if (!SWIG_IsOK(res1
)) {
19793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19795 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_Py_Void();
19813 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
= 0;
19815 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char * kwnames
[] = {
19824 (char *) "self",(char *) "sizePage", NULL
19827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19832 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19835 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19850 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19851 PyObject
*resultobj
= 0;
19852 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19853 unsigned int result
;
19856 PyObject
*swig_obj
[1] ;
19858 if (!args
) SWIG_fail
;
19859 swig_obj
[0] = args
;
19860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19861 if (!SWIG_IsOK(res1
)) {
19862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19864 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19878 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19881 unsigned int arg2
;
19884 unsigned int val2
;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char * kwnames
[] = {
19889 (char *) "self",(char *) "internalBorder", NULL
19892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19897 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19898 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19899 if (!SWIG_IsOK(ecode2
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19902 arg2
= static_cast< unsigned int >(val2
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 (arg1
)->SetInternalBorder(arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_Py_Void();
19916 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19917 PyObject
*resultobj
= 0;
19918 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19922 PyObject
*swig_obj
[1] ;
19924 if (!args
) SWIG_fail
;
19925 swig_obj
[0] = args
;
19926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19930 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19946 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= 0;
19948 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 char * kwnames
[] = {
19957 (char *) "self",(char *) "margin", NULL
19960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19965 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19967 if (!SWIG_IsOK(ecode2
)) {
19968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19970 arg2
= static_cast< int >(val2
);
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetControlMargin(arg2
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_Py_Void();
19984 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19985 PyObject
*resultobj
= 0;
19986 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19990 PyObject
*swig_obj
[1] ;
19992 if (!args
) SWIG_fail
;
19993 swig_obj
[0] = args
;
19994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19998 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_From_int(static_cast< int >(result
));
20012 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 char * kwnames
[] = {
20023 (char *) "self",(char *) "fit", NULL
20026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20028 if (!SWIG_IsOK(res1
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20031 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20033 if (!SWIG_IsOK(ecode2
)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
20036 arg2
= static_cast< bool >(val2
);
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 (arg1
)->SetFitToCurrentPage(arg2
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_Py_Void();
20050 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20051 PyObject
*resultobj
= 0;
20052 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20056 PyObject
*swig_obj
[1] ;
20058 if (!args
) SWIG_fail
;
20059 swig_obj
[0] = args
;
20060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20061 if (!SWIG_IsOK(res1
)) {
20062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20064 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20080 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20081 PyObject
*resultobj
= 0;
20082 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20083 wxSizer
*result
= 0 ;
20086 PyObject
*swig_obj
[1] ;
20088 if (!args
) SWIG_fail
;
20089 swig_obj
[0] = args
;
20090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20091 if (!SWIG_IsOK(res1
)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20094 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20110 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
= 0;
20112 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "n", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20130 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20131 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20132 if (!SWIG_IsOK(ecode2
)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20135 arg2
= static_cast< size_t >(val2
);
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)(arg1
)->DeletePage(arg2
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
= 0;
20153 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "n", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20171 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20172 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20173 if (!SWIG_IsOK(ecode2
)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20176 arg2
= static_cast< size_t >(val2
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->RemovePage(arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20192 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20193 PyObject
*resultobj
= 0;
20194 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20198 PyObject
*swig_obj
[1] ;
20200 if (!args
) SWIG_fail
;
20201 swig_obj
[0] = args
;
20202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20206 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (bool)(arg1
)->DeleteAllPages();
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20222 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
= 0;
20224 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20225 wxWindow
*arg2
= (wxWindow
*) 0 ;
20226 wxString
*arg3
= 0 ;
20227 bool arg4
= (bool) false ;
20228 int arg5
= (int) -1 ;
20234 bool temp3
= false ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 PyObject
* obj2
= 0 ;
20242 PyObject
* obj3
= 0 ;
20243 PyObject
* obj4
= 0 ;
20244 char * kwnames
[] = {
20245 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20253 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20255 if (!SWIG_IsOK(res2
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20260 arg3
= wxString_in_helper(obj2
);
20261 if (arg3
== NULL
) SWIG_fail
;
20265 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20266 if (!SWIG_IsOK(ecode4
)) {
20267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20269 arg4
= static_cast< bool >(val4
);
20272 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20273 if (!SWIG_IsOK(ecode5
)) {
20274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20276 arg5
= static_cast< int >(val5
);
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20301 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
= 0;
20303 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20305 wxWindow
*arg3
= (wxWindow
*) 0 ;
20306 wxString
*arg4
= 0 ;
20307 bool arg5
= (bool) false ;
20308 int arg6
= (int) -1 ;
20316 bool temp4
= false ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 PyObject
* obj2
= 0 ;
20324 PyObject
* obj3
= 0 ;
20325 PyObject
* obj4
= 0 ;
20326 PyObject
* obj5
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20336 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20337 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20338 if (!SWIG_IsOK(ecode2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20341 arg2
= static_cast< size_t >(val2
);
20342 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20343 if (!SWIG_IsOK(res3
)) {
20344 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20346 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20348 arg4
= wxString_in_helper(obj3
);
20349 if (arg4
== NULL
) SWIG_fail
;
20353 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20354 if (!SWIG_IsOK(ecode5
)) {
20355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20357 arg5
= static_cast< bool >(val5
);
20360 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20361 if (!SWIG_IsOK(ecode6
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20364 arg6
= static_cast< int >(val6
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20389 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
= 0;
20391 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "n", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20409 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20410 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20411 if (!SWIG_IsOK(ecode2
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20414 arg2
= static_cast< size_t >(val2
);
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (int)(arg1
)->SetSelection(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_From_int(static_cast< int >(result
));
20428 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
= 0;
20430 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char * kwnames
[] = {
20440 (char *) "self",(char *) "n", NULL
20443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20448 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20449 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20450 if (!SWIG_IsOK(ecode2
)) {
20451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20453 arg2
= static_cast< size_t >(val2
);
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (int)(arg1
)->ChangeSelection(arg2
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_From_int(static_cast< int >(result
));
20467 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
= 0;
20469 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20470 bool arg2
= (bool) true ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char * kwnames
[] = {
20478 (char *) "self",(char *) "forward", NULL
20481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20483 if (!SWIG_IsOK(res1
)) {
20484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20486 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20488 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20489 if (!SWIG_IsOK(ecode2
)) {
20490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20492 arg2
= static_cast< bool >(val2
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 (arg1
)->AdvanceSelection(arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20510 wxPoint
*arg2
= 0 ;
20511 long *arg3
= (long *) 0 ;
20517 int res3
= SWIG_TMPOBJ
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "self",(char *) "pt", NULL
20525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20530 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_From_int(static_cast< int >(result
));
20542 if (SWIG_IsTmpObj(res3
)) {
20543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20545 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20554 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
= 0;
20556 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20557 SwigValueWrapper
<wxVisualAttributes
> result
;
20560 PyObject
* obj0
= 0 ;
20561 char * kwnames
[] = {
20562 (char *) "variant", NULL
20565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20568 if (!SWIG_IsOK(ecode1
)) {
20569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20571 arg1
= static_cast< wxWindowVariant
>(val1
);
20574 if (!wxPyCheckForApp()) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20587 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20590 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20591 return SWIG_Py_Void();
20594 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20597 int arg2
= (int) 0 ;
20598 int arg3
= (int) -1 ;
20599 int arg4
= (int) -1 ;
20600 wxBookCtrlBaseEvent
*result
= 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 PyObject
* obj3
= 0 ;
20613 char * kwnames
[] = {
20614 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20620 if (!SWIG_IsOK(ecode1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20623 arg1
= static_cast< wxEventType
>(val1
);
20626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20627 if (!SWIG_IsOK(ecode2
)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20630 arg2
= static_cast< int >(val2
);
20633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20634 if (!SWIG_IsOK(ecode3
)) {
20635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20637 arg3
= static_cast< int >(val3
);
20640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20641 if (!SWIG_IsOK(ecode4
)) {
20642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20644 arg4
= static_cast< int >(val4
);
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20659 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20660 PyObject
*resultobj
= 0;
20661 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20665 PyObject
*swig_obj
[1] ;
20667 if (!args
) SWIG_fail
;
20668 swig_obj
[0] = args
;
20669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20673 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_From_int(static_cast< int >(result
));
20687 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
= 0;
20689 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "self",(char *) "nSel", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20706 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20708 if (!SWIG_IsOK(ecode2
)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20711 arg2
= static_cast< int >(val2
);
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 (arg1
)->SetSelection(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_Py_Void();
20725 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 PyObject
*resultobj
= 0;
20727 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20731 PyObject
*swig_obj
[1] ;
20733 if (!args
) SWIG_fail
;
20734 swig_obj
[0] = args
;
20735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20739 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_From_int(static_cast< int >(result
));
20753 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char * kwnames
[] = {
20764 (char *) "self",(char *) "nOldSel", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20772 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20774 if (!SWIG_IsOK(ecode2
)) {
20775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20777 arg2
= static_cast< int >(val2
);
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->SetOldSelection(arg2
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_Py_Void();
20791 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20794 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20795 return SWIG_Py_Void();
20798 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 return SWIG_Python_InitShadowInstance(args
);
20802 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
= 0;
20804 wxWindow
*arg1
= (wxWindow
*) 0 ;
20805 int arg2
= (int) -1 ;
20806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20810 long arg5
= (long) 0 ;
20811 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20813 wxNotebook
*result
= 0 ;
20822 bool temp6
= false ;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 PyObject
* obj2
= 0 ;
20826 PyObject
* obj3
= 0 ;
20827 PyObject
* obj4
= 0 ;
20828 PyObject
* obj5
= 0 ;
20829 char * kwnames
[] = {
20830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20841 if (!SWIG_IsOK(ecode2
)) {
20842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20844 arg2
= static_cast< int >(val2
);
20849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20855 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20859 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20860 if (!SWIG_IsOK(ecode5
)) {
20861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20863 arg5
= static_cast< long >(val5
);
20867 arg6
= wxString_in_helper(obj5
);
20868 if (arg6
== NULL
) SWIG_fail
;
20873 if (!wxPyCheckForApp()) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20894 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 PyObject
*resultobj
= 0;
20896 wxNotebook
*result
= 0 ;
20898 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20900 if (!wxPyCheckForApp()) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (wxNotebook
*)new wxNotebook();
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20913 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
= 0;
20915 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20916 wxWindow
*arg2
= (wxWindow
*) 0 ;
20917 int arg3
= (int) -1 ;
20918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20922 long arg6
= (long) 0 ;
20923 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20936 bool temp7
= false ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 PyObject
* obj4
= 0 ;
20942 PyObject
* obj5
= 0 ;
20943 PyObject
* obj6
= 0 ;
20944 char * kwnames
[] = {
20945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20950 if (!SWIG_IsOK(res1
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20953 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20955 if (!SWIG_IsOK(res2
)) {
20956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20961 if (!SWIG_IsOK(ecode3
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20964 arg3
= static_cast< int >(val3
);
20969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20979 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20980 if (!SWIG_IsOK(ecode6
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20983 arg6
= static_cast< long >(val6
);
20987 arg7
= wxString_in_helper(obj6
);
20988 if (arg7
== NULL
) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21015 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21016 PyObject
*resultobj
= 0;
21017 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21021 PyObject
*swig_obj
[1] ;
21023 if (!args
) SWIG_fail
;
21024 swig_obj
[0] = args
;
21025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21029 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_From_int(static_cast< int >(result
));
21043 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
= 0;
21045 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char * kwnames
[] = {
21053 (char *) "self",(char *) "padding", NULL
21056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21058 if (!SWIG_IsOK(res1
)) {
21059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21061 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_Py_Void();
21079 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
= 0;
21081 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "self",(char *) "sz", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21097 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21100 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_Py_Void();
21115 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21116 PyObject
*resultobj
= 0;
21117 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21121 PyObject
*swig_obj
[1] ;
21123 if (!args
) SWIG_fail
;
21124 swig_obj
[0] = args
;
21125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21129 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21143 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= 0;
21145 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21146 SwigValueWrapper
<wxVisualAttributes
> result
;
21149 PyObject
* obj0
= 0 ;
21150 char * kwnames
[] = {
21151 (char *) "variant", NULL
21154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21157 if (!SWIG_IsOK(ecode1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21160 arg1
= static_cast< wxWindowVariant
>(val1
);
21163 if (!wxPyCheckForApp()) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21176 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char * kwnames
[] = {
21188 (char *) "self",(char *) "nPage", NULL
21191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21196 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21198 if (!SWIG_IsOK(ecode2
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21201 arg2
= static_cast< int >(val2
);
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21217 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
= 0;
21219 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21221 int arg3
= (int) -1 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 PyObject
* obj2
= 0 ;
21231 char * kwnames
[] = {
21232 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21237 if (!SWIG_IsOK(res1
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21240 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21242 if (!SWIG_IsOK(ecode2
)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21245 arg2
= static_cast< int >(val2
);
21247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21248 if (!SWIG_IsOK(ecode3
)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21251 arg3
= static_cast< int >(val3
);
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_Py_Void();
21266 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21269 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21270 return SWIG_Py_Void();
21273 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21274 return SWIG_Python_InitShadowInstance(args
);
21277 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21280 int arg2
= (int) 0 ;
21281 int arg3
= (int) -1 ;
21282 int arg4
= (int) -1 ;
21283 wxNotebookEvent
*result
= 0 ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 PyObject
* obj2
= 0 ;
21295 PyObject
* obj3
= 0 ;
21296 char * kwnames
[] = {
21297 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21303 if (!SWIG_IsOK(ecode1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21306 arg1
= static_cast< wxEventType
>(val1
);
21309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21310 if (!SWIG_IsOK(ecode2
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21313 arg2
= static_cast< int >(val2
);
21316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21317 if (!SWIG_IsOK(ecode3
)) {
21318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21320 arg3
= static_cast< int >(val3
);
21323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21324 if (!SWIG_IsOK(ecode4
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21327 arg4
= static_cast< int >(val4
);
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21342 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21345 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21346 return SWIG_Py_Void();
21349 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 return SWIG_Python_InitShadowInstance(args
);
21353 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
= 0;
21355 wxWindow
*arg1
= (wxWindow
*) 0 ;
21356 int arg2
= (int) -1 ;
21357 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21358 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21359 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21360 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21361 long arg5
= (long) 0 ;
21362 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21363 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21364 wxListbook
*result
= 0 ;
21373 bool temp6
= false ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 PyObject
* obj2
= 0 ;
21377 PyObject
* obj3
= 0 ;
21378 PyObject
* obj4
= 0 ;
21379 PyObject
* obj5
= 0 ;
21380 char * kwnames
[] = {
21381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21386 if (!SWIG_IsOK(res1
)) {
21387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21389 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21392 if (!SWIG_IsOK(ecode2
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21395 arg2
= static_cast< int >(val2
);
21400 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21406 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21410 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21411 if (!SWIG_IsOK(ecode5
)) {
21412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21414 arg5
= static_cast< long >(val5
);
21418 arg6
= wxString_in_helper(obj5
);
21419 if (arg6
== NULL
) SWIG_fail
;
21424 if (!wxPyCheckForApp()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21445 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21446 PyObject
*resultobj
= 0;
21447 wxListbook
*result
= 0 ;
21449 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21451 if (!wxPyCheckForApp()) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 result
= (wxListbook
*)new wxListbook();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21464 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxListbook
*arg1
= (wxListbook
*) 0 ;
21467 wxWindow
*arg2
= (wxWindow
*) 0 ;
21468 int arg3
= (int) -1 ;
21469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21473 long arg6
= (long) 0 ;
21474 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21487 bool temp7
= false ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 PyObject
* obj3
= 0 ;
21492 PyObject
* obj4
= 0 ;
21493 PyObject
* obj5
= 0 ;
21494 PyObject
* obj6
= 0 ;
21495 char * kwnames
[] = {
21496 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21504 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21506 if (!SWIG_IsOK(res2
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21512 if (!SWIG_IsOK(ecode3
)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21515 arg3
= static_cast< int >(val3
);
21520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21531 if (!SWIG_IsOK(ecode6
)) {
21532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21534 arg6
= static_cast< long >(val6
);
21538 arg7
= wxString_in_helper(obj6
);
21539 if (arg7
== NULL
) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21566 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21567 PyObject
*resultobj
= 0;
21568 wxListbook
*arg1
= (wxListbook
*) 0 ;
21569 wxListView
*result
= 0 ;
21572 PyObject
*swig_obj
[1] ;
21574 if (!args
) SWIG_fail
;
21575 swig_obj
[0] = args
;
21576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21580 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (wxListView
*)(arg1
)->GetListView();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21594 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21597 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21598 return SWIG_Py_Void();
21601 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 return SWIG_Python_InitShadowInstance(args
);
21605 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
= 0;
21607 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21608 int arg2
= (int) 0 ;
21609 int arg3
= (int) -1 ;
21610 int arg4
= (int) -1 ;
21611 wxListbookEvent
*result
= 0 ;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 PyObject
* obj2
= 0 ;
21623 PyObject
* obj3
= 0 ;
21624 char * kwnames
[] = {
21625 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21630 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21631 if (!SWIG_IsOK(ecode1
)) {
21632 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21634 arg1
= static_cast< wxEventType
>(val1
);
21637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21638 if (!SWIG_IsOK(ecode2
)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21641 arg2
= static_cast< int >(val2
);
21644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21645 if (!SWIG_IsOK(ecode3
)) {
21646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21648 arg3
= static_cast< int >(val3
);
21651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21652 if (!SWIG_IsOK(ecode4
)) {
21653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21655 arg4
= static_cast< int >(val4
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21670 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21673 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21674 return SWIG_Py_Void();
21677 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21678 return SWIG_Python_InitShadowInstance(args
);
21681 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
= 0;
21683 wxWindow
*arg1
= (wxWindow
*) 0 ;
21685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21689 long arg5
= (long) 0 ;
21690 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21691 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21692 wxChoicebook
*result
= 0 ;
21701 bool temp6
= false ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 PyObject
* obj4
= 0 ;
21707 PyObject
* obj5
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21722 arg2
= static_cast< int >(val2
);
21726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21732 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21736 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21737 if (!SWIG_IsOK(ecode5
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21740 arg5
= static_cast< long >(val5
);
21744 arg6
= wxString_in_helper(obj5
);
21745 if (arg6
== NULL
) SWIG_fail
;
21750 if (!wxPyCheckForApp()) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21771 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21772 PyObject
*resultobj
= 0;
21773 wxChoicebook
*result
= 0 ;
21775 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21777 if (!wxPyCheckForApp()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (wxChoicebook
*)new wxChoicebook();
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21790 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
= 0;
21792 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21793 wxWindow
*arg2
= (wxWindow
*) 0 ;
21795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21799 long arg6
= (long) 0 ;
21800 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21801 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21813 bool temp7
= false ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 PyObject
* obj2
= 0 ;
21817 PyObject
* obj3
= 0 ;
21818 PyObject
* obj4
= 0 ;
21819 PyObject
* obj5
= 0 ;
21820 PyObject
* obj6
= 0 ;
21821 char * kwnames
[] = {
21822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21830 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21832 if (!SWIG_IsOK(res2
)) {
21833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21837 if (!SWIG_IsOK(ecode3
)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21840 arg3
= static_cast< int >(val3
);
21844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21855 if (!SWIG_IsOK(ecode6
)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21858 arg6
= static_cast< long >(val6
);
21862 arg7
= wxString_in_helper(obj6
);
21863 if (arg7
== NULL
) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21890 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21891 PyObject
*resultobj
= 0;
21892 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21893 wxChoice
*result
= 0 ;
21896 PyObject
*swig_obj
[1] ;
21898 if (!args
) SWIG_fail
;
21899 swig_obj
[0] = args
;
21900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21904 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21918 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21921 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21922 return SWIG_Py_Void();
21925 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21926 return SWIG_Python_InitShadowInstance(args
);
21929 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
= 0;
21931 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21932 int arg2
= (int) 0 ;
21933 int arg3
= (int) -1 ;
21934 int arg4
= (int) -1 ;
21935 wxChoicebookEvent
*result
= 0 ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 PyObject
* obj2
= 0 ;
21947 PyObject
* obj3
= 0 ;
21948 char * kwnames
[] = {
21949 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21955 if (!SWIG_IsOK(ecode1
)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21958 arg1
= static_cast< wxEventType
>(val1
);
21961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21962 if (!SWIG_IsOK(ecode2
)) {
21963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21965 arg2
= static_cast< int >(val2
);
21968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21969 if (!SWIG_IsOK(ecode3
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21972 arg3
= static_cast< int >(val3
);
21975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21976 if (!SWIG_IsOK(ecode4
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21979 arg4
= static_cast< int >(val4
);
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21994 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21997 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21998 return SWIG_Py_Void();
22001 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22002 return SWIG_Python_InitShadowInstance(args
);
22005 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxWindow
*arg1
= (wxWindow
*) 0 ;
22009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22013 long arg5
= (long) wxBK_DEFAULT
;
22014 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22015 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22016 wxTreebook
*result
= 0 ;
22025 bool temp6
= false ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 PyObject
* obj2
= 0 ;
22029 PyObject
* obj3
= 0 ;
22030 PyObject
* obj4
= 0 ;
22031 PyObject
* obj5
= 0 ;
22032 char * kwnames
[] = {
22033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
22041 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22043 if (!SWIG_IsOK(ecode2
)) {
22044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22046 arg2
= static_cast< int >(val2
);
22050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22060 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22061 if (!SWIG_IsOK(ecode5
)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22064 arg5
= static_cast< long >(val5
);
22068 arg6
= wxString_in_helper(obj5
);
22069 if (arg6
== NULL
) SWIG_fail
;
22074 if (!wxPyCheckForApp()) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22095 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxTreebook
*result
= 0 ;
22099 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22101 if (!wxPyCheckForApp()) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (wxTreebook
*)new wxTreebook();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22114 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= 0;
22116 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22117 wxWindow
*arg2
= (wxWindow
*) 0 ;
22119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22123 long arg6
= (long) wxBK_DEFAULT
;
22124 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22125 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22137 bool temp7
= false ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 PyObject
* obj3
= 0 ;
22142 PyObject
* obj4
= 0 ;
22143 PyObject
* obj5
= 0 ;
22144 PyObject
* obj6
= 0 ;
22145 char * kwnames
[] = {
22146 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22154 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22156 if (!SWIG_IsOK(res2
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22161 if (!SWIG_IsOK(ecode3
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22164 arg3
= static_cast< int >(val3
);
22168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22178 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22179 if (!SWIG_IsOK(ecode6
)) {
22180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22182 arg6
= static_cast< long >(val6
);
22186 arg7
= wxString_in_helper(obj6
);
22187 if (arg7
== NULL
) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
= 0;
22216 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22218 wxWindow
*arg3
= (wxWindow
*) 0 ;
22219 wxString
*arg4
= 0 ;
22220 bool arg5
= (bool) false ;
22221 int arg6
= (int) wxNOT_FOUND
;
22229 bool temp4
= false ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 PyObject
* obj3
= 0 ;
22238 PyObject
* obj4
= 0 ;
22239 PyObject
* obj5
= 0 ;
22240 char * kwnames
[] = {
22241 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22246 if (!SWIG_IsOK(res1
)) {
22247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22249 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22250 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22251 if (!SWIG_IsOK(ecode2
)) {
22252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22254 arg2
= static_cast< size_t >(val2
);
22255 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22256 if (!SWIG_IsOK(res3
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22259 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22261 arg4
= wxString_in_helper(obj3
);
22262 if (arg4
== NULL
) SWIG_fail
;
22266 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22267 if (!SWIG_IsOK(ecode5
)) {
22268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22270 arg5
= static_cast< bool >(val5
);
22273 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22274 if (!SWIG_IsOK(ecode6
)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22277 arg6
= static_cast< int >(val6
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
= 0;
22304 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22305 wxWindow
*arg2
= (wxWindow
*) 0 ;
22306 wxString
*arg3
= 0 ;
22307 bool arg4
= (bool) false ;
22308 int arg5
= (int) wxNOT_FOUND
;
22314 bool temp3
= false ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 PyObject
* obj3
= 0 ;
22323 PyObject
* obj4
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22333 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22335 if (!SWIG_IsOK(res2
)) {
22336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22338 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22340 arg3
= wxString_in_helper(obj2
);
22341 if (arg3
== NULL
) SWIG_fail
;
22345 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22346 if (!SWIG_IsOK(ecode4
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22349 arg4
= static_cast< bool >(val4
);
22352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22353 if (!SWIG_IsOK(ecode5
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22356 arg5
= static_cast< int >(val5
);
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22381 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
= 0;
22383 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char * kwnames
[] = {
22393 (char *) "self",(char *) "pos", NULL
22396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22398 if (!SWIG_IsOK(res1
)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22401 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22402 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22403 if (!SWIG_IsOK(ecode2
)) {
22404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22406 arg2
= static_cast< size_t >(val2
);
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22422 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
= 0;
22424 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22426 bool arg3
= (bool) true ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 PyObject
* obj2
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "self",(char *) "pos",(char *) "expand", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22446 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22447 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22448 if (!SWIG_IsOK(ecode2
)) {
22449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22451 arg2
= static_cast< size_t >(val2
);
22453 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22454 if (!SWIG_IsOK(ecode3
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22457 arg3
= static_cast< bool >(val3
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22474 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= 0;
22476 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "self",(char *) "pos", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22494 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22495 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22496 if (!SWIG_IsOK(ecode2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22499 arg2
= static_cast< size_t >(val2
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)(arg1
)->CollapseNode(arg2
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22515 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
= 0;
22517 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "pos", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22535 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22536 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22537 if (!SWIG_IsOK(ecode2
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22540 arg2
= static_cast< size_t >(val2
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_From_int(static_cast< int >(result
));
22554 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 PyObject
*resultobj
= 0;
22556 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22557 wxPyTreeCtrl
*result
= 0 ;
22560 PyObject
*swig_obj
[1] ;
22562 if (!args
) SWIG_fail
;
22563 swig_obj
[0] = args
;
22564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22565 if (!SWIG_IsOK(res1
)) {
22566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22568 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22584 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22587 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22588 return SWIG_Py_Void();
22591 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 return SWIG_Python_InitShadowInstance(args
);
22595 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
= 0;
22597 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22598 int arg2
= (int) 0 ;
22599 int arg3
= (int) wxNOT_FOUND
;
22600 int arg4
= (int) wxNOT_FOUND
;
22601 wxTreebookEvent
*result
= 0 ;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 PyObject
* obj2
= 0 ;
22613 PyObject
* obj3
= 0 ;
22614 char * kwnames
[] = {
22615 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22620 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22621 if (!SWIG_IsOK(ecode1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22624 arg1
= static_cast< wxEventType
>(val1
);
22627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22628 if (!SWIG_IsOK(ecode2
)) {
22629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22631 arg2
= static_cast< int >(val2
);
22634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22635 if (!SWIG_IsOK(ecode3
)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22638 arg3
= static_cast< int >(val3
);
22641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22642 if (!SWIG_IsOK(ecode4
)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22645 arg4
= static_cast< int >(val4
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22660 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22664 return SWIG_Py_Void();
22667 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22668 return SWIG_Python_InitShadowInstance(args
);
22671 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
= 0;
22673 wxWindow
*arg1
= (wxWindow
*) 0 ;
22675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22679 long arg5
= (long) wxBK_DEFAULT
;
22680 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22681 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22682 wxToolbook
*result
= 0 ;
22691 bool temp6
= false ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 PyObject
* obj2
= 0 ;
22695 PyObject
* obj3
= 0 ;
22696 PyObject
* obj4
= 0 ;
22697 PyObject
* obj5
= 0 ;
22698 char * kwnames
[] = {
22699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22709 if (!SWIG_IsOK(ecode2
)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22712 arg2
= static_cast< int >(val2
);
22716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22726 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22727 if (!SWIG_IsOK(ecode5
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22730 arg5
= static_cast< long >(val5
);
22734 arg6
= wxString_in_helper(obj5
);
22735 if (arg6
== NULL
) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22760 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22761 PyObject
*resultobj
= 0;
22762 wxToolbook
*result
= 0 ;
22764 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (wxToolbook
*)new wxToolbook();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22778 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
= 0;
22780 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22781 wxWindow
*arg2
= (wxWindow
*) 0 ;
22783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22787 long arg6
= (long) 0 ;
22788 wxString
const &arg7_defvalue
= wxEmptyString
;
22789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22801 bool temp7
= false ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 PyObject
* obj2
= 0 ;
22805 PyObject
* obj3
= 0 ;
22806 PyObject
* obj4
= 0 ;
22807 PyObject
* obj5
= 0 ;
22808 PyObject
* obj6
= 0 ;
22809 char * kwnames
[] = {
22810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22818 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22820 if (!SWIG_IsOK(res2
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22823 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22825 if (!SWIG_IsOK(ecode3
)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22828 arg3
= static_cast< int >(val3
);
22832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22842 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22843 if (!SWIG_IsOK(ecode6
)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22846 arg6
= static_cast< long >(val6
);
22850 arg7
= wxString_in_helper(obj6
);
22851 if (arg7
== NULL
) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22878 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22879 PyObject
*resultobj
= 0;
22880 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22881 wxToolBarBase
*result
= 0 ;
22884 PyObject
*swig_obj
[1] ;
22886 if (!args
) SWIG_fail
;
22887 swig_obj
[0] = args
;
22888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22889 if (!SWIG_IsOK(res1
)) {
22890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22892 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22908 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22909 PyObject
*resultobj
= 0;
22910 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22913 PyObject
*swig_obj
[1] ;
22915 if (!args
) SWIG_fail
;
22916 swig_obj
[0] = args
;
22917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22918 if (!SWIG_IsOK(res1
)) {
22919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22921 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_Py_Void();
22935 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22938 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22939 return SWIG_Py_Void();
22942 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 return SWIG_Python_InitShadowInstance(args
);
22946 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
= 0;
22948 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22949 int arg2
= (int) 0 ;
22950 int arg3
= (int) wxNOT_FOUND
;
22951 int arg4
= (int) wxNOT_FOUND
;
22952 wxToolbookEvent
*result
= 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 PyObject
* obj3
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22972 if (!SWIG_IsOK(ecode1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22975 arg1
= static_cast< wxEventType
>(val1
);
22978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22979 if (!SWIG_IsOK(ecode2
)) {
22980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22982 arg2
= static_cast< int >(val2
);
22985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22986 if (!SWIG_IsOK(ecode3
)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22989 arg3
= static_cast< int >(val3
);
22992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22993 if (!SWIG_IsOK(ecode4
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22996 arg4
= static_cast< int >(val4
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
23011 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23014 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
23015 return SWIG_Py_Void();
23018 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 return SWIG_Python_InitShadowInstance(args
);
23022 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23023 PyObject
*resultobj
= 0;
23024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23028 PyObject
*swig_obj
[1] ;
23030 if (!args
) SWIG_fail
;
23031 swig_obj
[0] = args
;
23032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23036 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (int)(arg1
)->GetId();
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_From_int(static_cast< int >(result
));
23050 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23051 PyObject
*resultobj
= 0;
23052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23053 wxControl
*result
= 0 ;
23056 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (wxControl
*)(arg1
)->GetControl();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= wxPyMake_wxObject(result
, 0);
23080 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 PyObject
*resultobj
= 0;
23082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23083 wxToolBarBase
*result
= 0 ;
23086 PyObject
*swig_obj
[1] ;
23088 if (!args
) SWIG_fail
;
23089 swig_obj
[0] = args
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23094 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23110 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23116 PyObject
*swig_obj
[1] ;
23118 if (!args
) SWIG_fail
;
23119 swig_obj
[0] = args
;
23120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23124 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (int)(arg1
)->IsButton();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_From_int(static_cast< int >(result
));
23138 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23152 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (int)(arg1
)->IsControl();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_From_int(static_cast< int >(result
));
23166 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 PyObject
*resultobj
= 0;
23168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23172 PyObject
*swig_obj
[1] ;
23174 if (!args
) SWIG_fail
;
23175 swig_obj
[0] = args
;
23176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23177 if (!SWIG_IsOK(res1
)) {
23178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23180 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (int)(arg1
)->IsSeparator();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_From_int(static_cast< int >(result
));
23194 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23208 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (int)(arg1
)->GetStyle();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int(static_cast< int >(result
));
23222 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23228 PyObject
*swig_obj
[1] ;
23230 if (!args
) SWIG_fail
;
23231 swig_obj
[0] = args
;
23232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23233 if (!SWIG_IsOK(res1
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23236 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (wxItemKind
)(arg1
)->GetKind();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_From_int(static_cast< int >(result
));
23250 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23256 PyObject
*swig_obj
[1] ;
23258 if (!args
) SWIG_fail
;
23259 swig_obj
[0] = args
;
23260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23264 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (bool)(arg1
)->IsEnabled();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23280 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23281 PyObject
*resultobj
= 0;
23282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23286 PyObject
*swig_obj
[1] ;
23288 if (!args
) SWIG_fail
;
23289 swig_obj
[0] = args
;
23290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23291 if (!SWIG_IsOK(res1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23294 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (bool)(arg1
)->IsToggled();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23310 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 PyObject
*resultobj
= 0;
23312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23316 PyObject
*swig_obj
[1] ;
23318 if (!args
) SWIG_fail
;
23319 swig_obj
[0] = args
;
23320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23324 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (bool)(arg1
)->CanBeToggled();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23340 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23341 PyObject
*resultobj
= 0;
23342 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23343 wxBitmap
*result
= 0 ;
23346 PyObject
*swig_obj
[1] ;
23348 if (!args
) SWIG_fail
;
23349 swig_obj
[0] = args
;
23350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23351 if (!SWIG_IsOK(res1
)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23354 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23359 result
= (wxBitmap
*) &_result_ref
;
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 wxBitmap
* resultptr
= new wxBitmap(*result
);
23366 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23374 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23375 PyObject
*resultobj
= 0;
23376 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23377 wxBitmap
*result
= 0 ;
23380 PyObject
*swig_obj
[1] ;
23382 if (!args
) SWIG_fail
;
23383 swig_obj
[0] = args
;
23384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23388 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23393 result
= (wxBitmap
*) &_result_ref
;
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23399 wxBitmap
* resultptr
= new wxBitmap(*result
);
23400 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23408 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23409 PyObject
*resultobj
= 0;
23410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23414 PyObject
*swig_obj
[1] ;
23416 if (!args
) SWIG_fail
;
23417 swig_obj
[0] = args
;
23418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (arg1
)->GetBitmap();
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23436 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23437 PyObject
*resultobj
= 0;
23438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23442 PyObject
*swig_obj
[1] ;
23444 if (!args
) SWIG_fail
;
23445 swig_obj
[0] = args
;
23446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23447 if (!SWIG_IsOK(res1
)) {
23448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23450 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (arg1
)->GetLabel();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23470 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 PyObject
*resultobj
= 0;
23472 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23476 PyObject
*swig_obj
[1] ;
23478 if (!args
) SWIG_fail
;
23479 swig_obj
[0] = args
;
23480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23484 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (arg1
)->GetShortHelp();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23504 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23510 PyObject
*swig_obj
[1] ;
23512 if (!args
) SWIG_fail
;
23513 swig_obj
[0] = args
;
23514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23515 if (!SWIG_IsOK(res1
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23518 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (arg1
)->GetLongHelp();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23538 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
= 0;
23540 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "self",(char *) "enable", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23558 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23559 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23560 if (!SWIG_IsOK(ecode2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23563 arg2
= static_cast< bool >(val2
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (bool)(arg1
)->Enable(arg2
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23579 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23580 PyObject
*resultobj
= 0;
23581 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23584 PyObject
*swig_obj
[1] ;
23586 if (!args
) SWIG_fail
;
23587 swig_obj
[0] = args
;
23588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23592 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_Py_Void();
23606 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
= 0;
23608 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 char * kwnames
[] = {
23618 (char *) "self",(char *) "toggle", NULL
23621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23626 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23627 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23628 if (!SWIG_IsOK(ecode2
)) {
23629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23631 arg2
= static_cast< bool >(val2
);
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (bool)(arg1
)->SetToggle(arg2
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23647 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= 0;
23649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23650 wxString
*arg2
= 0 ;
23654 bool temp2
= false ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char * kwnames
[] = {
23658 (char *) "self",(char *) "help", NULL
23661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23666 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23668 arg2
= wxString_in_helper(obj1
);
23669 if (arg2
== NULL
) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23695 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
= 0;
23697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23698 wxString
*arg2
= 0 ;
23702 bool temp2
= false ;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 char * kwnames
[] = {
23706 (char *) "self",(char *) "help", NULL
23709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23714 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23716 arg2
= wxString_in_helper(obj1
);
23717 if (arg2
== NULL
) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23743 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
= 0;
23745 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23746 wxBitmap
*arg2
= 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char * kwnames
[] = {
23754 (char *) "self",(char *) "bmp", NULL
23757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23759 if (!SWIG_IsOK(res1
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23762 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23764 if (!SWIG_IsOK(res2
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23770 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_Py_Void();
23784 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23787 wxBitmap
*arg2
= 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char * kwnames
[] = {
23795 (char *) "self",(char *) "bmp", NULL
23798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23803 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23805 if (!SWIG_IsOK(res2
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23811 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_Py_Void();
23825 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
= 0;
23827 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23828 wxString
*arg2
= 0 ;
23831 bool temp2
= false ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "self",(char *) "label", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23843 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23845 arg2
= wxString_in_helper(obj1
);
23846 if (arg2
== NULL
) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->SetLabel((wxString
const &)*arg2
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_Py_Void();
23870 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23871 PyObject
*resultobj
= 0;
23872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23875 PyObject
*swig_obj
[1] ;
23877 if (!args
) SWIG_fail
;
23878 swig_obj
[0] = args
;
23879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23880 if (!SWIG_IsOK(res1
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23883 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_Py_Void();
23897 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23900 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "tbar", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23916 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23918 if (!SWIG_IsOK(res2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23921 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->Attach(arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= SWIG_Py_Void();
23935 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23936 PyObject
*resultobj
= 0;
23937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23938 PyObject
*result
= 0 ;
23941 PyObject
*swig_obj
[1] ;
23943 if (!args
) SWIG_fail
;
23944 swig_obj
[0] = args
;
23945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23949 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
;
23963 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= 0;
23965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23966 PyObject
*arg2
= (PyObject
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char * kwnames
[] = {
23972 (char *) "self",(char *) "clientData", NULL
23975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23980 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_Py_Void();
23995 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23998 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23999 return SWIG_Py_Void();
24002 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24006 wxString
*arg3
= 0 ;
24007 wxBitmap
*arg4
= 0 ;
24008 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
24009 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
24010 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
24011 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24013 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24014 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24015 PyObject
*arg9
= (PyObject
*) NULL
;
24016 wxToolBarToolBase
*result
= 0 ;
24021 bool temp3
= false ;
24028 bool temp7
= false ;
24029 bool temp8
= false ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 PyObject
* obj2
= 0 ;
24033 PyObject
* obj3
= 0 ;
24034 PyObject
* obj4
= 0 ;
24035 PyObject
* obj5
= 0 ;
24036 PyObject
* obj6
= 0 ;
24037 PyObject
* obj7
= 0 ;
24038 PyObject
* obj8
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24048 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24050 if (!SWIG_IsOK(ecode2
)) {
24051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24053 arg2
= static_cast< int >(val2
);
24055 arg3
= wxString_in_helper(obj2
);
24056 if (arg3
== NULL
) SWIG_fail
;
24059 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24060 if (!SWIG_IsOK(res4
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24066 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24068 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24069 if (!SWIG_IsOK(res5
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24075 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24078 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24079 if (!SWIG_IsOK(ecode6
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24082 arg6
= static_cast< wxItemKind
>(val6
);
24086 arg7
= wxString_in_helper(obj6
);
24087 if (arg7
== NULL
) SWIG_fail
;
24093 arg8
= wxString_in_helper(obj7
);
24094 if (arg8
== NULL
) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24140 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24145 wxString
*arg4
= 0 ;
24146 wxBitmap
*arg5
= 0 ;
24147 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24148 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24149 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24150 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24151 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24152 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24153 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24154 PyObject
*arg10
= (PyObject
*) NULL
;
24155 wxToolBarToolBase
*result
= 0 ;
24162 bool temp4
= false ;
24169 bool temp8
= false ;
24170 bool temp9
= false ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 PyObject
* obj2
= 0 ;
24174 PyObject
* obj3
= 0 ;
24175 PyObject
* obj4
= 0 ;
24176 PyObject
* obj5
= 0 ;
24177 PyObject
* obj6
= 0 ;
24178 PyObject
* obj7
= 0 ;
24179 PyObject
* obj8
= 0 ;
24180 PyObject
* obj9
= 0 ;
24181 char * kwnames
[] = {
24182 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24191 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24192 if (!SWIG_IsOK(ecode2
)) {
24193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24195 arg2
= static_cast< size_t >(val2
);
24196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24197 if (!SWIG_IsOK(ecode3
)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24200 arg3
= static_cast< int >(val3
);
24202 arg4
= wxString_in_helper(obj3
);
24203 if (arg4
== NULL
) SWIG_fail
;
24206 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24207 if (!SWIG_IsOK(res5
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24213 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24215 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24216 if (!SWIG_IsOK(res6
)) {
24217 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24222 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24225 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24226 if (!SWIG_IsOK(ecode7
)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24229 arg7
= static_cast< wxItemKind
>(val7
);
24233 arg8
= wxString_in_helper(obj7
);
24234 if (arg8
== NULL
) SWIG_fail
;
24240 arg9
= wxString_in_helper(obj8
);
24241 if (arg9
== NULL
) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24287 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
= 0;
24289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24290 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24291 wxToolBarToolBase
*result
= 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 char * kwnames
[] = {
24299 (char *) "self",(char *) "tool", NULL
24302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24307 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24309 if (!SWIG_IsOK(res2
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24312 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24328 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
= 0;
24330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24332 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24333 wxToolBarToolBase
*result
= 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 PyObject
* obj2
= 0 ;
24343 char * kwnames
[] = {
24344 (char *) "self",(char *) "pos",(char *) "tool", NULL
24347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24352 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24353 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24354 if (!SWIG_IsOK(ecode2
)) {
24355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24357 arg2
= static_cast< size_t >(val2
);
24358 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24359 if (!SWIG_IsOK(res3
)) {
24360 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24362 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24378 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= 0;
24380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24381 wxControl
*arg2
= (wxControl
*) 0 ;
24382 wxString
const &arg3_defvalue
= wxEmptyString
;
24383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24384 wxToolBarToolBase
*result
= 0 ;
24389 bool temp3
= false ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 PyObject
* obj2
= 0 ;
24393 char * kwnames
[] = {
24394 (char *) "self",(char *) "control",(char *) "label", NULL
24397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24402 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24404 if (!SWIG_IsOK(res2
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24407 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24410 arg3
= wxString_in_helper(obj2
);
24411 if (arg3
== NULL
) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24438 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24442 wxControl
*arg3
= (wxControl
*) 0 ;
24443 wxString
const &arg4_defvalue
= wxEmptyString
;
24444 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24445 wxToolBarToolBase
*result
= 0 ;
24452 bool temp4
= false ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 PyObject
* obj2
= 0 ;
24456 PyObject
* obj3
= 0 ;
24457 char * kwnames
[] = {
24458 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24463 if (!SWIG_IsOK(res1
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24466 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24467 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24468 if (!SWIG_IsOK(ecode2
)) {
24469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24471 arg2
= static_cast< size_t >(val2
);
24472 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24473 if (!SWIG_IsOK(res3
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24476 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24479 arg4
= wxString_in_helper(obj3
);
24480 if (arg4
== NULL
) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24507 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
= 0;
24509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24511 wxControl
*result
= 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char * kwnames
[] = {
24519 (char *) "self",(char *) "id", NULL
24522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24527 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24529 if (!SWIG_IsOK(ecode2
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24532 arg2
= static_cast< int >(val2
);
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= wxPyMake_wxObject(result
, 0);
24548 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24549 PyObject
*resultobj
= 0;
24550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24551 wxToolBarToolBase
*result
= 0 ;
24554 PyObject
*swig_obj
[1] ;
24556 if (!args
) SWIG_fail
;
24557 swig_obj
[0] = args
;
24558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24559 if (!SWIG_IsOK(res1
)) {
24560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24562 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24578 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
= 0;
24580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24582 wxToolBarToolBase
*result
= 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char * kwnames
[] = {
24590 (char *) "self",(char *) "pos", NULL
24593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24599 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24603 arg2
= static_cast< size_t >(val2
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24623 wxToolBarToolBase
*result
= 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "self",(char *) "id", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24641 if (!SWIG_IsOK(ecode2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24644 arg2
= static_cast< int >(val2
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24660 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
= 0;
24662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "pos", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24681 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24685 arg2
= static_cast< size_t >(val2
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24701 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
= 0;
24703 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 PyObject
* obj1
= 0 ;
24712 char * kwnames
[] = {
24713 (char *) "self",(char *) "id", NULL
24716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24718 if (!SWIG_IsOK(res1
)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24721 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24723 if (!SWIG_IsOK(ecode2
)) {
24724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24726 arg2
= static_cast< int >(val2
);
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)(arg1
)->DeleteTool(arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24742 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24743 PyObject
*resultobj
= 0;
24744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24747 PyObject
*swig_obj
[1] ;
24749 if (!args
) SWIG_fail
;
24750 swig_obj
[0] = args
;
24751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24755 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 (arg1
)->ClearTools();
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_Py_Void();
24769 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24770 PyObject
*resultobj
= 0;
24771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24775 PyObject
*swig_obj
[1] ;
24777 if (!args
) SWIG_fail
;
24778 swig_obj
[0] = args
;
24779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24783 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (bool)(arg1
)->Realize();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24799 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
= 0;
24801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 PyObject
* obj2
= 0 ;
24813 char * kwnames
[] = {
24814 (char *) "self",(char *) "id",(char *) "enable", NULL
24817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24819 if (!SWIG_IsOK(res1
)) {
24820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24822 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24824 if (!SWIG_IsOK(ecode2
)) {
24825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24827 arg2
= static_cast< int >(val2
);
24828 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24829 if (!SWIG_IsOK(ecode3
)) {
24830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24832 arg3
= static_cast< bool >(val3
);
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->EnableTool(arg2
,arg3
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_Py_Void();
24846 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
= 0;
24848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 PyObject
* obj2
= 0 ;
24860 char * kwnames
[] = {
24861 (char *) "self",(char *) "id",(char *) "toggle", NULL
24864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24869 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24871 if (!SWIG_IsOK(ecode2
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24874 arg2
= static_cast< int >(val2
);
24875 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24876 if (!SWIG_IsOK(ecode3
)) {
24877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24879 arg3
= static_cast< bool >(val3
);
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->ToggleTool(arg2
,arg3
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= SWIG_Py_Void();
24893 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
= 0;
24895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 PyObject
* obj2
= 0 ;
24907 char * kwnames
[] = {
24908 (char *) "self",(char *) "id",(char *) "toggle", NULL
24911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24916 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24918 if (!SWIG_IsOK(ecode2
)) {
24919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24921 arg2
= static_cast< int >(val2
);
24922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24923 if (!SWIG_IsOK(ecode3
)) {
24924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24926 arg3
= static_cast< bool >(val3
);
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 (arg1
)->SetToggle(arg2
,arg3
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_Py_Void();
24940 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
= 0;
24942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24944 PyObject
*result
= 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "self",(char *) "id", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24960 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24962 if (!SWIG_IsOK(ecode2
)) {
24963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24965 arg2
= static_cast< int >(val2
);
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
;
24979 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24983 PyObject
*arg3
= (PyObject
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 PyObject
* obj2
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "self",(char *) "id",(char *) "clientData", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25000 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25002 if (!SWIG_IsOK(ecode2
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
25005 arg2
= static_cast< int >(val2
);
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_Py_Void();
25020 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= 0;
25022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char * kwnames
[] = {
25032 (char *) "self",(char *) "id", NULL
25035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25040 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25042 if (!SWIG_IsOK(ecode2
)) {
25043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
25045 arg2
= static_cast< int >(val2
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_From_int(static_cast< int >(result
));
25059 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= 0;
25061 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char * kwnames
[] = {
25071 (char *) "self",(char *) "id", NULL
25074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25076 if (!SWIG_IsOK(res1
)) {
25077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25079 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25081 if (!SWIG_IsOK(ecode2
)) {
25082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25084 arg2
= static_cast< int >(val2
);
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (bool)(arg1
)->GetToolState(arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25100 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
= 0;
25102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "id", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25122 if (!SWIG_IsOK(ecode2
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25125 arg2
= static_cast< int >(val2
);
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25141 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
= 0;
25143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25145 wxString
*arg3
= 0 ;
25150 bool temp3
= false ;
25151 PyObject
* obj0
= 0 ;
25152 PyObject
* obj1
= 0 ;
25153 PyObject
* obj2
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "self",(char *) "id",(char *) "helpString", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25163 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25165 if (!SWIG_IsOK(ecode2
)) {
25166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25168 arg2
= static_cast< int >(val2
);
25170 arg3
= wxString_in_helper(obj2
);
25171 if (arg3
== NULL
) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char * kwnames
[] = {
25207 (char *) "self",(char *) "id", NULL
25210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25215 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25217 if (!SWIG_IsOK(ecode2
)) {
25218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25220 arg2
= static_cast< int >(val2
);
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (arg1
)->GetToolShortHelp(arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25240 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
= 0;
25242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25244 wxString
*arg3
= 0 ;
25249 bool temp3
= false ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 char * kwnames
[] = {
25254 (char *) "self",(char *) "id",(char *) "helpString", NULL
25257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25262 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25264 if (!SWIG_IsOK(ecode2
)) {
25265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25267 arg2
= static_cast< int >(val2
);
25269 arg3
= wxString_in_helper(obj2
);
25270 if (arg3
== NULL
) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_Py_Void();
25294 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
= 0;
25296 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 char * kwnames
[] = {
25306 (char *) "self",(char *) "id", NULL
25309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25314 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25316 if (!SWIG_IsOK(ecode2
)) {
25317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25319 arg2
= static_cast< int >(val2
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (arg1
)->GetToolLongHelp(arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25339 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
= 0;
25341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 PyObject
* obj2
= 0 ;
25353 char * kwnames
[] = {
25354 (char *) "self",(char *) "x",(char *) "y", NULL
25357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25359 if (!SWIG_IsOK(res1
)) {
25360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25362 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25364 if (!SWIG_IsOK(ecode2
)) {
25365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25367 arg2
= static_cast< int >(val2
);
25368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25369 if (!SWIG_IsOK(ecode3
)) {
25370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25372 arg3
= static_cast< int >(val3
);
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 (arg1
)->SetMargins(arg2
,arg3
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_Py_Void();
25386 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25393 PyObject
* obj0
= 0 ;
25394 PyObject
* obj1
= 0 ;
25395 char * kwnames
[] = {
25396 (char *) "self",(char *) "size", NULL
25399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25401 if (!SWIG_IsOK(res1
)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25404 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_Py_Void();
25422 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
= 0;
25424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char * kwnames
[] = {
25433 (char *) "self",(char *) "packing", NULL
25436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25441 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25443 if (!SWIG_IsOK(ecode2
)) {
25444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25446 arg2
= static_cast< int >(val2
);
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 (arg1
)->SetToolPacking(arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_Py_Void();
25460 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
= 0;
25462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 PyObject
* obj1
= 0 ;
25470 char * kwnames
[] = {
25471 (char *) "self",(char *) "separation", NULL
25474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25479 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25481 if (!SWIG_IsOK(ecode2
)) {
25482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25484 arg2
= static_cast< int >(val2
);
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->SetToolSeparation(arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= SWIG_Py_Void();
25498 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25499 PyObject
*resultobj
= 0;
25500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25504 PyObject
*swig_obj
[1] ;
25506 if (!args
) SWIG_fail
;
25507 swig_obj
[0] = args
;
25508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25512 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 result
= (arg1
)->GetToolMargins();
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25526 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 PyObject
*resultobj
= 0;
25528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25532 PyObject
*swig_obj
[1] ;
25534 if (!args
) SWIG_fail
;
25535 swig_obj
[0] = args
;
25536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25540 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (arg1
)->GetMargins();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25554 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25555 PyObject
*resultobj
= 0;
25556 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25560 PyObject
*swig_obj
[1] ;
25562 if (!args
) SWIG_fail
;
25563 swig_obj
[0] = args
;
25564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25568 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (int)(arg1
)->GetToolPacking();
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_From_int(static_cast< int >(result
));
25582 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25583 PyObject
*resultobj
= 0;
25584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25588 PyObject
*swig_obj
[1] ;
25590 if (!args
) SWIG_fail
;
25591 swig_obj
[0] = args
;
25592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25593 if (!SWIG_IsOK(res1
)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25596 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (int)(arg1
)->GetToolSeparation();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_From_int(static_cast< int >(result
));
25610 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
= 0;
25612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "nRows", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25629 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25631 if (!SWIG_IsOK(ecode2
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25634 arg2
= static_cast< int >(val2
);
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->SetRows(arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_Py_Void();
25648 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25659 PyObject
* obj0
= 0 ;
25660 PyObject
* obj1
= 0 ;
25661 PyObject
* obj2
= 0 ;
25662 char * kwnames
[] = {
25663 (char *) "self",(char *) "rows",(char *) "cols", NULL
25666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25671 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25673 if (!SWIG_IsOK(ecode2
)) {
25674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25676 arg2
= static_cast< int >(val2
);
25677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25678 if (!SWIG_IsOK(ecode3
)) {
25679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25681 arg3
= static_cast< int >(val3
);
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_Py_Void();
25695 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25696 PyObject
*resultobj
= 0;
25697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25701 PyObject
*swig_obj
[1] ;
25703 if (!args
) SWIG_fail
;
25704 swig_obj
[0] = args
;
25705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25706 if (!SWIG_IsOK(res1
)) {
25707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25709 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (int)(arg1
)->GetMaxRows();
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_From_int(static_cast< int >(result
));
25723 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25724 PyObject
*resultobj
= 0;
25725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25729 PyObject
*swig_obj
[1] ;
25731 if (!args
) SWIG_fail
;
25732 swig_obj
[0] = args
;
25733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25734 if (!SWIG_IsOK(res1
)) {
25735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25737 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (int)(arg1
)->GetMaxCols();
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_From_int(static_cast< int >(result
));
25751 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
= 0;
25753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 char * kwnames
[] = {
25761 (char *) "self",(char *) "size", NULL
25764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25766 if (!SWIG_IsOK(res1
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_Py_Void();
25787 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 PyObject
*resultobj
= 0;
25789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25793 PyObject
*swig_obj
[1] ;
25795 if (!args
) SWIG_fail
;
25796 swig_obj
[0] = args
;
25797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25801 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 result
= (arg1
)->GetToolBitmapSize();
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25815 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25816 PyObject
*resultobj
= 0;
25817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25821 PyObject
*swig_obj
[1] ;
25823 if (!args
) SWIG_fail
;
25824 swig_obj
[0] = args
;
25825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25826 if (!SWIG_IsOK(res1
)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25829 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (arg1
)->GetToolSize();
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25843 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
= 0;
25845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25848 wxToolBarToolBase
*result
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 PyObject
* obj2
= 0 ;
25858 char * kwnames
[] = {
25859 (char *) "self",(char *) "x",(char *) "y", NULL
25862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25864 if (!SWIG_IsOK(res1
)) {
25865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25867 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25869 if (!SWIG_IsOK(ecode2
)) {
25870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25872 arg2
= static_cast< int >(val2
);
25873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25874 if (!SWIG_IsOK(ecode3
)) {
25875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25877 arg3
= static_cast< int >(val3
);
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25893 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
= 0;
25895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25897 wxToolBarToolBase
*result
= 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char * kwnames
[] = {
25905 (char *) "self",(char *) "toolid", NULL
25908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25913 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25915 if (!SWIG_IsOK(ecode2
)) {
25916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25918 arg2
= static_cast< int >(val2
);
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25934 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 PyObject
*resultobj
= 0;
25936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25940 PyObject
*swig_obj
[1] ;
25942 if (!args
) SWIG_fail
;
25943 swig_obj
[0] = args
;
25944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25948 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (bool)(arg1
)->IsVertical();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25964 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25978 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25992 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25995 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25996 return SWIG_Py_Void();
25999 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
= 0;
26001 wxWindow
*arg1
= (wxWindow
*) 0 ;
26002 int arg2
= (int) -1 ;
26003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26007 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26008 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
26009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
26010 wxToolBar
*result
= 0 ;
26019 bool temp6
= false ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 PyObject
* obj2
= 0 ;
26023 PyObject
* obj3
= 0 ;
26024 PyObject
* obj4
= 0 ;
26025 PyObject
* obj5
= 0 ;
26026 char * kwnames
[] = {
26027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
26035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26038 if (!SWIG_IsOK(ecode2
)) {
26039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
26041 arg2
= static_cast< int >(val2
);
26046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26056 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
26057 if (!SWIG_IsOK(ecode5
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
26060 arg5
= static_cast< long >(val5
);
26064 arg6
= wxString_in_helper(obj5
);
26065 if (arg6
== NULL
) SWIG_fail
;
26070 if (!wxPyCheckForApp()) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26091 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26092 PyObject
*resultobj
= 0;
26093 wxToolBar
*result
= 0 ;
26095 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26097 if (!wxPyCheckForApp()) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 result
= (wxToolBar
*)new wxToolBar();
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26110 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
= 0;
26112 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26113 wxWindow
*arg2
= (wxWindow
*) 0 ;
26114 int arg3
= (int) -1 ;
26115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26119 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26120 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26133 bool temp7
= false ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 PyObject
* obj2
= 0 ;
26137 PyObject
* obj3
= 0 ;
26138 PyObject
* obj4
= 0 ;
26139 PyObject
* obj5
= 0 ;
26140 PyObject
* obj6
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26150 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26152 if (!SWIG_IsOK(res2
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26158 if (!SWIG_IsOK(ecode3
)) {
26159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26161 arg3
= static_cast< int >(val3
);
26166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26176 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26177 if (!SWIG_IsOK(ecode6
)) {
26178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26180 arg6
= static_cast< long >(val6
);
26184 arg7
= wxString_in_helper(obj6
);
26185 if (arg7
== NULL
) SWIG_fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26212 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
= 0;
26214 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26216 wxBitmap
*arg3
= 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 PyObject
* obj2
= 0 ;
26226 char * kwnames
[] = {
26227 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26235 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26237 if (!SWIG_IsOK(ecode2
)) {
26238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26240 arg2
= static_cast< int >(val2
);
26241 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26242 if (!SWIG_IsOK(res3
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26248 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_Py_Void();
26262 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
= 0;
26264 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26266 wxBitmap
*arg3
= 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 PyObject
* obj2
= 0 ;
26276 char * kwnames
[] = {
26277 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26282 if (!SWIG_IsOK(res1
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26285 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26287 if (!SWIG_IsOK(ecode2
)) {
26288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26290 arg2
= static_cast< int >(val2
);
26291 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26292 if (!SWIG_IsOK(res3
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26298 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_Py_Void();
26312 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
= 0;
26314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26315 SwigValueWrapper
<wxVisualAttributes
> result
;
26318 PyObject
* obj0
= 0 ;
26319 char * kwnames
[] = {
26320 (char *) "variant", NULL
26323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26326 if (!SWIG_IsOK(ecode1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26329 arg1
= static_cast< wxWindowVariant
>(val1
);
26332 if (!wxPyCheckForApp()) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26345 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26348 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26349 return SWIG_Py_Void();
26352 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 return SWIG_Python_InitShadowInstance(args
);
26356 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26357 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26362 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26363 PyObject
*pyobj
= 0;
26367 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26369 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26376 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
= 0;
26378 wxColour
const &arg1_defvalue
= wxNullColour
;
26379 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26380 wxColour
const &arg2_defvalue
= wxNullColour
;
26381 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26382 wxFont
const &arg3_defvalue
= wxNullFont
;
26383 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26384 wxListItemAttr
*result
= 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 PyObject
* obj2
= 0 ;
26392 char * kwnames
[] = {
26393 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26400 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26410 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26411 if (!SWIG_IsOK(res3
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26417 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26432 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26433 PyObject
*resultobj
= 0;
26434 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26437 PyObject
*swig_obj
[1] ;
26439 if (!args
) SWIG_fail
;
26440 swig_obj
[0] = args
;
26441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26445 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_Py_Void();
26460 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= 0;
26462 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26463 wxColour
*arg2
= 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 char * kwnames
[] = {
26470 (char *) "self",(char *) "colText", NULL
26473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26478 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= SWIG_Py_Void();
26496 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
= 0;
26498 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26499 wxColour
*arg2
= 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char * kwnames
[] = {
26506 (char *) "self",(char *) "colBack", NULL
26509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26511 if (!SWIG_IsOK(res1
)) {
26512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26514 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "font", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26551 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26553 if (!SWIG_IsOK(res2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26559 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 (arg1
)->SetFont((wxFont
const &)*arg2
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_Py_Void();
26573 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 PyObject
*resultobj
= 0;
26575 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26579 PyObject
*swig_obj
[1] ;
26581 if (!args
) SWIG_fail
;
26582 swig_obj
[0] = args
;
26583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26587 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (bool)(arg1
)->HasTextColour();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26603 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26604 PyObject
*resultobj
= 0;
26605 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26609 PyObject
*swig_obj
[1] ;
26611 if (!args
) SWIG_fail
;
26612 swig_obj
[0] = args
;
26613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26617 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (bool)(arg1
)->HasBackgroundColour();
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26633 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26639 PyObject
*swig_obj
[1] ;
26641 if (!args
) SWIG_fail
;
26642 swig_obj
[0] = args
;
26643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26647 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (bool)(arg1
)->HasFont();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26663 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26664 PyObject
*resultobj
= 0;
26665 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26669 PyObject
*swig_obj
[1] ;
26671 if (!args
) SWIG_fail
;
26672 swig_obj
[0] = args
;
26673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26677 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 result
= (arg1
)->GetTextColour();
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26691 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26692 PyObject
*resultobj
= 0;
26693 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26697 PyObject
*swig_obj
[1] ;
26699 if (!args
) SWIG_fail
;
26700 swig_obj
[0] = args
;
26701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26702 if (!SWIG_IsOK(res1
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26705 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (arg1
)->GetBackgroundColour();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26719 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26720 PyObject
*resultobj
= 0;
26721 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26725 PyObject
*swig_obj
[1] ;
26727 if (!args
) SWIG_fail
;
26728 swig_obj
[0] = args
;
26729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26733 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (arg1
)->GetFont();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26747 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26750 wxListItemAttr
*arg2
= 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "source", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26766 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26768 if (!SWIG_IsOK(res2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26774 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26789 PyObject
*resultobj
= 0;
26790 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26793 PyObject
*swig_obj
[1] ;
26795 if (!args
) SWIG_fail
;
26796 swig_obj
[0] = args
;
26797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26801 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 wxListItemAttr_Destroy(arg1
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_Py_Void();
26815 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26818 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26819 return SWIG_Py_Void();
26822 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26823 return SWIG_Python_InitShadowInstance(args
);
26826 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26827 PyObject
*resultobj
= 0;
26828 wxListItem
*result
= 0 ;
26830 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 result
= (wxListItem
*)new wxListItem();
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26844 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26845 PyObject
*resultobj
= 0;
26846 wxListItem
*arg1
= (wxListItem
*) 0 ;
26849 PyObject
*swig_obj
[1] ;
26851 if (!args
) SWIG_fail
;
26852 swig_obj
[0] = args
;
26853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26854 if (!SWIG_IsOK(res1
)) {
26855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26857 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= SWIG_Py_Void();
26872 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26873 PyObject
*resultobj
= 0;
26874 wxListItem
*arg1
= (wxListItem
*) 0 ;
26877 PyObject
*swig_obj
[1] ;
26879 if (!args
) SWIG_fail
;
26880 swig_obj
[0] = args
;
26881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26885 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_Py_Void();
26899 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26900 PyObject
*resultobj
= 0;
26901 wxListItem
*arg1
= (wxListItem
*) 0 ;
26904 PyObject
*swig_obj
[1] ;
26906 if (!args
) SWIG_fail
;
26907 swig_obj
[0] = args
;
26908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->ClearAttributes();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_Py_Void();
26926 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxListItem
*arg1
= (wxListItem
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 char * kwnames
[] = {
26937 (char *) "self",(char *) "mask", NULL
26940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26942 if (!SWIG_IsOK(res1
)) {
26943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26945 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26947 if (!SWIG_IsOK(ecode2
)) {
26948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26950 arg2
= static_cast< long >(val2
);
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 (arg1
)->SetMask(arg2
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_Py_Void();
26964 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
= 0;
26966 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 char * kwnames
[] = {
26975 (char *) "self",(char *) "id", NULL
26978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26980 if (!SWIG_IsOK(res1
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26983 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26984 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26985 if (!SWIG_IsOK(ecode2
)) {
26986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26988 arg2
= static_cast< long >(val2
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 (arg1
)->SetId(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_Py_Void();
27002 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
= 0;
27004 wxListItem
*arg1
= (wxListItem
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char * kwnames
[] = {
27013 (char *) "self",(char *) "col", NULL
27016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27021 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27023 if (!SWIG_IsOK(ecode2
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
27026 arg2
= static_cast< int >(val2
);
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 (arg1
)->SetColumn(arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_Py_Void();
27040 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxListItem
*arg1
= (wxListItem
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 char * kwnames
[] = {
27051 (char *) "self",(char *) "state", NULL
27054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27061 if (!SWIG_IsOK(ecode2
)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
27064 arg2
= static_cast< long >(val2
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 (arg1
)->SetState(arg2
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_Py_Void();
27078 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
= 0;
27080 wxListItem
*arg1
= (wxListItem
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char * kwnames
[] = {
27089 (char *) "self",(char *) "stateMask", NULL
27092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27097 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27099 if (!SWIG_IsOK(ecode2
)) {
27100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27102 arg2
= static_cast< long >(val2
);
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->SetStateMask(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= 0;
27118 wxListItem
*arg1
= (wxListItem
*) 0 ;
27119 wxString
*arg2
= 0 ;
27122 bool temp2
= false ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 char * kwnames
[] = {
27126 (char *) "self",(char *) "text", NULL
27129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27134 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27136 arg2
= wxString_in_helper(obj1
);
27137 if (arg2
== NULL
) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 (arg1
)->SetText((wxString
const &)*arg2
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= SWIG_Py_Void();
27161 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
= 0;
27163 wxListItem
*arg1
= (wxListItem
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "self",(char *) "image", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27180 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27182 if (!SWIG_IsOK(ecode2
)) {
27183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27185 arg2
= static_cast< int >(val2
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 (arg1
)->SetImage(arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_Py_Void();
27199 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
= 0;
27201 wxListItem
*arg1
= (wxListItem
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 PyObject
* obj1
= 0 ;
27209 char * kwnames
[] = {
27210 (char *) "self",(char *) "data", NULL
27213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27218 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27220 if (!SWIG_IsOK(ecode2
)) {
27221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27223 arg2
= static_cast< long >(val2
);
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 (arg1
)->SetData(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= SWIG_Py_Void();
27237 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
= 0;
27239 wxListItem
*arg1
= (wxListItem
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char * kwnames
[] = {
27248 (char *) "self",(char *) "width", NULL
27251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27256 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27258 if (!SWIG_IsOK(ecode2
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27261 arg2
= static_cast< int >(val2
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->SetWidth(arg2
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 wxListColumnFormat arg2
;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "self",(char *) "align", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27294 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27296 if (!SWIG_IsOK(ecode2
)) {
27297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27299 arg2
= static_cast< wxListColumnFormat
>(val2
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 (arg1
)->SetAlign(arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_Py_Void();
27313 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
= 0;
27315 wxListItem
*arg1
= (wxListItem
*) 0 ;
27316 wxColour
*arg2
= 0 ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char * kwnames
[] = {
27323 (char *) "self",(char *) "colText", NULL
27326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27328 if (!SWIG_IsOK(res1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27331 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_Py_Void();
27349 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
= 0;
27351 wxListItem
*arg1
= (wxListItem
*) 0 ;
27352 wxColour
*arg2
= 0 ;
27356 PyObject
* obj0
= 0 ;
27357 PyObject
* obj1
= 0 ;
27358 char * kwnames
[] = {
27359 (char *) "self",(char *) "colBack", NULL
27362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27364 if (!SWIG_IsOK(res1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= SWIG_Py_Void();
27385 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
= 0;
27387 wxListItem
*arg1
= (wxListItem
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 char * kwnames
[] = {
27396 (char *) "self",(char *) "font", NULL
27399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27404 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27406 if (!SWIG_IsOK(res2
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27412 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 (arg1
)->SetFont((wxFont
const &)*arg2
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= SWIG_Py_Void();
27426 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27427 PyObject
*resultobj
= 0;
27428 wxListItem
*arg1
= (wxListItem
*) 0 ;
27432 PyObject
*swig_obj
[1] ;
27434 if (!args
) SWIG_fail
;
27435 swig_obj
[0] = args
;
27436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27440 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (long)(arg1
)->GetMask();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_From_long(static_cast< long >(result
));
27454 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27455 PyObject
*resultobj
= 0;
27456 wxListItem
*arg1
= (wxListItem
*) 0 ;
27460 PyObject
*swig_obj
[1] ;
27462 if (!args
) SWIG_fail
;
27463 swig_obj
[0] = args
;
27464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27468 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (long)(arg1
)->GetId();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_From_long(static_cast< long >(result
));
27482 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27483 PyObject
*resultobj
= 0;
27484 wxListItem
*arg1
= (wxListItem
*) 0 ;
27488 PyObject
*swig_obj
[1] ;
27490 if (!args
) SWIG_fail
;
27491 swig_obj
[0] = args
;
27492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27493 if (!SWIG_IsOK(res1
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27496 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (int)(arg1
)->GetColumn();
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= SWIG_From_int(static_cast< int >(result
));
27510 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27511 PyObject
*resultobj
= 0;
27512 wxListItem
*arg1
= (wxListItem
*) 0 ;
27516 PyObject
*swig_obj
[1] ;
27518 if (!args
) SWIG_fail
;
27519 swig_obj
[0] = args
;
27520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27521 if (!SWIG_IsOK(res1
)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27524 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (long)(arg1
)->GetState();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_From_long(static_cast< long >(result
));
27538 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxListItem
*arg1
= (wxListItem
*) 0 ;
27541 wxString
*result
= 0 ;
27544 PyObject
*swig_obj
[1] ;
27546 if (!args
) SWIG_fail
;
27547 swig_obj
[0] = args
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27552 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 wxString
const &_result_ref
= (arg1
)->GetText();
27557 result
= (wxString
*) &_result_ref
;
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27575 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxListItem
*arg1
= (wxListItem
*) 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27589 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (int)(arg1
)->GetImage();
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_From_int(static_cast< int >(result
));
27603 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 PyObject
*resultobj
= 0;
27605 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 PyObject
*swig_obj
[1] ;
27611 if (!args
) SWIG_fail
;
27612 swig_obj
[0] = args
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= (long)(arg1
)->GetData();
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_From_long(static_cast< long >(result
));
27631 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListItem
*arg1
= (wxListItem
*) 0 ;
27637 PyObject
*swig_obj
[1] ;
27639 if (!args
) SWIG_fail
;
27640 swig_obj
[0] = args
;
27641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (int)(arg1
)->GetWidth();
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_From_int(static_cast< int >(result
));
27659 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27660 PyObject
*resultobj
= 0;
27661 wxListItem
*arg1
= (wxListItem
*) 0 ;
27662 wxListColumnFormat result
;
27665 PyObject
*swig_obj
[1] ;
27667 if (!args
) SWIG_fail
;
27668 swig_obj
[0] = args
;
27669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27670 if (!SWIG_IsOK(res1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27673 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= SWIG_From_int(static_cast< int >(result
));
27687 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27690 wxListItemAttr
*result
= 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27715 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27716 PyObject
*resultobj
= 0;
27717 wxListItem
*arg1
= (wxListItem
*) 0 ;
27721 PyObject
*swig_obj
[1] ;
27723 if (!args
) SWIG_fail
;
27724 swig_obj
[0] = args
;
27725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27726 if (!SWIG_IsOK(res1
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27729 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 result
= (bool)(arg1
)->HasAttributes();
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27745 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 PyObject
*resultobj
= 0;
27747 wxListItem
*arg1
= (wxListItem
*) 0 ;
27751 PyObject
*swig_obj
[1] ;
27753 if (!args
) SWIG_fail
;
27754 swig_obj
[0] = args
;
27755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27759 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27773 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27774 PyObject
*resultobj
= 0;
27775 wxListItem
*arg1
= (wxListItem
*) 0 ;
27779 PyObject
*swig_obj
[1] ;
27781 if (!args
) SWIG_fail
;
27782 swig_obj
[0] = args
;
27783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27787 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27801 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27802 PyObject
*resultobj
= 0;
27803 wxListItem
*arg1
= (wxListItem
*) 0 ;
27807 PyObject
*swig_obj
[1] ;
27809 if (!args
) SWIG_fail
;
27810 swig_obj
[0] = args
;
27811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27812 if (!SWIG_IsOK(res1
)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27815 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27818 result
= ((wxListItem
const *)arg1
)->GetFont();
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27829 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListItem
*arg1
= (wxListItem
*) 0 ;
27837 PyObject
*swig_obj
[2] ;
27839 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27845 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27849 arg2
= static_cast< long >(val2
);
27850 if (arg1
) (arg1
)->m_mask
= arg2
;
27852 resultobj
= SWIG_Py_Void();
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27874 result
= (long) ((arg1
)->m_mask
);
27875 resultobj
= SWIG_From_long(static_cast< long >(result
));
27882 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListItem
*arg1
= (wxListItem
*) 0 ;
27890 PyObject
*swig_obj
[2] ;
27892 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27894 if (!SWIG_IsOK(res1
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27897 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27898 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27899 if (!SWIG_IsOK(ecode2
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27902 arg2
= static_cast< long >(val2
);
27903 if (arg1
) (arg1
)->m_itemId
= arg2
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27918 PyObject
*swig_obj
[1] ;
27920 if (!args
) SWIG_fail
;
27921 swig_obj
[0] = args
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27927 result
= (long) ((arg1
)->m_itemId
);
27928 resultobj
= SWIG_From_long(static_cast< long >(result
));
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27943 PyObject
*swig_obj
[2] ;
27945 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27951 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27952 if (!SWIG_IsOK(ecode2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27955 arg2
= static_cast< int >(val2
);
27956 if (arg1
) (arg1
)->m_col
= arg2
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxListItem
*arg1
= (wxListItem
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27980 result
= (int) ((arg1
)->m_col
);
27981 resultobj
= SWIG_From_int(static_cast< int >(result
));
27988 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListItem
*arg1
= (wxListItem
*) 0 ;
27996 PyObject
*swig_obj
[2] ;
27998 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28004 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28005 if (!SWIG_IsOK(ecode2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
28008 arg2
= static_cast< long >(val2
);
28009 if (arg1
) (arg1
)->m_state
= arg2
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxListItem
*arg1
= (wxListItem
*) 0 ;
28024 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28033 result
= (long) ((arg1
)->m_state
);
28034 resultobj
= SWIG_From_long(static_cast< long >(result
));
28041 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxListItem
*arg1
= (wxListItem
*) 0 ;
28049 PyObject
*swig_obj
[2] ;
28051 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
28052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28056 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28057 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28058 if (!SWIG_IsOK(ecode2
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
28061 arg2
= static_cast< long >(val2
);
28062 if (arg1
) (arg1
)->m_stateMask
= arg2
;
28064 resultobj
= SWIG_Py_Void();
28071 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28072 PyObject
*resultobj
= 0;
28073 wxListItem
*arg1
= (wxListItem
*) 0 ;
28077 PyObject
*swig_obj
[1] ;
28079 if (!args
) SWIG_fail
;
28080 swig_obj
[0] = args
;
28081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28082 if (!SWIG_IsOK(res1
)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28085 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28086 result
= (long) ((arg1
)->m_stateMask
);
28087 resultobj
= SWIG_From_long(static_cast< long >(result
));
28094 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxListItem
*arg1
= (wxListItem
*) 0 ;
28097 wxString
*arg2
= (wxString
*) 0 ;
28100 bool temp2
= false ;
28101 PyObject
*swig_obj
[2] ;
28103 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28108 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28110 arg2
= wxString_in_helper(swig_obj
[1]);
28111 if (arg2
== NULL
) SWIG_fail
;
28114 if (arg1
) (arg1
)->m_text
= *arg2
;
28116 resultobj
= SWIG_Py_Void();
28131 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28132 PyObject
*resultobj
= 0;
28133 wxListItem
*arg1
= (wxListItem
*) 0 ;
28134 wxString
*result
= 0 ;
28137 PyObject
*swig_obj
[1] ;
28139 if (!args
) SWIG_fail
;
28140 swig_obj
[0] = args
;
28141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28145 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28146 result
= (wxString
*)& ((arg1
)->m_text
);
28149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28160 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28161 PyObject
*resultobj
= 0;
28162 wxListItem
*arg1
= (wxListItem
*) 0 ;
28168 PyObject
*swig_obj
[2] ;
28170 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28175 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28176 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28177 if (!SWIG_IsOK(ecode2
)) {
28178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28180 arg2
= static_cast< int >(val2
);
28181 if (arg1
) (arg1
)->m_image
= arg2
;
28183 resultobj
= SWIG_Py_Void();
28190 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 PyObject
*resultobj
= 0;
28192 wxListItem
*arg1
= (wxListItem
*) 0 ;
28196 PyObject
*swig_obj
[1] ;
28198 if (!args
) SWIG_fail
;
28199 swig_obj
[0] = args
;
28200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28201 if (!SWIG_IsOK(res1
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28205 result
= (int) ((arg1
)->m_image
);
28206 resultobj
= SWIG_From_int(static_cast< int >(result
));
28213 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28214 PyObject
*resultobj
= 0;
28215 wxListItem
*arg1
= (wxListItem
*) 0 ;
28221 PyObject
*swig_obj
[2] ;
28223 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28225 if (!SWIG_IsOK(res1
)) {
28226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28228 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28229 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28230 if (!SWIG_IsOK(ecode2
)) {
28231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28233 arg2
= static_cast< long >(val2
);
28234 if (arg1
) (arg1
)->m_data
= arg2
;
28236 resultobj
= SWIG_Py_Void();
28243 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28244 PyObject
*resultobj
= 0;
28245 wxListItem
*arg1
= (wxListItem
*) 0 ;
28249 PyObject
*swig_obj
[1] ;
28251 if (!args
) SWIG_fail
;
28252 swig_obj
[0] = args
;
28253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28257 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28258 result
= (long) ((arg1
)->m_data
);
28259 resultobj
= SWIG_From_long(static_cast< long >(result
));
28266 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 PyObject
*resultobj
= 0;
28268 wxListItem
*arg1
= (wxListItem
*) 0 ;
28274 PyObject
*swig_obj
[2] ;
28276 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28281 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28282 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28283 if (!SWIG_IsOK(ecode2
)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28286 arg2
= static_cast< int >(val2
);
28287 if (arg1
) (arg1
)->m_format
= arg2
;
28289 resultobj
= SWIG_Py_Void();
28296 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28297 PyObject
*resultobj
= 0;
28298 wxListItem
*arg1
= (wxListItem
*) 0 ;
28302 PyObject
*swig_obj
[1] ;
28304 if (!args
) SWIG_fail
;
28305 swig_obj
[0] = args
;
28306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28307 if (!SWIG_IsOK(res1
)) {
28308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28310 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28311 result
= (int) ((arg1
)->m_format
);
28312 resultobj
= SWIG_From_int(static_cast< int >(result
));
28319 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 PyObject
*resultobj
= 0;
28321 wxListItem
*arg1
= (wxListItem
*) 0 ;
28327 PyObject
*swig_obj
[2] ;
28329 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28335 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28336 if (!SWIG_IsOK(ecode2
)) {
28337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28339 arg2
= static_cast< int >(val2
);
28340 if (arg1
) (arg1
)->m_width
= arg2
;
28342 resultobj
= SWIG_Py_Void();
28349 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxListItem
*arg1
= (wxListItem
*) 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28363 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28364 result
= (int) ((arg1
)->m_width
);
28365 resultobj
= SWIG_From_int(static_cast< int >(result
));
28372 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28375 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28376 return SWIG_Py_Void();
28379 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28380 return SWIG_Python_InitShadowInstance(args
);
28383 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
= 0;
28385 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28386 int arg2
= (int) 0 ;
28387 wxListEvent
*result
= 0 ;
28392 PyObject
* obj0
= 0 ;
28393 PyObject
* obj1
= 0 ;
28394 char * kwnames
[] = {
28395 (char *) "commandType",(char *) "id", NULL
28398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28401 if (!SWIG_IsOK(ecode1
)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28404 arg1
= static_cast< wxEventType
>(val1
);
28407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28408 if (!SWIG_IsOK(ecode2
)) {
28409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28411 arg2
= static_cast< int >(val2
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28426 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28427 PyObject
*resultobj
= 0;
28428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28434 PyObject
*swig_obj
[2] ;
28436 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28441 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28442 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28446 arg2
= static_cast< int >(val2
);
28447 if (arg1
) (arg1
)->m_code
= arg2
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28457 PyObject
*resultobj
= 0;
28458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28462 PyObject
*swig_obj
[1] ;
28464 if (!args
) SWIG_fail
;
28465 swig_obj
[0] = args
;
28466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28470 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28471 result
= (int) ((arg1
)->m_code
);
28472 resultobj
= SWIG_From_int(static_cast< int >(result
));
28479 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 PyObject
*resultobj
= 0;
28481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28487 PyObject
*swig_obj
[2] ;
28489 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28491 if (!SWIG_IsOK(res1
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28494 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28495 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28496 if (!SWIG_IsOK(ecode2
)) {
28497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28499 arg2
= static_cast< long >(val2
);
28500 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28502 resultobj
= SWIG_Py_Void();
28509 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28510 PyObject
*resultobj
= 0;
28511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28515 PyObject
*swig_obj
[1] ;
28517 if (!args
) SWIG_fail
;
28518 swig_obj
[0] = args
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28523 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28524 result
= (long) ((arg1
)->m_oldItemIndex
);
28525 resultobj
= SWIG_From_long(static_cast< long >(result
));
28532 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28534 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28540 PyObject
*swig_obj
[2] ;
28542 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28547 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28548 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28549 if (!SWIG_IsOK(ecode2
)) {
28550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28552 arg2
= static_cast< long >(val2
);
28553 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28555 resultobj
= SWIG_Py_Void();
28562 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28563 PyObject
*resultobj
= 0;
28564 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28568 PyObject
*swig_obj
[1] ;
28570 if (!args
) SWIG_fail
;
28571 swig_obj
[0] = args
;
28572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28576 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28577 result
= (long) ((arg1
)->m_itemIndex
);
28578 resultobj
= SWIG_From_long(static_cast< long >(result
));
28585 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28593 PyObject
*swig_obj
[2] ;
28595 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28600 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28601 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28602 if (!SWIG_IsOK(ecode2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28605 arg2
= static_cast< int >(val2
);
28606 if (arg1
) (arg1
)->m_col
= arg2
;
28608 resultobj
= SWIG_Py_Void();
28615 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28616 PyObject
*resultobj
= 0;
28617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28621 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28629 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28630 result
= (int) ((arg1
)->m_col
);
28631 resultobj
= SWIG_From_int(static_cast< int >(result
));
28638 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28641 wxPoint
*arg2
= (wxPoint
*) 0 ;
28646 PyObject
*swig_obj
[2] ;
28648 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28653 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28654 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28655 if (!SWIG_IsOK(res2
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28658 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28659 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28661 resultobj
= SWIG_Py_Void();
28668 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28669 PyObject
*resultobj
= 0;
28670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28671 wxPoint
*result
= 0 ;
28674 PyObject
*swig_obj
[1] ;
28676 if (!args
) SWIG_fail
;
28677 swig_obj
[0] = args
;
28678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28679 if (!SWIG_IsOK(res1
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28682 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28683 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28691 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28694 wxListItem
*result
= 0 ;
28697 PyObject
*swig_obj
[1] ;
28699 if (!args
) SWIG_fail
;
28700 swig_obj
[0] = args
;
28701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28705 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28706 result
= (wxListItem
*)& ((arg1
)->m_item
);
28708 resultobj
= wxPyMake_wxObject(result
, 0);
28716 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28717 PyObject
*resultobj
= 0;
28718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28722 PyObject
*swig_obj
[1] ;
28724 if (!args
) SWIG_fail
;
28725 swig_obj
[0] = args
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28730 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (int)(arg1
)->GetKeyCode();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_From_int(static_cast< int >(result
));
28744 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28750 PyObject
*swig_obj
[1] ;
28752 if (!args
) SWIG_fail
;
28753 swig_obj
[0] = args
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28758 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (long)(arg1
)->GetIndex();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_From_long(static_cast< long >(result
));
28772 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 PyObject
*resultobj
= 0;
28774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28778 PyObject
*swig_obj
[1] ;
28780 if (!args
) SWIG_fail
;
28781 swig_obj
[0] = args
;
28782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28786 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (int)(arg1
)->GetColumn();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= SWIG_From_int(static_cast< int >(result
));
28800 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 PyObject
*resultobj
= 0;
28802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28806 PyObject
*swig_obj
[1] ;
28808 if (!args
) SWIG_fail
;
28809 swig_obj
[0] = args
;
28810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28814 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (arg1
)->GetPoint();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28828 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 PyObject
*resultobj
= 0;
28830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28831 wxString
*result
= 0 ;
28834 PyObject
*swig_obj
[1] ;
28836 if (!args
) SWIG_fail
;
28837 swig_obj
[0] = args
;
28838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28842 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 wxString
const &_result_ref
= (arg1
)->GetLabel();
28847 result
= (wxString
*) &_result_ref
;
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28865 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28866 PyObject
*resultobj
= 0;
28867 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28868 wxString
*result
= 0 ;
28871 PyObject
*swig_obj
[1] ;
28873 if (!args
) SWIG_fail
;
28874 swig_obj
[0] = args
;
28875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28879 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 wxString
const &_result_ref
= (arg1
)->GetText();
28884 result
= (wxString
*) &_result_ref
;
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28902 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 PyObject
*resultobj
= 0;
28904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28908 PyObject
*swig_obj
[1] ;
28910 if (!args
) SWIG_fail
;
28911 swig_obj
[0] = args
;
28912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28913 if (!SWIG_IsOK(res1
)) {
28914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28916 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (int)(arg1
)->GetImage();
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_From_int(static_cast< int >(result
));
28930 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28931 PyObject
*resultobj
= 0;
28932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28936 PyObject
*swig_obj
[1] ;
28938 if (!args
) SWIG_fail
;
28939 swig_obj
[0] = args
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28944 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (long)(arg1
)->GetData();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_From_long(static_cast< long >(result
));
28958 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28959 PyObject
*resultobj
= 0;
28960 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28964 PyObject
*swig_obj
[1] ;
28966 if (!args
) SWIG_fail
;
28967 swig_obj
[0] = args
;
28968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28969 if (!SWIG_IsOK(res1
)) {
28970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28972 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (long)(arg1
)->GetMask();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= SWIG_From_long(static_cast< long >(result
));
28986 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28987 PyObject
*resultobj
= 0;
28988 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28989 wxListItem
*result
= 0 ;
28992 PyObject
*swig_obj
[1] ;
28994 if (!args
) SWIG_fail
;
28995 swig_obj
[0] = args
;
28996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28997 if (!SWIG_IsOK(res1
)) {
28998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
29000 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 wxListItem
const &_result_ref
= (arg1
)->GetItem();
29005 result
= (wxListItem
*) &_result_ref
;
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
29017 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29018 PyObject
*resultobj
= 0;
29019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29023 PyObject
*swig_obj
[1] ;
29025 if (!args
) SWIG_fail
;
29026 swig_obj
[0] = args
;
29027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29028 if (!SWIG_IsOK(res1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
29031 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (long)(arg1
)->GetCacheFrom();
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_From_long(static_cast< long >(result
));
29045 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29046 PyObject
*resultobj
= 0;
29047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29051 PyObject
*swig_obj
[1] ;
29053 if (!args
) SWIG_fail
;
29054 swig_obj
[0] = args
;
29055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
29059 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 result
= (long)(arg1
)->GetCacheTo();
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= SWIG_From_long(static_cast< long >(result
));
29073 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29074 PyObject
*resultobj
= 0;
29075 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29079 PyObject
*swig_obj
[1] ;
29081 if (!args
) SWIG_fail
;
29082 swig_obj
[0] = args
;
29083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29084 if (!SWIG_IsOK(res1
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29087 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29103 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
= 0;
29105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "editCancelled", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29122 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29123 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29124 if (!SWIG_IsOK(ecode2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29127 arg2
= static_cast< bool >(val2
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 (arg1
)->SetEditCanceled(arg2
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= SWIG_Py_Void();
29141 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29144 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29145 return SWIG_Py_Void();
29148 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29149 return SWIG_Python_InitShadowInstance(args
);
29152 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxWindow
*arg1
= (wxWindow
*) 0 ;
29155 int arg2
= (int) -1 ;
29156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29160 long arg5
= (long) wxLC_ICON
;
29161 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29162 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29163 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29165 wxPyListCtrl
*result
= 0 ;
29176 bool temp7
= false ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 PyObject
* obj2
= 0 ;
29180 PyObject
* obj3
= 0 ;
29181 PyObject
* obj4
= 0 ;
29182 PyObject
* obj5
= 0 ;
29183 PyObject
* obj6
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29196 if (!SWIG_IsOK(ecode2
)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29199 arg2
= static_cast< int >(val2
);
29204 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29210 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29214 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29215 if (!SWIG_IsOK(ecode5
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29218 arg5
= static_cast< long >(val5
);
29221 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29222 if (!SWIG_IsOK(res6
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29228 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29232 arg7
= wxString_in_helper(obj6
);
29233 if (arg7
== NULL
) SWIG_fail
;
29238 if (!wxPyCheckForApp()) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29259 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29260 PyObject
*resultobj
= 0;
29261 wxPyListCtrl
*result
= 0 ;
29263 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29265 if (!wxPyCheckForApp()) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29278 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
= 0;
29280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29281 wxWindow
*arg2
= (wxWindow
*) 0 ;
29282 int arg3
= (int) -1 ;
29283 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29284 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29285 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29286 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29287 long arg6
= (long) wxLC_ICON
;
29288 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29289 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29290 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29291 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29305 bool temp8
= false ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 PyObject
* obj3
= 0 ;
29310 PyObject
* obj4
= 0 ;
29311 PyObject
* obj5
= 0 ;
29312 PyObject
* obj6
= 0 ;
29313 PyObject
* obj7
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29323 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29325 if (!SWIG_IsOK(res2
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29328 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29331 if (!SWIG_IsOK(ecode3
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29334 arg3
= static_cast< int >(val3
);
29339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29350 if (!SWIG_IsOK(ecode6
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29353 arg6
= static_cast< long >(val6
);
29356 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29357 if (!SWIG_IsOK(res7
)) {
29358 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29363 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29367 arg8
= wxString_in_helper(obj7
);
29368 if (arg8
== NULL
) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29395 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
= 0;
29397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29398 PyObject
*arg2
= (PyObject
*) 0 ;
29399 PyObject
*arg3
= (PyObject
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "self",(char *) "_class", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_Py_Void();
29430 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29434 wxListItem
*result
= 0 ;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "col", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29450 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29452 if (!SWIG_IsOK(ecode2
)) {
29453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29455 arg2
= static_cast< int >(val2
);
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= wxPyMake_wxObject(result
, 0);
29471 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= 0;
29473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29475 wxListItem
*arg3
= 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 PyObject
* obj2
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "col",(char *) "item", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29497 if (!SWIG_IsOK(ecode2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29500 arg2
= static_cast< int >(val2
);
29501 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29502 if (!SWIG_IsOK(res3
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29508 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29524 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
= 0;
29526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 char * kwnames
[] = {
29536 (char *) "self",(char *) "col", NULL
29539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29544 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29546 if (!SWIG_IsOK(ecode2
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29549 arg2
= static_cast< int >(val2
);
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= SWIG_From_int(static_cast< int >(result
));
29563 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
= 0;
29565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29575 PyObject
* obj0
= 0 ;
29576 PyObject
* obj1
= 0 ;
29577 PyObject
* obj2
= 0 ;
29578 char * kwnames
[] = {
29579 (char *) "self",(char *) "col",(char *) "width", NULL
29582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29584 if (!SWIG_IsOK(res1
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29587 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29589 if (!SWIG_IsOK(ecode2
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29592 arg2
= static_cast< int >(val2
);
29593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29594 if (!SWIG_IsOK(ecode3
)) {
29595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29597 arg3
= static_cast< int >(val3
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29613 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29614 PyObject
*resultobj
= 0;
29615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29619 PyObject
*swig_obj
[1] ;
29621 if (!args
) SWIG_fail
;
29622 swig_obj
[0] = args
;
29623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29624 if (!SWIG_IsOK(res1
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_From_int(static_cast< int >(result
));
29641 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29642 PyObject
*resultobj
= 0;
29643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29647 PyObject
*swig_obj
[1] ;
29649 if (!args
) SWIG_fail
;
29650 swig_obj
[0] = args
;
29651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29655 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29669 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29670 PyObject
*resultobj
= 0;
29671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29672 wxTextCtrl
*result
= 0 ;
29675 PyObject
*swig_obj
[1] ;
29677 if (!args
) SWIG_fail
;
29678 swig_obj
[0] = args
;
29679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= wxPyMake_wxObject(result
, 0);
29699 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
= 0;
29701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29703 int arg3
= (int) 0 ;
29704 wxListItem
*result
= 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 PyObject
* obj2
= 0 ;
29714 char * kwnames
[] = {
29715 (char *) "self",(char *) "itemId",(char *) "col", NULL
29718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29720 if (!SWIG_IsOK(res1
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29723 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29724 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29725 if (!SWIG_IsOK(ecode2
)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29728 arg2
= static_cast< long >(val2
);
29730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29731 if (!SWIG_IsOK(ecode3
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29734 arg3
= static_cast< int >(val3
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= wxPyMake_wxObject(result
, 0);
29751 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29754 wxListItem
*arg2
= 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char * kwnames
[] = {
29763 (char *) "self",(char *) "info", NULL
29766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29771 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29773 if (!SWIG_IsOK(res2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29779 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)(arg1
)->SetItem(*arg2
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= 0;
29797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29800 wxString
*arg4
= 0 ;
29801 int arg5
= (int) -1 ;
29809 bool temp4
= false ;
29812 PyObject
* obj0
= 0 ;
29813 PyObject
* obj1
= 0 ;
29814 PyObject
* obj2
= 0 ;
29815 PyObject
* obj3
= 0 ;
29816 PyObject
* obj4
= 0 ;
29817 char * kwnames
[] = {
29818 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29823 if (!SWIG_IsOK(res1
)) {
29824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29828 if (!SWIG_IsOK(ecode2
)) {
29829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29831 arg2
= static_cast< long >(val2
);
29832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29833 if (!SWIG_IsOK(ecode3
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29836 arg3
= static_cast< int >(val3
);
29838 arg4
= wxString_in_helper(obj3
);
29839 if (arg4
== NULL
) SWIG_fail
;
29843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29844 if (!SWIG_IsOK(ecode5
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29847 arg5
= static_cast< int >(val5
);
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_From_long(static_cast< long >(result
));
29870 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= 0;
29872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 char * kwnames
[] = {
29886 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29894 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29895 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29896 if (!SWIG_IsOK(ecode2
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29899 arg2
= static_cast< long >(val2
);
29900 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29901 if (!SWIG_IsOK(ecode3
)) {
29902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29904 arg3
= static_cast< long >(val3
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_From_int(static_cast< int >(result
));
29918 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 PyObject
* obj3
= 0 ;
29937 char * kwnames
[] = {
29938 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29946 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29948 if (!SWIG_IsOK(ecode2
)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29951 arg2
= static_cast< long >(val2
);
29952 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29953 if (!SWIG_IsOK(ecode3
)) {
29954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29956 arg3
= static_cast< long >(val3
);
29957 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29958 if (!SWIG_IsOK(ecode4
)) {
29959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29961 arg4
= static_cast< long >(val4
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29977 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
= 0;
29979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29982 int arg4
= (int) -1 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 PyObject
* obj3
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30005 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30007 if (!SWIG_IsOK(ecode2
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
30010 arg2
= static_cast< long >(val2
);
30011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30012 if (!SWIG_IsOK(ecode3
)) {
30013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
30015 arg3
= static_cast< int >(val3
);
30017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30018 if (!SWIG_IsOK(ecode4
)) {
30019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
30021 arg4
= static_cast< int >(val4
);
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30038 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
= 0;
30040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 PyObject
* obj2
= 0 ;
30056 PyObject
* obj3
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30068 if (!SWIG_IsOK(ecode2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30071 arg2
= static_cast< long >(val2
);
30072 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30073 if (!SWIG_IsOK(ecode3
)) {
30074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30076 arg3
= static_cast< long >(val3
);
30077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30078 if (!SWIG_IsOK(ecode4
)) {
30079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30081 arg4
= static_cast< int >(val4
);
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30097 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 char * kwnames
[] = {
30109 (char *) "self",(char *) "item", NULL
30112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30114 if (!SWIG_IsOK(res1
)) {
30115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30117 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30119 if (!SWIG_IsOK(ecode2
)) {
30120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30122 arg2
= static_cast< long >(val2
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30142 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
= 0;
30144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30146 wxString
*arg3
= 0 ;
30151 bool temp3
= false ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 PyObject
* obj2
= 0 ;
30155 char * kwnames
[] = {
30156 (char *) "self",(char *) "item",(char *) "str", NULL
30159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30166 if (!SWIG_IsOK(ecode2
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30169 arg2
= static_cast< long >(val2
);
30171 arg3
= wxString_in_helper(obj2
);
30172 if (arg3
== NULL
) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= SWIG_Py_Void();
30196 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
= 0;
30198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 char * kwnames
[] = {
30208 (char *) "self",(char *) "item", NULL
30211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30213 if (!SWIG_IsOK(res1
)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30218 if (!SWIG_IsOK(ecode2
)) {
30219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30221 arg2
= static_cast< long >(val2
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_From_long(static_cast< long >(result
));
30235 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= 0;
30237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 PyObject
* obj2
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "item",(char *) "data", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30260 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30261 if (!SWIG_IsOK(ecode2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30264 arg2
= static_cast< long >(val2
);
30265 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30266 if (!SWIG_IsOK(ecode3
)) {
30267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30269 arg3
= static_cast< long >(val3
);
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
= 0;
30287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "item", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30306 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30307 if (!SWIG_IsOK(ecode2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30310 arg2
= static_cast< long >(val2
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30328 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 PyObject
* obj2
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "item",(char *) "code", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30348 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30349 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30350 if (!SWIG_IsOK(ecode2
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30353 arg2
= static_cast< long >(val2
);
30355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30356 if (!SWIG_IsOK(ecode3
)) {
30357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30359 arg3
= static_cast< int >(val3
);
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30374 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= 0;
30376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30378 wxPoint
*arg3
= 0 ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 PyObject
* obj2
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "item",(char *) "pos", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30399 if (!SWIG_IsOK(ecode2
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30402 arg2
= static_cast< long >(val2
);
30405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30422 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30428 PyObject
*swig_obj
[1] ;
30430 if (!args
) SWIG_fail
;
30431 swig_obj
[0] = args
;
30432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_From_int(static_cast< int >(result
));
30450 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30451 PyObject
*resultobj
= 0;
30452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30456 PyObject
*swig_obj
[1] ;
30458 if (!args
) SWIG_fail
;
30459 swig_obj
[0] = args
;
30460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30464 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_From_int(static_cast< int >(result
));
30478 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30479 PyObject
*resultobj
= 0;
30480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30484 PyObject
*swig_obj
[1] ;
30486 if (!args
) SWIG_fail
;
30487 swig_obj
[0] = args
;
30488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30489 if (!SWIG_IsOK(res1
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30492 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30506 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
= 0;
30508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30510 bool arg3
= (bool) false ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 PyObject
* obj2
= 0 ;
30520 char * kwnames
[] = {
30521 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30529 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30531 if (!SWIG_IsOK(ecode2
)) {
30532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30534 arg2
= static_cast< int >(val2
);
30536 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30537 if (!SWIG_IsOK(ecode3
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30540 arg3
= static_cast< bool >(val3
);
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->SetItemSpacing(arg2
,arg3
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_From_int(static_cast< int >(result
));
30583 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30589 PyObject
*swig_obj
[1] ;
30591 if (!args
) SWIG_fail
;
30592 swig_obj
[0] = args
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30611 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
= 0;
30613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30614 wxColour
*arg2
= 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char * kwnames
[] = {
30621 (char *) "self",(char *) "col", NULL
30624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30629 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_Py_Void();
30647 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30648 PyObject
*resultobj
= 0;
30649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30653 PyObject
*swig_obj
[1] ;
30655 if (!args
) SWIG_fail
;
30656 swig_obj
[0] = args
;
30657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30661 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_From_long(static_cast< long >(result
));
30675 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30679 bool arg3
= (bool) true ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 PyObject
* obj2
= 0 ;
30689 char * kwnames
[] = {
30690 (char *) "self",(char *) "style",(char *) "add", NULL
30693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30698 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30699 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30700 if (!SWIG_IsOK(ecode2
)) {
30701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30703 arg2
= static_cast< long >(val2
);
30705 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30706 if (!SWIG_IsOK(ecode3
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30709 arg3
= static_cast< bool >(val3
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 (arg1
)->SetSingleStyle(arg2
,arg3
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_Py_Void();
30724 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
= 0;
30726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30728 int arg3
= (int) wxLIST_NEXT_ALL
;
30729 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 PyObject
* obj2
= 0 ;
30742 PyObject
* obj3
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30753 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30754 if (!SWIG_IsOK(ecode2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30757 arg2
= static_cast< long >(val2
);
30759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30760 if (!SWIG_IsOK(ecode3
)) {
30761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30763 arg3
= static_cast< int >(val3
);
30766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30767 if (!SWIG_IsOK(ecode4
)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30770 arg4
= static_cast< int >(val4
);
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= SWIG_From_long(static_cast< long >(result
));
30785 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
= 0;
30787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30789 wxImageList
*result
= 0 ;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 char * kwnames
[] = {
30797 (char *) "self",(char *) "which", NULL
30800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30805 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30807 if (!SWIG_IsOK(ecode2
)) {
30808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30810 arg2
= static_cast< int >(val2
);
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30826 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
= 0;
30828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30829 wxImageList
*arg2
= (wxImageList
*) 0 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 PyObject
* obj2
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "imageList",(char *) "which", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30849 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30851 if (!SWIG_IsOK(res2
)) {
30852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30854 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30856 if (!SWIG_IsOK(ecode3
)) {
30857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30859 arg3
= static_cast< int >(val3
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->SetImageList(arg2
,arg3
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= SWIG_Py_Void();
30873 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
= 0;
30875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30876 wxImageList
*arg2
= (wxImageList
*) 0 ;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 PyObject
* obj2
= 0 ;
30886 char * kwnames
[] = {
30887 (char *) "self",(char *) "imageList",(char *) "which", NULL
30890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30892 if (!SWIG_IsOK(res1
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30896 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30897 if (!SWIG_IsOK(res2
)) {
30898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30901 if (!SWIG_IsOK(ecode3
)) {
30902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30904 arg3
= static_cast< int >(val3
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 (arg1
)->AssignImageList(arg2
,arg3
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= SWIG_Py_Void();
30918 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 PyObject
*resultobj
= 0;
30920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30948 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30978 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
= 0;
30980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char * kwnames
[] = {
30989 (char *) "self",(char *) "item", NULL
30992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30997 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30999 if (!SWIG_IsOK(ecode2
)) {
31000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
31002 arg2
= static_cast< long >(val2
);
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->RefreshItem(arg2
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_Py_Void();
31016 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
= 0;
31018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 PyObject
* obj2
= 0 ;
31030 char * kwnames
[] = {
31031 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
31034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31036 if (!SWIG_IsOK(res1
)) {
31037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31039 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31041 if (!SWIG_IsOK(ecode2
)) {
31042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
31044 arg2
= static_cast< long >(val2
);
31045 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31046 if (!SWIG_IsOK(ecode3
)) {
31047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
31049 arg3
= static_cast< long >(val3
);
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 (arg1
)->RefreshItems(arg2
,arg3
);
31053 wxPyEndAllowThreads(__tstate
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31056 resultobj
= SWIG_Py_Void();
31063 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31064 PyObject
*resultobj
= 0;
31065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31066 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 char * kwnames
[] = {
31075 (char *) "self",(char *) "flag", NULL
31078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31080 if (!SWIG_IsOK(res1
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31086 if (!SWIG_IsOK(ecode2
)) {
31087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31089 arg2
= static_cast< int >(val2
);
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)(arg1
)->Arrange(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_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= 0;
31108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "item", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31128 if (!SWIG_IsOK(ecode2
)) {
31129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31131 arg2
= static_cast< long >(val2
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (bool)(arg1
)->DeleteItem(arg2
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31147 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31153 PyObject
*swig_obj
[1] ;
31155 if (!args
) SWIG_fail
;
31156 swig_obj
[0] = args
;
31157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (bool)(arg1
)->DeleteAllItems();
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31177 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
= 0;
31179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 char * kwnames
[] = {
31189 (char *) "self",(char *) "col", NULL
31192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31199 if (!SWIG_IsOK(ecode2
)) {
31200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31202 arg2
= static_cast< int >(val2
);
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31218 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31219 PyObject
*resultobj
= 0;
31220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31224 PyObject
*swig_obj
[1] ;
31226 if (!args
) SWIG_fail
;
31227 swig_obj
[0] = args
;
31228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31229 if (!SWIG_IsOK(res1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= (bool)(arg1
)->DeleteAllColumns();
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31248 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31249 PyObject
*resultobj
= 0;
31250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31253 PyObject
*swig_obj
[1] ;
31255 if (!args
) SWIG_fail
;
31256 swig_obj
[0] = args
;
31257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 (arg1
)->ClearAll();
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_Py_Void();
31275 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
= 0;
31277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 char * kwnames
[] = {
31286 (char *) "self",(char *) "item", NULL
31289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31291 if (!SWIG_IsOK(res1
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31294 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31295 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31296 if (!SWIG_IsOK(ecode2
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31299 arg2
= static_cast< long >(val2
);
31301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31302 (arg1
)->EditLabel(arg2
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= SWIG_Py_Void();
31313 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
= 0;
31315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "item", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31335 if (!SWIG_IsOK(ecode2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31338 arg2
= static_cast< long >(val2
);
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31354 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
= 0;
31356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31358 wxString
*arg3
= 0 ;
31359 bool arg4
= (bool) false ;
31365 bool temp3
= false ;
31368 PyObject
* obj0
= 0 ;
31369 PyObject
* obj1
= 0 ;
31370 PyObject
* obj2
= 0 ;
31371 PyObject
* obj3
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31381 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31383 if (!SWIG_IsOK(ecode2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31386 arg2
= static_cast< long >(val2
);
31388 arg3
= wxString_in_helper(obj2
);
31389 if (arg3
== NULL
) SWIG_fail
;
31393 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31394 if (!SWIG_IsOK(ecode4
)) {
31395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31397 arg4
= static_cast< bool >(val4
);
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_From_long(static_cast< long >(result
));
31420 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 PyObject
* obj1
= 0 ;
31434 PyObject
* obj2
= 0 ;
31435 char * kwnames
[] = {
31436 (char *) "self",(char *) "start",(char *) "data", NULL
31439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31441 if (!SWIG_IsOK(res1
)) {
31442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31444 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31445 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31446 if (!SWIG_IsOK(ecode2
)) {
31447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31449 arg2
= static_cast< long >(val2
);
31450 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31451 if (!SWIG_IsOK(ecode3
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31454 arg3
= static_cast< long >(val3
);
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_From_long(static_cast< long >(result
));
31468 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
= 0;
31470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31472 wxPoint
*arg3
= 0 ;
31482 PyObject
* obj0
= 0 ;
31483 PyObject
* obj1
= 0 ;
31484 PyObject
* obj2
= 0 ;
31485 PyObject
* obj3
= 0 ;
31486 char * kwnames
[] = {
31487 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31492 if (!SWIG_IsOK(res1
)) {
31493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31497 if (!SWIG_IsOK(ecode2
)) {
31498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31500 arg2
= static_cast< long >(val2
);
31503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31505 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31506 if (!SWIG_IsOK(ecode4
)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31509 arg4
= static_cast< int >(val4
);
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_From_long(static_cast< long >(result
));
31523 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
= 0;
31525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31526 wxPoint
*arg2
= 0 ;
31533 int res3
= SWIG_TMPOBJ
;
31534 PyObject
* obj0
= 0 ;
31535 PyObject
* obj1
= 0 ;
31536 char * kwnames
[] = {
31537 (char *) "self",(char *) "point", NULL
31541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31543 if (!SWIG_IsOK(res1
)) {
31544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31546 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= SWIG_From_long(static_cast< long >(result
));
31558 if (SWIG_IsTmpObj(res3
)) {
31559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31570 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
= 0;
31572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31573 wxPoint
*arg2
= 0 ;
31575 long *arg4
= (long *) 0 ;
31581 int res3
= SWIG_TMPOBJ
;
31583 int res4
= SWIG_TMPOBJ
;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char * kwnames
[] = {
31587 (char *) "self",(char *) "point", NULL
31592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_From_long(static_cast< long >(result
));
31609 if (SWIG_IsTmpObj(res3
)) {
31610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31612 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31615 if (SWIG_IsTmpObj(res4
)) {
31616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31618 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31627 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31628 PyObject
*resultobj
= 0;
31629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31630 wxListItem
*arg2
= 0 ;
31636 PyObject
* obj0
= 0 ;
31637 PyObject
* obj1
= 0 ;
31638 char * kwnames
[] = {
31639 (char *) "self",(char *) "info", NULL
31642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31644 if (!SWIG_IsOK(res1
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31649 if (!SWIG_IsOK(res2
)) {
31650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31655 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (long)(arg1
)->InsertItem(*arg2
);
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31662 resultobj
= SWIG_From_long(static_cast< long >(result
));
31669 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
= 0;
31671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31673 wxString
*arg3
= 0 ;
31674 int arg4
= (int) -1 ;
31680 bool temp3
= false ;
31683 PyObject
* obj0
= 0 ;
31684 PyObject
* obj1
= 0 ;
31685 PyObject
* obj2
= 0 ;
31686 PyObject
* obj3
= 0 ;
31687 char * kwnames
[] = {
31688 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31693 if (!SWIG_IsOK(res1
)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31698 if (!SWIG_IsOK(ecode2
)) {
31699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31701 arg2
= static_cast< long >(val2
);
31703 arg3
= wxString_in_helper(obj2
);
31704 if (arg3
== NULL
) SWIG_fail
;
31708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31709 if (!SWIG_IsOK(ecode4
)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31712 arg4
= static_cast< int >(val4
);
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31717 wxPyEndAllowThreads(__tstate
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= SWIG_From_long(static_cast< long >(result
));
31735 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
= 0;
31737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31747 PyObject
* obj0
= 0 ;
31748 PyObject
* obj1
= 0 ;
31749 PyObject
* obj2
= 0 ;
31750 char * kwnames
[] = {
31751 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31756 if (!SWIG_IsOK(res1
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31761 if (!SWIG_IsOK(ecode2
)) {
31762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31764 arg2
= static_cast< long >(val2
);
31765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31766 if (!SWIG_IsOK(ecode3
)) {
31767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31769 arg3
= static_cast< int >(val3
);
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= SWIG_From_long(static_cast< long >(result
));
31783 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
= 0;
31785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31787 wxString
*arg3
= 0 ;
31794 bool temp3
= false ;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 PyObject
* obj2
= 0 ;
31800 PyObject
* obj3
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31807 if (!SWIG_IsOK(res1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31810 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31812 if (!SWIG_IsOK(ecode2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31815 arg2
= static_cast< long >(val2
);
31817 arg3
= wxString_in_helper(obj2
);
31818 if (arg3
== NULL
) SWIG_fail
;
31821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31822 if (!SWIG_IsOK(ecode4
)) {
31823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31825 arg4
= static_cast< int >(val4
);
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_From_long(static_cast< long >(result
));
31847 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31851 wxListItem
*arg3
= 0 ;
31859 PyObject
* obj0
= 0 ;
31860 PyObject
* obj1
= 0 ;
31861 PyObject
* obj2
= 0 ;
31862 char * kwnames
[] = {
31863 (char *) "self",(char *) "col",(char *) "info", NULL
31866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31871 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31873 if (!SWIG_IsOK(ecode2
)) {
31874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31876 arg2
= static_cast< long >(val2
);
31877 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31878 if (!SWIG_IsOK(res3
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31884 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31891 resultobj
= SWIG_From_long(static_cast< long >(result
));
31898 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
= 0;
31900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31902 wxString
*arg3
= 0 ;
31903 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31904 int arg5
= (int) -1 ;
31910 bool temp3
= false ;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 PyObject
* obj2
= 0 ;
31918 PyObject
* obj3
= 0 ;
31919 PyObject
* obj4
= 0 ;
31920 char * kwnames
[] = {
31921 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31926 if (!SWIG_IsOK(res1
)) {
31927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31929 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31930 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31931 if (!SWIG_IsOK(ecode2
)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31934 arg2
= static_cast< long >(val2
);
31936 arg3
= wxString_in_helper(obj2
);
31937 if (arg3
== NULL
) SWIG_fail
;
31941 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31942 if (!SWIG_IsOK(ecode4
)) {
31943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31945 arg4
= static_cast< int >(val4
);
31948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31949 if (!SWIG_IsOK(ecode5
)) {
31950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31952 arg5
= static_cast< int >(val5
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_From_long(static_cast< long >(result
));
31975 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31976 PyObject
*resultobj
= 0;
31977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31983 PyObject
* obj0
= 0 ;
31984 PyObject
* obj1
= 0 ;
31985 char * kwnames
[] = {
31986 (char *) "self",(char *) "count", NULL
31989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31991 if (!SWIG_IsOK(res1
)) {
31992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31994 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31996 if (!SWIG_IsOK(ecode2
)) {
31997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31999 arg2
= static_cast< long >(val2
);
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 (arg1
)->SetItemCount(arg2
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= SWIG_Py_Void();
32013 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
= 0;
32015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 PyObject
* obj2
= 0 ;
32028 char * kwnames
[] = {
32029 (char *) "self",(char *) "dx",(char *) "dy", NULL
32032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32037 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32039 if (!SWIG_IsOK(ecode2
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
32042 arg2
= static_cast< int >(val2
);
32043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32044 if (!SWIG_IsOK(ecode3
)) {
32045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
32047 arg3
= static_cast< int >(val3
);
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32063 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
= 0;
32065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32067 wxColour
*arg3
= 0 ;
32073 PyObject
* obj0
= 0 ;
32074 PyObject
* obj1
= 0 ;
32075 PyObject
* obj2
= 0 ;
32076 char * kwnames
[] = {
32077 (char *) "self",(char *) "item",(char *) "col", NULL
32080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32082 if (!SWIG_IsOK(res1
)) {
32083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32085 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32087 if (!SWIG_IsOK(ecode2
)) {
32088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32090 arg2
= static_cast< long >(val2
);
32093 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32101 resultobj
= SWIG_Py_Void();
32108 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32109 PyObject
*resultobj
= 0;
32110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32117 PyObject
* obj0
= 0 ;
32118 PyObject
* obj1
= 0 ;
32119 char * kwnames
[] = {
32120 (char *) "self",(char *) "item", NULL
32123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32125 if (!SWIG_IsOK(res1
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32128 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32130 if (!SWIG_IsOK(ecode2
)) {
32131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32133 arg2
= static_cast< long >(val2
);
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32147 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32148 PyObject
*resultobj
= 0;
32149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32151 wxColour
*arg3
= 0 ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 PyObject
* obj2
= 0 ;
32160 char * kwnames
[] = {
32161 (char *) "self",(char *) "item",(char *) "col", NULL
32164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32166 if (!SWIG_IsOK(res1
)) {
32167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32171 if (!SWIG_IsOK(ecode2
)) {
32172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32174 arg2
= static_cast< long >(val2
);
32177 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= SWIG_Py_Void();
32192 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
= 0;
32194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32201 PyObject
* obj0
= 0 ;
32202 PyObject
* obj1
= 0 ;
32203 char * kwnames
[] = {
32204 (char *) "self",(char *) "item", NULL
32207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32209 if (!SWIG_IsOK(res1
)) {
32210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32212 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32213 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32214 if (!SWIG_IsOK(ecode2
)) {
32215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32217 arg2
= static_cast< long >(val2
);
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32231 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
= 0;
32233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 PyObject
* obj2
= 0 ;
32245 char * kwnames
[] = {
32246 (char *) "self",(char *) "item",(char *) "f", NULL
32249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32251 if (!SWIG_IsOK(res1
)) {
32252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32255 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32256 if (!SWIG_IsOK(ecode2
)) {
32257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32259 arg2
= static_cast< long >(val2
);
32260 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32261 if (!SWIG_IsOK(res3
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32267 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= SWIG_Py_Void();
32281 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
= 0;
32283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char * kwnames
[] = {
32293 (char *) "self",(char *) "item", NULL
32296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32298 if (!SWIG_IsOK(res1
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32302 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32303 if (!SWIG_IsOK(ecode2
)) {
32304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32306 arg2
= static_cast< long >(val2
);
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32310 wxPyEndAllowThreads(__tstate
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32320 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
= 0;
32322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32323 PyObject
*arg2
= (PyObject
*) 0 ;
32327 PyObject
* obj0
= 0 ;
32328 PyObject
* obj1
= 0 ;
32329 char * kwnames
[] = {
32330 (char *) "self",(char *) "func", NULL
32333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32335 if (!SWIG_IsOK(res1
)) {
32336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32355 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32356 PyObject
*resultobj
= 0;
32357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32358 wxWindow
*result
= 0 ;
32361 PyObject
*swig_obj
[1] ;
32363 if (!args
) SWIG_fail
;
32364 swig_obj
[0] = args
;
32365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= wxPyMake_wxObject(result
, 0);
32385 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
= 0;
32387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32388 SwigValueWrapper
<wxVisualAttributes
> result
;
32391 PyObject
* obj0
= 0 ;
32392 char * kwnames
[] = {
32393 (char *) "variant", NULL
32396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32399 if (!SWIG_IsOK(ecode1
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32402 arg1
= static_cast< wxWindowVariant
>(val1
);
32405 if (!wxPyCheckForApp()) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32418 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32422 return SWIG_Py_Void();
32425 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 return SWIG_Python_InitShadowInstance(args
);
32429 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
= 0;
32431 wxWindow
*arg1
= (wxWindow
*) 0 ;
32432 int arg2
= (int) -1 ;
32433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32437 long arg5
= (long) wxLC_REPORT
;
32438 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32439 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32440 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32442 wxListView
*result
= 0 ;
32453 bool temp7
= false ;
32454 PyObject
* obj0
= 0 ;
32455 PyObject
* obj1
= 0 ;
32456 PyObject
* obj2
= 0 ;
32457 PyObject
* obj3
= 0 ;
32458 PyObject
* obj4
= 0 ;
32459 PyObject
* obj5
= 0 ;
32460 PyObject
* obj6
= 0 ;
32461 char * kwnames
[] = {
32462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32467 if (!SWIG_IsOK(res1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32473 if (!SWIG_IsOK(ecode2
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32476 arg2
= static_cast< int >(val2
);
32481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32491 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32492 if (!SWIG_IsOK(ecode5
)) {
32493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32495 arg5
= static_cast< long >(val5
);
32498 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32499 if (!SWIG_IsOK(res6
)) {
32500 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32505 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32509 arg7
= wxString_in_helper(obj6
);
32510 if (arg7
== NULL
) SWIG_fail
;
32515 if (!wxPyCheckForApp()) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32536 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32537 PyObject
*resultobj
= 0;
32538 wxListView
*result
= 0 ;
32540 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32542 if (!wxPyCheckForApp()) SWIG_fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= (wxListView
*)new wxListView();
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32555 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
= 0;
32557 wxListView
*arg1
= (wxListView
*) 0 ;
32558 wxWindow
*arg2
= (wxWindow
*) 0 ;
32559 int arg3
= (int) -1 ;
32560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32564 long arg6
= (long) wxLC_REPORT
;
32565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32567 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32582 bool temp8
= false ;
32583 PyObject
* obj0
= 0 ;
32584 PyObject
* obj1
= 0 ;
32585 PyObject
* obj2
= 0 ;
32586 PyObject
* obj3
= 0 ;
32587 PyObject
* obj4
= 0 ;
32588 PyObject
* obj5
= 0 ;
32589 PyObject
* obj6
= 0 ;
32590 PyObject
* obj7
= 0 ;
32591 char * kwnames
[] = {
32592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32597 if (!SWIG_IsOK(res1
)) {
32598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32600 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32602 if (!SWIG_IsOK(res2
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32605 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32608 if (!SWIG_IsOK(ecode3
)) {
32609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32611 arg3
= static_cast< int >(val3
);
32616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32626 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32627 if (!SWIG_IsOK(ecode6
)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32630 arg6
= static_cast< long >(val6
);
32633 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32634 if (!SWIG_IsOK(res7
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32640 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32644 arg8
= wxString_in_helper(obj7
);
32645 if (arg8
== NULL
) SWIG_fail
;
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32672 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
= 0;
32674 wxListView
*arg1
= (wxListView
*) 0 ;
32676 bool arg3
= (bool) true ;
32683 PyObject
* obj0
= 0 ;
32684 PyObject
* obj1
= 0 ;
32685 PyObject
* obj2
= 0 ;
32686 char * kwnames
[] = {
32687 (char *) "self",(char *) "n",(char *) "on", NULL
32690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32692 if (!SWIG_IsOK(res1
)) {
32693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32695 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32697 if (!SWIG_IsOK(ecode2
)) {
32698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32700 arg2
= static_cast< long >(val2
);
32702 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32703 if (!SWIG_IsOK(ecode3
)) {
32704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32706 arg3
= static_cast< bool >(val3
);
32709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32710 (arg1
)->Select(arg2
,arg3
);
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= SWIG_Py_Void();
32721 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
= 0;
32723 wxListView
*arg1
= (wxListView
*) 0 ;
32729 PyObject
* obj0
= 0 ;
32730 PyObject
* obj1
= 0 ;
32731 char * kwnames
[] = {
32732 (char *) "self",(char *) "index", NULL
32735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32740 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32742 if (!SWIG_IsOK(ecode2
)) {
32743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32745 arg2
= static_cast< long >(val2
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 (arg1
)->Focus(arg2
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32759 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxListView
*arg1
= (wxListView
*) 0 ;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32773 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= SWIG_From_long(static_cast< long >(result
));
32787 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
= 0;
32789 wxListView
*arg1
= (wxListView
*) 0 ;
32796 PyObject
* obj0
= 0 ;
32797 PyObject
* obj1
= 0 ;
32798 char * kwnames
[] = {
32799 (char *) "self",(char *) "item", NULL
32802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32804 if (!SWIG_IsOK(res1
)) {
32805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32807 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32809 if (!SWIG_IsOK(ecode2
)) {
32810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32812 arg2
= static_cast< long >(val2
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_From_long(static_cast< long >(result
));
32826 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32827 PyObject
*resultobj
= 0;
32828 wxListView
*arg1
= (wxListView
*) 0 ;
32832 PyObject
*swig_obj
[1] ;
32834 if (!args
) SWIG_fail
;
32835 swig_obj
[0] = args
;
32836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32840 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_From_long(static_cast< long >(result
));
32854 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxListView
*arg1
= (wxListView
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "index", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32874 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32876 if (!SWIG_IsOK(ecode2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32879 arg2
= static_cast< long >(val2
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 result
= (bool)(arg1
)->IsSelected(arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32895 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
= 0;
32897 wxListView
*arg1
= (wxListView
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 PyObject
* obj2
= 0 ;
32909 char * kwnames
[] = {
32910 (char *) "self",(char *) "col",(char *) "image", NULL
32913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32915 if (!SWIG_IsOK(res1
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32918 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32920 if (!SWIG_IsOK(ecode2
)) {
32921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32923 arg2
= static_cast< int >(val2
);
32924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32925 if (!SWIG_IsOK(ecode3
)) {
32926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32928 arg3
= static_cast< int >(val3
);
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 (arg1
)->SetColumnImage(arg2
,arg3
);
32932 wxPyEndAllowThreads(__tstate
);
32933 if (PyErr_Occurred()) SWIG_fail
;
32935 resultobj
= SWIG_Py_Void();
32942 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32943 PyObject
*resultobj
= 0;
32944 wxListView
*arg1
= (wxListView
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 char * kwnames
[] = {
32953 (char *) "self",(char *) "col", NULL
32956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32961 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32963 if (!SWIG_IsOK(ecode2
)) {
32964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32966 arg2
= static_cast< int >(val2
);
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 (arg1
)->ClearColumnImage(arg2
);
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= SWIG_Py_Void();
32980 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32983 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32984 return SWIG_Py_Void();
32987 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 return SWIG_Python_InitShadowInstance(args
);
32991 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32992 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32997 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32998 PyObject
*pyobj
= 0;
33002 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33004 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33011 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33012 PyObject
*resultobj
= 0;
33013 wxTreeItemId
*result
= 0 ;
33015 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (wxTreeItemId
*)new wxTreeItemId();
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
33029 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33030 PyObject
*resultobj
= 0;
33031 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33034 PyObject
*swig_obj
[1] ;
33036 if (!args
) SWIG_fail
;
33037 swig_obj
[0] = args
;
33038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
33039 if (!SWIG_IsOK(res1
)) {
33040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33042 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 PyObject
*resultobj
= 0;
33059 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33063 PyObject
*swig_obj
[1] ;
33065 if (!args
) SWIG_fail
;
33066 swig_obj
[0] = args
;
33067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33071 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33087 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
= 0;
33089 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33090 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 char * kwnames
[] = {
33099 (char *) "self",(char *) "other", NULL
33102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33104 if (!SWIG_IsOK(res1
)) {
33105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33107 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33109 if (!SWIG_IsOK(res2
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33112 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33128 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
= 0;
33130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33131 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33137 PyObject
* obj0
= 0 ;
33138 PyObject
* obj1
= 0 ;
33139 char * kwnames
[] = {
33140 (char *) "self",(char *) "other", NULL
33143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33148 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33150 if (!SWIG_IsOK(res2
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33169 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33170 PyObject
*resultobj
= 0;
33171 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33172 void *arg2
= (void *) 0 ;
33176 PyObject
*swig_obj
[2] ;
33178 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33183 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33184 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33185 if (!SWIG_IsOK(res2
)) {
33186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33188 if (arg1
) (arg1
)->m_pItem
= arg2
;
33190 resultobj
= SWIG_Py_Void();
33197 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33198 PyObject
*resultobj
= 0;
33199 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33203 PyObject
*swig_obj
[1] ;
33205 if (!args
) SWIG_fail
;
33206 swig_obj
[0] = args
;
33207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33208 if (!SWIG_IsOK(res1
)) {
33209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33211 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33212 result
= (void *) ((arg1
)->m_pItem
);
33213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33220 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33224 return SWIG_Py_Void();
33227 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33228 return SWIG_Python_InitShadowInstance(args
);
33231 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33232 PyObject
*resultobj
= 0;
33233 PyObject
*arg1
= (PyObject
*) NULL
;
33234 wxPyTreeItemData
*result
= 0 ;
33235 PyObject
* obj0
= 0 ;
33236 char * kwnames
[] = {
33237 (char *) "obj", NULL
33240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33257 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33258 PyObject
*resultobj
= 0;
33259 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33262 PyObject
*swig_obj
[1] ;
33264 if (!args
) SWIG_fail
;
33265 swig_obj
[0] = args
;
33266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33267 if (!SWIG_IsOK(res1
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33270 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 resultobj
= SWIG_Py_Void();
33285 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33286 PyObject
*resultobj
= 0;
33287 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33288 PyObject
*result
= 0 ;
33291 PyObject
*swig_obj
[1] ;
33293 if (!args
) SWIG_fail
;
33294 swig_obj
[0] = args
;
33295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33296 if (!SWIG_IsOK(res1
)) {
33297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33299 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (PyObject
*)(arg1
)->GetData();
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= result
;
33313 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
= 0;
33315 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33316 PyObject
*arg2
= (PyObject
*) 0 ;
33319 PyObject
* obj0
= 0 ;
33320 PyObject
* obj1
= 0 ;
33321 char * kwnames
[] = {
33322 (char *) "self",(char *) "obj", NULL
33325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33330 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 (arg1
)->SetData(arg2
);
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= SWIG_Py_Void();
33345 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33346 PyObject
*resultobj
= 0;
33347 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33348 wxTreeItemId
*result
= 0 ;
33351 PyObject
*swig_obj
[1] ;
33353 if (!args
) SWIG_fail
;
33354 swig_obj
[0] = args
;
33355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33356 if (!SWIG_IsOK(res1
)) {
33357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33359 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33364 result
= (wxTreeItemId
*) &_result_ref
;
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33376 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
= 0;
33378 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33379 wxTreeItemId
*arg2
= 0 ;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 char * kwnames
[] = {
33387 (char *) "self",(char *) "id", NULL
33390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33392 if (!SWIG_IsOK(res1
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33395 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33397 if (!SWIG_IsOK(res2
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33403 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= SWIG_Py_Void();
33417 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33418 PyObject
*resultobj
= 0;
33419 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33422 PyObject
*swig_obj
[1] ;
33424 if (!args
) SWIG_fail
;
33425 swig_obj
[0] = args
;
33426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33430 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 wxPyTreeItemData_Destroy(arg1
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_Py_Void();
33444 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33447 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33448 return SWIG_Py_Void();
33451 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33452 return SWIG_Python_InitShadowInstance(args
);
33455 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33458 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33459 if (!SWIG_IsOK(res
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33465 wxTreeItemId
* temp
;
33466 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33467 wxNullTreeItemId
= *temp
;
33468 if (SWIG_IsNewObj(res
)) delete temp
;
33477 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33478 PyObject
*pyobj
= 0;
33480 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33485 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33486 PyObject
*resultobj
= 0;
33487 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33488 int arg2
= (int) 0 ;
33489 wxTreeEvent
*result
= 0 ;
33495 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33497 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33498 if (!SWIG_IsOK(ecode1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33501 arg1
= static_cast< wxEventType
>(val1
);
33504 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33505 if (!SWIG_IsOK(ecode2
)) {
33506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33508 arg2
= static_cast< int >(val2
);
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33523 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33524 PyObject
*resultobj
= 0;
33526 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33527 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33528 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33529 wxTreeEvent
*result
= 0 ;
33537 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33538 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33539 if (!SWIG_IsOK(ecode1
)) {
33540 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33542 arg1
= static_cast< wxEventType
>(val1
);
33543 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33544 if (!SWIG_IsOK(res2
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33547 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33549 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33550 if (!SWIG_IsOK(res3
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33556 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33561 wxPyEndAllowThreads(__tstate
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33571 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33575 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33577 if ((argc
>= 0) && (argc
<= 2)) {
33582 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33583 _v
= SWIG_CheckState(res
);
33586 if (!_v
) goto check_1
;
33588 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33592 if ((argc
>= 2) && (argc
<= 3)) {
33593 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33597 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33602 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33605 wxTreeItemId result
;
33608 PyObject
*swig_obj
[1] ;
33610 if (!args
) SWIG_fail
;
33611 swig_obj
[0] = args
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33616 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33630 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
= 0;
33632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33633 wxTreeItemId
*arg2
= 0 ;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "item", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33646 if (!SWIG_IsOK(res1
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33649 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33651 if (!SWIG_IsOK(res2
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33657 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_Py_Void();
33671 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33672 PyObject
*resultobj
= 0;
33673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33674 wxTreeItemId result
;
33677 PyObject
*swig_obj
[1] ;
33679 if (!args
) SWIG_fail
;
33680 swig_obj
[0] = args
;
33681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33682 if (!SWIG_IsOK(res1
)) {
33683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33685 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33688 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33699 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= 0;
33701 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33702 wxTreeItemId
*arg2
= 0 ;
33707 PyObject
* obj0
= 0 ;
33708 PyObject
* obj1
= 0 ;
33709 char * kwnames
[] = {
33710 (char *) "self",(char *) "item", NULL
33713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33715 if (!SWIG_IsOK(res1
)) {
33716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33718 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33720 if (!SWIG_IsOK(res2
)) {
33721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33726 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 resultobj
= SWIG_Py_Void();
33740 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33741 PyObject
*resultobj
= 0;
33742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33746 PyObject
*swig_obj
[1] ;
33748 if (!args
) SWIG_fail
;
33749 swig_obj
[0] = args
;
33750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33754 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33761 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33768 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33769 PyObject
*resultobj
= 0;
33770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33771 wxPoint
*arg2
= 0 ;
33775 PyObject
* obj0
= 0 ;
33776 PyObject
* obj1
= 0 ;
33777 char * kwnames
[] = {
33778 (char *) "self",(char *) "pt", NULL
33781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33783 if (!SWIG_IsOK(res1
)) {
33784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33786 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= SWIG_Py_Void();
33804 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33805 PyObject
*resultobj
= 0;
33806 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33807 wxKeyEvent
*result
= 0 ;
33810 PyObject
*swig_obj
[1] ;
33812 if (!args
) SWIG_fail
;
33813 swig_obj
[0] = args
;
33814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33818 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33822 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33823 result
= (wxKeyEvent
*) &_result_ref
;
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33835 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33836 PyObject
*resultobj
= 0;
33837 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33841 PyObject
*swig_obj
[1] ;
33843 if (!args
) SWIG_fail
;
33844 swig_obj
[0] = args
;
33845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33849 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33856 resultobj
= SWIG_From_int(static_cast< int >(result
));
33863 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33864 PyObject
*resultobj
= 0;
33865 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33866 wxKeyEvent
*arg2
= 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char * kwnames
[] = {
33874 (char *) "self",(char *) "evt", NULL
33877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33882 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33884 if (!SWIG_IsOK(res2
)) {
33885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33890 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33905 PyObject
*resultobj
= 0;
33906 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33907 wxString
*result
= 0 ;
33910 PyObject
*swig_obj
[1] ;
33912 if (!args
) SWIG_fail
;
33913 swig_obj
[0] = args
;
33914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33915 if (!SWIG_IsOK(res1
)) {
33916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33918 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33922 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33923 result
= (wxString
*) &_result_ref
;
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33941 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
= 0;
33943 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33944 wxString
*arg2
= 0 ;
33947 bool temp2
= false ;
33948 PyObject
* obj0
= 0 ;
33949 PyObject
* obj1
= 0 ;
33950 char * kwnames
[] = {
33951 (char *) "self",(char *) "label", NULL
33954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33959 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33961 arg2
= wxString_in_helper(obj1
);
33962 if (arg2
== NULL
) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 (arg1
)->SetLabel((wxString
const &)*arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= SWIG_Py_Void();
33986 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33987 PyObject
*resultobj
= 0;
33988 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33992 PyObject
*swig_obj
[1] ;
33994 if (!args
) SWIG_fail
;
33995 swig_obj
[0] = args
;
33996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33997 if (!SWIG_IsOK(res1
)) {
33998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
34000 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34016 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
= 0;
34018 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char * kwnames
[] = {
34027 (char *) "self",(char *) "editCancelled", NULL
34030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34035 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34036 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34037 if (!SWIG_IsOK(ecode2
)) {
34038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
34040 arg2
= static_cast< bool >(val2
);
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 (arg1
)->SetEditCanceled(arg2
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= SWIG_Py_Void();
34054 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
= 0;
34056 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34057 wxString
*arg2
= 0 ;
34060 bool temp2
= false ;
34061 PyObject
* obj0
= 0 ;
34062 PyObject
* obj1
= 0 ;
34063 char * kwnames
[] = {
34064 (char *) "self",(char *) "toolTip", NULL
34067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34069 if (!SWIG_IsOK(res1
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34072 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34074 arg2
= wxString_in_helper(obj1
);
34075 if (arg2
== NULL
) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34099 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34100 PyObject
*resultobj
= 0;
34101 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34105 PyObject
*swig_obj
[1] ;
34107 if (!args
) SWIG_fail
;
34108 swig_obj
[0] = args
;
34109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34110 if (!SWIG_IsOK(res1
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34113 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34116 result
= (arg1
)->GetToolTip();
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34133 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34136 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34137 return SWIG_Py_Void();
34140 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34141 return SWIG_Python_InitShadowInstance(args
);
34144 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
= 0;
34146 wxWindow
*arg1
= (wxWindow
*) 0 ;
34147 int arg2
= (int) -1 ;
34148 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34149 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34152 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34153 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34154 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34155 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34157 wxPyTreeCtrl
*result
= 0 ;
34168 bool temp7
= false ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 PyObject
* obj2
= 0 ;
34172 PyObject
* obj3
= 0 ;
34173 PyObject
* obj4
= 0 ;
34174 PyObject
* obj5
= 0 ;
34175 PyObject
* obj6
= 0 ;
34176 char * kwnames
[] = {
34177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34182 if (!SWIG_IsOK(res1
)) {
34183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34188 if (!SWIG_IsOK(ecode2
)) {
34189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34191 arg2
= static_cast< int >(val2
);
34196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34206 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34207 if (!SWIG_IsOK(ecode5
)) {
34208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34210 arg5
= static_cast< long >(val5
);
34213 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34214 if (!SWIG_IsOK(res6
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34220 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34224 arg7
= wxString_in_helper(obj6
);
34225 if (arg7
== NULL
) SWIG_fail
;
34230 if (!wxPyCheckForApp()) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34251 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyTreeCtrl
*result
= 0 ;
34255 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34257 if (!wxPyCheckForApp()) SWIG_fail
;
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34270 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
= 0;
34272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34273 wxWindow
*arg2
= (wxWindow
*) 0 ;
34274 int arg3
= (int) -1 ;
34275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34279 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34280 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34281 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34282 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34283 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34297 bool temp8
= false ;
34298 PyObject
* obj0
= 0 ;
34299 PyObject
* obj1
= 0 ;
34300 PyObject
* obj2
= 0 ;
34301 PyObject
* obj3
= 0 ;
34302 PyObject
* obj4
= 0 ;
34303 PyObject
* obj5
= 0 ;
34304 PyObject
* obj6
= 0 ;
34305 PyObject
* obj7
= 0 ;
34306 char * kwnames
[] = {
34307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34317 if (!SWIG_IsOK(res2
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34323 if (!SWIG_IsOK(ecode3
)) {
34324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34326 arg3
= static_cast< int >(val3
);
34331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34341 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34342 if (!SWIG_IsOK(ecode6
)) {
34343 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34345 arg6
= static_cast< long >(val6
);
34348 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34349 if (!SWIG_IsOK(res7
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34355 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34359 arg8
= wxString_in_helper(obj7
);
34360 if (arg8
== NULL
) SWIG_fail
;
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34387 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
= 0;
34389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34390 PyObject
*arg2
= (PyObject
*) 0 ;
34391 PyObject
*arg3
= (PyObject
*) 0 ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 PyObject
* obj2
= 0 ;
34397 char * kwnames
[] = {
34398 (char *) "self",(char *) "self",(char *) "_class", NULL
34401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34403 if (!SWIG_IsOK(res1
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34411 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= SWIG_Py_Void();
34422 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34423 PyObject
*resultobj
= 0;
34424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34425 unsigned int result
;
34428 PyObject
*swig_obj
[1] ;
34430 if (!args
) SWIG_fail
;
34431 swig_obj
[0] = args
;
34432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34433 if (!SWIG_IsOK(res1
)) {
34434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34436 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34450 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34451 PyObject
*resultobj
= 0;
34452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34453 unsigned int result
;
34456 PyObject
*swig_obj
[1] ;
34458 if (!args
) SWIG_fail
;
34459 swig_obj
[0] = args
;
34460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34461 if (!SWIG_IsOK(res1
)) {
34462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34464 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34478 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
= 0;
34480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34481 unsigned int arg2
;
34484 unsigned int val2
;
34486 PyObject
* obj0
= 0 ;
34487 PyObject
* obj1
= 0 ;
34488 char * kwnames
[] = {
34489 (char *) "self",(char *) "indent", NULL
34492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34497 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34498 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34499 if (!SWIG_IsOK(ecode2
)) {
34500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34502 arg2
= static_cast< unsigned int >(val2
);
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34505 (arg1
)->SetIndent(arg2
);
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34509 resultobj
= SWIG_Py_Void();
34516 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34517 PyObject
*resultobj
= 0;
34518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34519 unsigned int result
;
34522 PyObject
*swig_obj
[1] ;
34524 if (!args
) SWIG_fail
;
34525 swig_obj
[0] = args
;
34526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34530 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34533 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34537 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34544 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
= 0;
34546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34547 unsigned int arg2
;
34550 unsigned int val2
;
34552 PyObject
* obj0
= 0 ;
34553 PyObject
* obj1
= 0 ;
34554 char * kwnames
[] = {
34555 (char *) "self",(char *) "spacing", NULL
34558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34560 if (!SWIG_IsOK(res1
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34564 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34565 if (!SWIG_IsOK(ecode2
)) {
34566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34568 arg2
= static_cast< unsigned int >(val2
);
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 (arg1
)->SetSpacing(arg2
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 resultobj
= SWIG_Py_Void();
34582 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34583 PyObject
*resultobj
= 0;
34584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34585 wxImageList
*result
= 0 ;
34588 PyObject
*swig_obj
[1] ;
34590 if (!args
) SWIG_fail
;
34591 swig_obj
[0] = args
;
34592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34593 if (!SWIG_IsOK(res1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34612 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34613 PyObject
*resultobj
= 0;
34614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34615 wxImageList
*result
= 0 ;
34618 PyObject
*swig_obj
[1] ;
34620 if (!args
) SWIG_fail
;
34621 swig_obj
[0] = args
;
34622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34623 if (!SWIG_IsOK(res1
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34626 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34642 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
= 0;
34644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34645 wxImageList
*arg2
= (wxImageList
*) 0 ;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 char * kwnames
[] = {
34653 (char *) "self",(char *) "imageList", NULL
34656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34658 if (!SWIG_IsOK(res1
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34663 if (!SWIG_IsOK(res2
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34666 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34669 (arg1
)->SetImageList(arg2
);
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34673 resultobj
= SWIG_Py_Void();
34680 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34681 PyObject
*resultobj
= 0;
34682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34683 wxImageList
*arg2
= (wxImageList
*) 0 ;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 char * kwnames
[] = {
34691 (char *) "self",(char *) "imageList", NULL
34694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34696 if (!SWIG_IsOK(res1
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34699 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34701 if (!SWIG_IsOK(res2
)) {
34702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34704 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->SetStateImageList(arg2
);
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= SWIG_Py_Void();
34718 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
= 0;
34720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34721 wxImageList
*arg2
= (wxImageList
*) 0 ;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "imageList", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34743 (arg1
)->AssignImageList(arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_Py_Void();
34754 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
= 0;
34756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34757 wxImageList
*arg2
= (wxImageList
*) 0 ;
34761 PyObject
* obj0
= 0 ;
34762 PyObject
* obj1
= 0 ;
34763 char * kwnames
[] = {
34764 (char *) "self",(char *) "imageList", NULL
34767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34769 if (!SWIG_IsOK(res1
)) {
34770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34772 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34773 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34774 if (!SWIG_IsOK(res2
)) {
34775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 (arg1
)->AssignStateImageList(arg2
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= SWIG_Py_Void();
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 char * kwnames
[] = {
34802 (char *) "self",(char *) "item", NULL
34805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34807 if (!SWIG_IsOK(res1
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34812 if (!SWIG_IsOK(res2
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34838 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
= 0;
34840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34841 wxTreeItemId
*arg2
= 0 ;
34842 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34850 PyObject
* obj0
= 0 ;
34851 PyObject
* obj1
= 0 ;
34852 PyObject
* obj2
= 0 ;
34853 char * kwnames
[] = {
34854 (char *) "self",(char *) "item",(char *) "which", NULL
34857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34859 if (!SWIG_IsOK(res1
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34862 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34864 if (!SWIG_IsOK(res2
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34870 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34873 if (!SWIG_IsOK(ecode3
)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34876 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_From_int(static_cast< int >(result
));
34891 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34894 wxTreeItemId
*arg2
= 0 ;
34895 wxPyTreeItemData
*result
= 0 ;
34900 PyObject
* obj0
= 0 ;
34901 PyObject
* obj1
= 0 ;
34902 char * kwnames
[] = {
34903 (char *) "self",(char *) "item", NULL
34906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34908 if (!SWIG_IsOK(res1
)) {
34909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34913 if (!SWIG_IsOK(res2
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34919 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34933 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
= 0;
34935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34936 wxTreeItemId
*arg2
= 0 ;
34937 PyObject
*result
= 0 ;
34942 PyObject
* obj0
= 0 ;
34943 PyObject
* obj1
= 0 ;
34944 char * kwnames
[] = {
34945 (char *) "self",(char *) "item", NULL
34948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34950 if (!SWIG_IsOK(res1
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34955 if (!SWIG_IsOK(res2
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34961 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= result
;
34975 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34978 wxTreeItemId
*arg2
= 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 char * kwnames
[] = {
34987 (char *) "self",(char *) "item", NULL
34990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34997 if (!SWIG_IsOK(res2
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35017 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
= 0;
35019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35020 wxTreeItemId
*arg2
= 0 ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 char * kwnames
[] = {
35029 (char *) "self",(char *) "item", NULL
35032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35034 if (!SWIG_IsOK(res1
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35039 if (!SWIG_IsOK(res2
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35045 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
35049 wxPyEndAllowThreads(__tstate
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35059 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35060 PyObject
*resultobj
= 0;
35061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35062 wxTreeItemId
*arg2
= 0 ;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 char * kwnames
[] = {
35071 (char *) "self",(char *) "item", NULL
35074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35076 if (!SWIG_IsOK(res1
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35081 if (!SWIG_IsOK(res2
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35101 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
= 0;
35103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35104 wxTreeItemId
*arg2
= 0 ;
35105 wxString
*arg3
= 0 ;
35110 bool temp3
= false ;
35111 PyObject
* obj0
= 0 ;
35112 PyObject
* obj1
= 0 ;
35113 PyObject
* obj2
= 0 ;
35114 char * kwnames
[] = {
35115 (char *) "self",(char *) "item",(char *) "text", NULL
35118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35125 if (!SWIG_IsOK(res2
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35133 arg3
= wxString_in_helper(obj2
);
35134 if (arg3
== NULL
) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 resultobj
= SWIG_Py_Void();
35158 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
= 0;
35160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35161 wxTreeItemId
*arg2
= 0 ;
35163 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 PyObject
* obj2
= 0 ;
35175 PyObject
* obj3
= 0 ;
35176 char * kwnames
[] = {
35177 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35182 if (!SWIG_IsOK(res1
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35185 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35187 if (!SWIG_IsOK(res2
)) {
35188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35193 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35195 if (!SWIG_IsOK(ecode3
)) {
35196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35198 arg3
= static_cast< int >(val3
);
35200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35201 if (!SWIG_IsOK(ecode4
)) {
35202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35204 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
= 0;
35221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35222 wxTreeItemId
*arg2
= 0 ;
35223 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 PyObject
* obj1
= 0 ;
35231 PyObject
* obj2
= 0 ;
35232 char * kwnames
[] = {
35233 (char *) "self",(char *) "item",(char *) "data", NULL
35236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",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_SetItemData" "', 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_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35249 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35250 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35251 if (!SWIG_IsOK(res3
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_Py_Void();
35267 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
= 0;
35269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35270 wxTreeItemId
*arg2
= 0 ;
35271 PyObject
*arg3
= (PyObject
*) 0 ;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 PyObject
* obj2
= 0 ;
35279 char * kwnames
[] = {
35280 (char *) "self",(char *) "item",(char *) "obj", NULL
35283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35285 if (!SWIG_IsOK(res1
)) {
35286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35290 if (!SWIG_IsOK(res2
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35300 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 resultobj
= SWIG_Py_Void();
35311 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
= 0;
35313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35314 wxTreeItemId
*arg2
= 0 ;
35315 bool arg3
= (bool) true ;
35322 PyObject
* obj0
= 0 ;
35323 PyObject
* obj1
= 0 ;
35324 PyObject
* obj2
= 0 ;
35325 char * kwnames
[] = {
35326 (char *) "self",(char *) "item",(char *) "has", NULL
35329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35331 if (!SWIG_IsOK(res1
)) {
35332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35336 if (!SWIG_IsOK(res2
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35345 if (!SWIG_IsOK(ecode3
)) {
35346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35348 arg3
= static_cast< bool >(val3
);
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35356 resultobj
= SWIG_Py_Void();
35363 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35364 PyObject
*resultobj
= 0;
35365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35366 wxTreeItemId
*arg2
= 0 ;
35367 bool arg3
= (bool) true ;
35374 PyObject
* obj0
= 0 ;
35375 PyObject
* obj1
= 0 ;
35376 PyObject
* obj2
= 0 ;
35377 char * kwnames
[] = {
35378 (char *) "self",(char *) "item",(char *) "bold", NULL
35381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35383 if (!SWIG_IsOK(res1
)) {
35384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35386 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35388 if (!SWIG_IsOK(res2
)) {
35389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35394 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35396 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35397 if (!SWIG_IsOK(ecode3
)) {
35398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35400 arg3
= static_cast< bool >(val3
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= SWIG_Py_Void();
35415 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
= 0;
35417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35418 wxTreeItemId
*arg2
= 0 ;
35419 bool arg3
= (bool) true ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 PyObject
* obj2
= 0 ;
35429 char * kwnames
[] = {
35430 (char *) "self",(char *) "item",(char *) "highlight", NULL
35433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35440 if (!SWIG_IsOK(res2
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35446 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35448 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35449 if (!SWIG_IsOK(ecode3
)) {
35450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35452 arg3
= static_cast< bool >(val3
);
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35460 resultobj
= SWIG_Py_Void();
35467 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
= 0;
35469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35470 wxTreeItemId
*arg2
= 0 ;
35471 wxColour
*arg3
= 0 ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "item",(char *) "col", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35489 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35491 if (!SWIG_IsOK(res2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35497 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35500 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_Py_Void();
35515 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
= 0;
35517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35518 wxTreeItemId
*arg2
= 0 ;
35519 wxColour
*arg3
= 0 ;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 PyObject
* obj2
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "item",(char *) "col", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35537 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35539 if (!SWIG_IsOK(res2
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35545 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35548 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= SWIG_Py_Void();
35563 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35564 PyObject
*resultobj
= 0;
35565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35566 wxTreeItemId
*arg2
= 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 PyObject
* obj2
= 0 ;
35577 char * kwnames
[] = {
35578 (char *) "self",(char *) "item",(char *) "font", NULL
35581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35583 if (!SWIG_IsOK(res1
)) {
35584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35586 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35588 if (!SWIG_IsOK(res2
)) {
35589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35594 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35595 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35596 if (!SWIG_IsOK(res3
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35602 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_Py_Void();
35616 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35617 PyObject
*resultobj
= 0;
35618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35619 wxTreeItemId
*arg2
= 0 ;
35625 PyObject
* obj0
= 0 ;
35626 PyObject
* obj1
= 0 ;
35627 char * kwnames
[] = {
35628 (char *) "self",(char *) "item", NULL
35631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35633 if (!SWIG_IsOK(res1
)) {
35634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35636 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35638 if (!SWIG_IsOK(res2
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35644 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35660 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
= 0;
35662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35663 wxTreeItemId
*arg2
= 0 ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char * kwnames
[] = {
35672 (char *) "self",(char *) "item", NULL
35675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35677 if (!SWIG_IsOK(res1
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35680 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35682 if (!SWIG_IsOK(res2
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35688 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35692 wxPyEndAllowThreads(__tstate
);
35693 if (PyErr_Occurred()) SWIG_fail
;
35696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35704 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35705 PyObject
*resultobj
= 0;
35706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35707 wxTreeItemId
*arg2
= 0 ;
35713 PyObject
* obj0
= 0 ;
35714 PyObject
* obj1
= 0 ;
35715 char * kwnames
[] = {
35716 (char *) "self",(char *) "item", NULL
35719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35721 if (!SWIG_IsOK(res1
)) {
35722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35726 if (!SWIG_IsOK(res2
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35732 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35748 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35751 wxTreeItemId
*arg2
= 0 ;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 char * kwnames
[] = {
35760 (char *) "self",(char *) "item", NULL
35763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35765 if (!SWIG_IsOK(res1
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35770 if (!SWIG_IsOK(res2
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35776 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35792 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
= 0;
35794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35795 wxTreeItemId
*arg2
= 0 ;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 char * kwnames
[] = {
35804 (char *) "self",(char *) "item", NULL
35807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35809 if (!SWIG_IsOK(res1
)) {
35810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35814 if (!SWIG_IsOK(res2
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35820 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35836 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35837 PyObject
*resultobj
= 0;
35838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35842 PyObject
*swig_obj
[1] ;
35844 if (!args
) SWIG_fail
;
35845 swig_obj
[0] = args
;
35846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35847 if (!SWIG_IsOK(res1
)) {
35848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35853 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35854 wxPyEndAllowThreads(__tstate
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35866 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
= 0;
35868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35869 wxTreeItemId
*arg2
= 0 ;
35870 bool arg3
= (bool) true ;
35878 PyObject
* obj0
= 0 ;
35879 PyObject
* obj1
= 0 ;
35880 PyObject
* obj2
= 0 ;
35881 char * kwnames
[] = {
35882 (char *) "self",(char *) "item",(char *) "recursively", NULL
35885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35892 if (!SWIG_IsOK(res2
)) {
35893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35900 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35901 if (!SWIG_IsOK(ecode3
)) {
35902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35904 arg3
= static_cast< bool >(val3
);
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35909 wxPyEndAllowThreads(__tstate
);
35910 if (PyErr_Occurred()) SWIG_fail
;
35912 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35919 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35920 PyObject
*resultobj
= 0;
35921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35922 wxTreeItemId result
;
35925 PyObject
*swig_obj
[1] ;
35927 if (!args
) SWIG_fail
;
35928 swig_obj
[0] = args
;
35929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35930 if (!SWIG_IsOK(res1
)) {
35931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35947 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35948 PyObject
*resultobj
= 0;
35949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35950 wxTreeItemId result
;
35953 PyObject
*swig_obj
[1] ;
35955 if (!args
) SWIG_fail
;
35956 swig_obj
[0] = args
;
35957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35958 if (!SWIG_IsOK(res1
)) {
35959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35961 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35975 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35976 PyObject
*resultobj
= 0;
35977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35978 PyObject
*result
= 0 ;
35981 PyObject
*swig_obj
[1] ;
35983 if (!args
) SWIG_fail
;
35984 swig_obj
[0] = args
;
35985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35986 if (!SWIG_IsOK(res1
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35989 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35992 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= result
;
36003 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
= 0;
36005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36006 wxTreeItemId
*arg2
= 0 ;
36007 wxTreeItemId result
;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 char * kwnames
[] = {
36015 (char *) "self",(char *) "item", NULL
36018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36023 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36025 if (!SWIG_IsOK(res2
)) {
36026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36031 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36034 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
36035 wxPyEndAllowThreads(__tstate
);
36036 if (PyErr_Occurred()) SWIG_fail
;
36038 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36045 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36046 PyObject
*resultobj
= 0;
36047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36048 wxTreeItemId
*arg2
= 0 ;
36049 PyObject
*result
= 0 ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 char * kwnames
[] = {
36057 (char *) "self",(char *) "item", NULL
36060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36062 if (!SWIG_IsOK(res1
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36067 if (!SWIG_IsOK(res2
)) {
36068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36073 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= result
;
36087 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
= 0;
36089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36090 wxTreeItemId
*arg2
= 0 ;
36091 void *arg3
= (void *) 0 ;
36092 PyObject
*result
= 0 ;
36098 PyObject
* obj0
= 0 ;
36099 PyObject
* obj1
= 0 ;
36100 PyObject
* obj2
= 0 ;
36101 char * kwnames
[] = {
36102 (char *) "self",(char *) "item",(char *) "cookie", NULL
36105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36107 if (!SWIG_IsOK(res1
)) {
36108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36112 if (!SWIG_IsOK(res2
)) {
36113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36118 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36119 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36120 if (!SWIG_IsOK(res3
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= result
;
36136 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
= 0;
36138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36139 wxTreeItemId
*arg2
= 0 ;
36140 wxTreeItemId result
;
36145 PyObject
* obj0
= 0 ;
36146 PyObject
* obj1
= 0 ;
36147 char * kwnames
[] = {
36148 (char *) "self",(char *) "item", NULL
36151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36153 if (!SWIG_IsOK(res1
)) {
36154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36156 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36158 if (!SWIG_IsOK(res2
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36164 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36171 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36178 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36179 PyObject
*resultobj
= 0;
36180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36181 wxTreeItemId
*arg2
= 0 ;
36182 wxTreeItemId result
;
36187 PyObject
* obj0
= 0 ;
36188 PyObject
* obj1
= 0 ;
36189 char * kwnames
[] = {
36190 (char *) "self",(char *) "item", NULL
36193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36195 if (!SWIG_IsOK(res1
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36200 if (!SWIG_IsOK(res2
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36209 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36213 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36220 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36221 PyObject
*resultobj
= 0;
36222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36223 wxTreeItemId
*arg2
= 0 ;
36224 wxTreeItemId result
;
36229 PyObject
* obj0
= 0 ;
36230 PyObject
* obj1
= 0 ;
36231 char * kwnames
[] = {
36232 (char *) "self",(char *) "item", NULL
36235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36237 if (!SWIG_IsOK(res1
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36240 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36242 if (!SWIG_IsOK(res2
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36248 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36251 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36252 wxPyEndAllowThreads(__tstate
);
36253 if (PyErr_Occurred()) SWIG_fail
;
36255 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36262 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36263 PyObject
*resultobj
= 0;
36264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36265 wxTreeItemId result
;
36268 PyObject
*swig_obj
[1] ;
36270 if (!args
) SWIG_fail
;
36271 swig_obj
[0] = args
;
36272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36276 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36279 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36280 wxPyEndAllowThreads(__tstate
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36283 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36290 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36291 PyObject
*resultobj
= 0;
36292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36293 wxTreeItemId
*arg2
= 0 ;
36294 wxTreeItemId result
;
36299 PyObject
* obj0
= 0 ;
36300 PyObject
* obj1
= 0 ;
36301 char * kwnames
[] = {
36302 (char *) "self",(char *) "item", NULL
36305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36307 if (!SWIG_IsOK(res1
)) {
36308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36312 if (!SWIG_IsOK(res2
)) {
36313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36332 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
= 0;
36334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36335 wxTreeItemId
*arg2
= 0 ;
36336 wxTreeItemId result
;
36341 PyObject
* obj0
= 0 ;
36342 PyObject
* obj1
= 0 ;
36343 char * kwnames
[] = {
36344 (char *) "self",(char *) "item", NULL
36347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36349 if (!SWIG_IsOK(res1
)) {
36350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36354 if (!SWIG_IsOK(res2
)) {
36355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36360 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36363 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36364 wxPyEndAllowThreads(__tstate
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36374 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36375 PyObject
*resultobj
= 0;
36376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36377 wxString
*arg2
= 0 ;
36378 int arg3
= (int) -1 ;
36379 int arg4
= (int) -1 ;
36380 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36381 wxTreeItemId result
;
36384 bool temp2
= false ;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 PyObject
* obj2
= 0 ;
36393 PyObject
* obj3
= 0 ;
36394 PyObject
* obj4
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36404 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36406 arg2
= wxString_in_helper(obj1
);
36407 if (arg2
== NULL
) SWIG_fail
;
36411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36412 if (!SWIG_IsOK(ecode3
)) {
36413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36415 arg3
= static_cast< int >(val3
);
36418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36419 if (!SWIG_IsOK(ecode4
)) {
36420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36422 arg4
= static_cast< int >(val4
);
36425 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36426 if (!SWIG_IsOK(res5
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36433 wxPyEndAllowThreads(__tstate
);
36434 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36451 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
= 0;
36453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36454 wxTreeItemId
*arg2
= 0 ;
36455 wxString
*arg3
= 0 ;
36456 int arg4
= (int) -1 ;
36457 int arg5
= (int) -1 ;
36458 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36459 wxTreeItemId result
;
36464 bool temp3
= false ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 PyObject
* obj2
= 0 ;
36473 PyObject
* obj3
= 0 ;
36474 PyObject
* obj4
= 0 ;
36475 PyObject
* obj5
= 0 ;
36476 char * kwnames
[] = {
36477 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36482 if (!SWIG_IsOK(res1
)) {
36483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36485 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36487 if (!SWIG_IsOK(res2
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36493 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36495 arg3
= wxString_in_helper(obj2
);
36496 if (arg3
== NULL
) SWIG_fail
;
36500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36501 if (!SWIG_IsOK(ecode4
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36504 arg4
= static_cast< int >(val4
);
36507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36508 if (!SWIG_IsOK(ecode5
)) {
36509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36511 arg5
= static_cast< int >(val5
);
36514 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36515 if (!SWIG_IsOK(res6
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36522 wxPyEndAllowThreads(__tstate
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36525 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36540 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36541 PyObject
*resultobj
= 0;
36542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36543 wxTreeItemId
*arg2
= 0 ;
36544 wxTreeItemId
*arg3
= 0 ;
36545 wxString
*arg4
= 0 ;
36546 int arg5
= (int) -1 ;
36547 int arg6
= (int) -1 ;
36548 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36549 wxTreeItemId result
;
36556 bool temp4
= false ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 PyObject
* obj2
= 0 ;
36565 PyObject
* obj3
= 0 ;
36566 PyObject
* obj4
= 0 ;
36567 PyObject
* obj5
= 0 ;
36568 PyObject
* obj6
= 0 ;
36569 char * kwnames
[] = {
36570 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36575 if (!SWIG_IsOK(res1
)) {
36576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36578 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36580 if (!SWIG_IsOK(res2
)) {
36581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36586 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36588 if (!SWIG_IsOK(res3
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36594 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36596 arg4
= wxString_in_helper(obj3
);
36597 if (arg4
== NULL
) SWIG_fail
;
36601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36602 if (!SWIG_IsOK(ecode5
)) {
36603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36605 arg5
= static_cast< int >(val5
);
36608 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36609 if (!SWIG_IsOK(ecode6
)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36612 arg6
= static_cast< int >(val6
);
36615 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36616 if (!SWIG_IsOK(res7
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36622 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36641 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
= 0;
36643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36644 wxTreeItemId
*arg2
= 0 ;
36646 wxString
*arg4
= 0 ;
36647 int arg5
= (int) -1 ;
36648 int arg6
= (int) -1 ;
36649 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36650 wxTreeItemId result
;
36657 bool temp4
= false ;
36663 PyObject
* obj0
= 0 ;
36664 PyObject
* obj1
= 0 ;
36665 PyObject
* obj2
= 0 ;
36666 PyObject
* obj3
= 0 ;
36667 PyObject
* obj4
= 0 ;
36668 PyObject
* obj5
= 0 ;
36669 PyObject
* obj6
= 0 ;
36670 char * kwnames
[] = {
36671 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36676 if (!SWIG_IsOK(res1
)) {
36677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36681 if (!SWIG_IsOK(res2
)) {
36682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36687 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36688 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36689 if (!SWIG_IsOK(ecode3
)) {
36690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36692 arg3
= static_cast< size_t >(val3
);
36694 arg4
= wxString_in_helper(obj3
);
36695 if (arg4
== NULL
) SWIG_fail
;
36699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36700 if (!SWIG_IsOK(ecode5
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36703 arg5
= static_cast< int >(val5
);
36706 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36707 if (!SWIG_IsOK(ecode6
)) {
36708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36710 arg6
= static_cast< int >(val6
);
36713 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36714 if (!SWIG_IsOK(res7
)) {
36715 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36720 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36739 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
= 0;
36741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36742 wxTreeItemId
*arg2
= 0 ;
36743 wxString
*arg3
= 0 ;
36744 int arg4
= (int) -1 ;
36745 int arg5
= (int) -1 ;
36746 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36747 wxTreeItemId result
;
36752 bool temp3
= false ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 PyObject
* obj2
= 0 ;
36761 PyObject
* obj3
= 0 ;
36762 PyObject
* obj4
= 0 ;
36763 PyObject
* obj5
= 0 ;
36764 char * kwnames
[] = {
36765 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36770 if (!SWIG_IsOK(res1
)) {
36771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36775 if (!SWIG_IsOK(res2
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36783 arg3
= wxString_in_helper(obj2
);
36784 if (arg3
== NULL
) SWIG_fail
;
36788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36789 if (!SWIG_IsOK(ecode4
)) {
36790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36792 arg4
= static_cast< int >(val4
);
36795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36796 if (!SWIG_IsOK(ecode5
)) {
36797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36799 arg5
= static_cast< int >(val5
);
36802 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36803 if (!SWIG_IsOK(res6
)) {
36804 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36810 wxPyEndAllowThreads(__tstate
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36828 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36829 PyObject
*resultobj
= 0;
36830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36831 wxTreeItemId
*arg2
= 0 ;
36836 PyObject
* obj0
= 0 ;
36837 PyObject
* obj1
= 0 ;
36838 char * kwnames
[] = {
36839 (char *) "self",(char *) "item", NULL
36842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36844 if (!SWIG_IsOK(res1
)) {
36845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36847 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36849 if (!SWIG_IsOK(res2
)) {
36850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36859 wxPyEndAllowThreads(__tstate
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36862 resultobj
= SWIG_Py_Void();
36869 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36870 PyObject
*resultobj
= 0;
36871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36872 wxTreeItemId
*arg2
= 0 ;
36877 PyObject
* obj0
= 0 ;
36878 PyObject
* obj1
= 0 ;
36879 char * kwnames
[] = {
36880 (char *) "self",(char *) "item", NULL
36883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36885 if (!SWIG_IsOK(res1
)) {
36886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36890 if (!SWIG_IsOK(res2
)) {
36891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36896 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= SWIG_Py_Void();
36910 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36911 PyObject
*resultobj
= 0;
36912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36915 PyObject
*swig_obj
[1] ;
36917 if (!args
) SWIG_fail
;
36918 swig_obj
[0] = args
;
36919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36920 if (!SWIG_IsOK(res1
)) {
36921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 (arg1
)->DeleteAllItems();
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 resultobj
= SWIG_Py_Void();
36937 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
= 0;
36939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36940 wxTreeItemId
*arg2
= 0 ;
36945 PyObject
* obj0
= 0 ;
36946 PyObject
* obj1
= 0 ;
36947 char * kwnames
[] = {
36948 (char *) "self",(char *) "item", NULL
36951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36958 if (!SWIG_IsOK(res2
)) {
36959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_Py_Void();
36978 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
= 0;
36980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36981 wxTreeItemId
*arg2
= 0 ;
36986 PyObject
* obj0
= 0 ;
36987 PyObject
* obj1
= 0 ;
36988 char * kwnames
[] = {
36989 (char *) "self",(char *) "item", NULL
36992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36994 if (!SWIG_IsOK(res1
)) {
36995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36997 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36999 if (!SWIG_IsOK(res2
)) {
37000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37005 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37012 resultobj
= SWIG_Py_Void();
37019 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37020 PyObject
*resultobj
= 0;
37021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37024 PyObject
*swig_obj
[1] ;
37026 if (!args
) SWIG_fail
;
37027 swig_obj
[0] = args
;
37028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37029 if (!SWIG_IsOK(res1
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37035 (arg1
)->ExpandAll();
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= SWIG_Py_Void();
37046 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
= 0;
37048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37049 wxTreeItemId
*arg2
= 0 ;
37054 PyObject
* obj0
= 0 ;
37055 PyObject
* obj1
= 0 ;
37056 char * kwnames
[] = {
37057 (char *) "self",(char *) "item", NULL
37060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37067 if (!SWIG_IsOK(res2
)) {
37068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37073 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 resultobj
= SWIG_Py_Void();
37087 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37088 PyObject
*resultobj
= 0;
37089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37090 wxTreeItemId
*arg2
= 0 ;
37095 PyObject
* obj0
= 0 ;
37096 PyObject
* obj1
= 0 ;
37097 char * kwnames
[] = {
37098 (char *) "self",(char *) "item", NULL
37101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37103 if (!SWIG_IsOK(res1
)) {
37104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37106 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37108 if (!SWIG_IsOK(res2
)) {
37109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37114 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37117 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37118 wxPyEndAllowThreads(__tstate
);
37119 if (PyErr_Occurred()) SWIG_fail
;
37121 resultobj
= SWIG_Py_Void();
37128 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37129 PyObject
*resultobj
= 0;
37130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37133 PyObject
*swig_obj
[1] ;
37135 if (!args
) SWIG_fail
;
37136 swig_obj
[0] = args
;
37137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37141 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 (arg1
)->CollapseAll();
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= SWIG_Py_Void();
37155 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37156 PyObject
*resultobj
= 0;
37157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37158 wxTreeItemId
*arg2
= 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 char * kwnames
[] = {
37166 (char *) "self",(char *) "item", NULL
37169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37171 if (!SWIG_IsOK(res1
)) {
37172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37176 if (!SWIG_IsOK(res2
)) {
37177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37185 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37186 wxPyEndAllowThreads(__tstate
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37189 resultobj
= SWIG_Py_Void();
37196 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
= 0;
37198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37199 wxTreeItemId
*arg2
= 0 ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 char * kwnames
[] = {
37207 (char *) "self",(char *) "item", NULL
37210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37212 if (!SWIG_IsOK(res1
)) {
37213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37215 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37217 if (!SWIG_IsOK(res2
)) {
37218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37223 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= SWIG_Py_Void();
37237 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37238 PyObject
*resultobj
= 0;
37239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37242 PyObject
*swig_obj
[1] ;
37244 if (!args
) SWIG_fail
;
37245 swig_obj
[0] = args
;
37246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37247 if (!SWIG_IsOK(res1
)) {
37248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37253 (arg1
)->Unselect();
37254 wxPyEndAllowThreads(__tstate
);
37255 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= SWIG_Py_Void();
37264 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37265 PyObject
*resultobj
= 0;
37266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37267 wxTreeItemId
*arg2
= 0 ;
37272 PyObject
* obj0
= 0 ;
37273 PyObject
* obj1
= 0 ;
37274 char * kwnames
[] = {
37275 (char *) "self",(char *) "item", NULL
37278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37280 if (!SWIG_IsOK(res1
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37283 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37285 if (!SWIG_IsOK(res2
)) {
37286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37291 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37294 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37295 wxPyEndAllowThreads(__tstate
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37298 resultobj
= SWIG_Py_Void();
37305 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37306 PyObject
*resultobj
= 0;
37307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37310 PyObject
*swig_obj
[1] ;
37312 if (!args
) SWIG_fail
;
37313 swig_obj
[0] = args
;
37314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37315 if (!SWIG_IsOK(res1
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37318 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 (arg1
)->UnselectAll();
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= SWIG_Py_Void();
37332 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
= 0;
37334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37335 wxTreeItemId
*arg2
= 0 ;
37336 bool arg3
= (bool) true ;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 PyObject
* obj2
= 0 ;
37346 char * kwnames
[] = {
37347 (char *) "self",(char *) "item",(char *) "select", NULL
37350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37352 if (!SWIG_IsOK(res1
)) {
37353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37357 if (!SWIG_IsOK(res2
)) {
37358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37363 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37365 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37366 if (!SWIG_IsOK(ecode3
)) {
37367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37369 arg3
= static_cast< bool >(val3
);
37372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37373 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37374 wxPyEndAllowThreads(__tstate
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37377 resultobj
= SWIG_Py_Void();
37384 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37385 PyObject
*resultobj
= 0;
37386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37387 wxTreeItemId
*arg2
= 0 ;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37394 char * kwnames
[] = {
37395 (char *) "self",(char *) "item", NULL
37398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37400 if (!SWIG_IsOK(res1
)) {
37401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37403 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37405 if (!SWIG_IsOK(res2
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= SWIG_Py_Void();
37425 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
= 0;
37427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37428 wxTreeItemId
*arg2
= 0 ;
37433 PyObject
* obj0
= 0 ;
37434 PyObject
* obj1
= 0 ;
37435 char * kwnames
[] = {
37436 (char *) "self",(char *) "item", NULL
37439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37441 if (!SWIG_IsOK(res1
)) {
37442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37444 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37446 if (!SWIG_IsOK(res2
)) {
37447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37452 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37455 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 resultobj
= SWIG_Py_Void();
37466 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
= 0;
37468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37469 wxTreeItemId
*arg2
= 0 ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 char * kwnames
[] = {
37477 (char *) "self",(char *) "item", NULL
37480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37482 if (!SWIG_IsOK(res1
)) {
37483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37485 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37487 if (!SWIG_IsOK(res2
)) {
37488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37493 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37497 wxPyEndAllowThreads(__tstate
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37500 resultobj
= SWIG_Py_Void();
37507 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37508 PyObject
*resultobj
= 0;
37509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37510 wxTreeItemId
*arg2
= 0 ;
37515 PyObject
* obj0
= 0 ;
37516 PyObject
* obj1
= 0 ;
37517 char * kwnames
[] = {
37518 (char *) "self",(char *) "item", NULL
37521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37523 if (!SWIG_IsOK(res1
)) {
37524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37528 if (!SWIG_IsOK(res2
)) {
37529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37534 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37537 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= SWIG_Py_Void();
37548 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37549 PyObject
*resultobj
= 0;
37550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37551 wxTextCtrl
*result
= 0 ;
37554 PyObject
*swig_obj
[1] ;
37556 if (!args
) SWIG_fail
;
37557 swig_obj
[0] = args
;
37558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37559 if (!SWIG_IsOK(res1
)) {
37560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37566 wxPyEndAllowThreads(__tstate
);
37567 if (PyErr_Occurred()) SWIG_fail
;
37570 resultobj
= wxPyMake_wxObject(result
, 0);
37578 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
= 0;
37580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37581 wxTreeItemId
*arg2
= 0 ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 char * kwnames
[] = {
37589 (char *) "self",(char *) "item", NULL
37592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37594 if (!SWIG_IsOK(res1
)) {
37595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37599 if (!SWIG_IsOK(res2
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= SWIG_Py_Void();
37619 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
= 0;
37621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37622 wxPoint
*arg2
= 0 ;
37624 wxTreeItemId result
;
37629 int res3
= SWIG_TMPOBJ
;
37630 PyObject
* obj0
= 0 ;
37631 PyObject
* obj1
= 0 ;
37632 char * kwnames
[] = {
37633 (char *) "self",(char *) "point", NULL
37637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37639 if (!SWIG_IsOK(res1
)) {
37640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37642 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37653 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37654 if (SWIG_IsTmpObj(res3
)) {
37655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37666 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
= 0;
37668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37669 wxTreeItemId
*arg2
= 0 ;
37670 bool arg3
= (bool) false ;
37671 PyObject
*result
= 0 ;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 PyObject
* obj2
= 0 ;
37681 char * kwnames
[] = {
37682 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37687 if (!SWIG_IsOK(res1
)) {
37688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37690 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37692 if (!SWIG_IsOK(res2
)) {
37693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37698 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37700 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37701 if (!SWIG_IsOK(ecode3
)) {
37702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37704 arg3
= static_cast< bool >(val3
);
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37709 wxPyEndAllowThreads(__tstate
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37712 resultobj
= result
;
37719 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37720 PyObject
*resultobj
= 0;
37721 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37722 SwigValueWrapper
<wxVisualAttributes
> result
;
37725 PyObject
* obj0
= 0 ;
37726 char * kwnames
[] = {
37727 (char *) "variant", NULL
37730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37733 if (!SWIG_IsOK(ecode1
)) {
37734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37736 arg1
= static_cast< wxWindowVariant
>(val1
);
37739 if (!wxPyCheckForApp()) SWIG_fail
;
37740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37741 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37752 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37753 PyObject
*resultobj
= 0;
37754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37760 PyObject
* obj0
= 0 ;
37761 PyObject
* obj1
= 0 ;
37762 char * kwnames
[] = {
37763 (char *) "self",(char *) "q", NULL
37766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37768 if (!SWIG_IsOK(res1
)) {
37769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37773 if (!SWIG_IsOK(ecode2
)) {
37774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37776 arg2
= static_cast< bool >(val2
);
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 (arg1
)->SetQuickBestSize(arg2
);
37780 wxPyEndAllowThreads(__tstate
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= SWIG_Py_Void();
37790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37791 PyObject
*resultobj
= 0;
37792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37796 PyObject
*swig_obj
[1] ;
37798 if (!args
) SWIG_fail
;
37799 swig_obj
[0] = args
;
37800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37801 if (!SWIG_IsOK(res1
)) {
37802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37804 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37808 wxPyEndAllowThreads(__tstate
);
37809 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37820 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37824 return SWIG_Py_Void();
37827 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37828 return SWIG_Python_InitShadowInstance(args
);
37831 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37832 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37837 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37838 PyObject
*pyobj
= 0;
37842 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37844 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37851 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
= 0;
37853 wxWindow
*arg1
= (wxWindow
*) 0 ;
37854 int arg2
= (int) (int)-1 ;
37855 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37861 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37862 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37864 int arg8
= (int) 0 ;
37865 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37866 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37867 wxGenericDirCtrl
*result
= 0 ;
37872 bool temp3
= false ;
37877 bool temp7
= false ;
37880 bool temp9
= false ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 PyObject
* obj3
= 0 ;
37885 PyObject
* obj4
= 0 ;
37886 PyObject
* obj5
= 0 ;
37887 PyObject
* obj6
= 0 ;
37888 PyObject
* obj7
= 0 ;
37889 PyObject
* obj8
= 0 ;
37890 char * kwnames
[] = {
37891 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37896 if (!SWIG_IsOK(res1
)) {
37897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37902 if (!SWIG_IsOK(ecode2
)) {
37903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37905 arg2
= static_cast< int >(val2
);
37909 arg3
= wxString_in_helper(obj2
);
37910 if (arg3
== NULL
) SWIG_fail
;
37917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37928 if (!SWIG_IsOK(ecode6
)) {
37929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37931 arg6
= static_cast< long >(val6
);
37935 arg7
= wxString_in_helper(obj6
);
37936 if (arg7
== NULL
) SWIG_fail
;
37941 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37942 if (!SWIG_IsOK(ecode8
)) {
37943 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37945 arg8
= static_cast< int >(val8
);
37949 arg9
= wxString_in_helper(obj8
);
37950 if (arg9
== NULL
) SWIG_fail
;
37955 if (!wxPyCheckForApp()) SWIG_fail
;
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37992 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37993 PyObject
*resultobj
= 0;
37994 wxGenericDirCtrl
*result
= 0 ;
37996 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37998 if (!wxPyCheckForApp()) SWIG_fail
;
37999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38000 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
38011 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38012 PyObject
*resultobj
= 0;
38013 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38014 wxWindow
*arg2
= (wxWindow
*) 0 ;
38015 int arg3
= (int) (int)-1 ;
38016 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
38017 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38018 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
38019 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
38020 wxSize
const &arg6_defvalue
= wxDefaultSize
;
38021 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
38022 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
38023 wxString
const &arg8_defvalue
= wxPyEmptyString
;
38024 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38025 int arg9
= (int) 0 ;
38026 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
38027 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
38035 bool temp4
= false ;
38040 bool temp8
= false ;
38043 bool temp10
= false ;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 PyObject
* obj2
= 0 ;
38047 PyObject
* obj3
= 0 ;
38048 PyObject
* obj4
= 0 ;
38049 PyObject
* obj5
= 0 ;
38050 PyObject
* obj6
= 0 ;
38051 PyObject
* obj7
= 0 ;
38052 PyObject
* obj8
= 0 ;
38053 PyObject
* obj9
= 0 ;
38054 char * kwnames
[] = {
38055 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
38059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38060 if (!SWIG_IsOK(res1
)) {
38061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38063 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38065 if (!SWIG_IsOK(res2
)) {
38066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38071 if (!SWIG_IsOK(ecode3
)) {
38072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38074 arg3
= static_cast< int >(val3
);
38078 arg4
= wxString_in_helper(obj3
);
38079 if (arg4
== NULL
) SWIG_fail
;
38086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38096 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38097 if (!SWIG_IsOK(ecode7
)) {
38098 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38100 arg7
= static_cast< long >(val7
);
38104 arg8
= wxString_in_helper(obj7
);
38105 if (arg8
== NULL
) SWIG_fail
;
38110 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38111 if (!SWIG_IsOK(ecode9
)) {
38112 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38114 arg9
= static_cast< int >(val9
);
38118 arg10
= wxString_in_helper(obj9
);
38119 if (arg10
== NULL
) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38126 wxPyEndAllowThreads(__tstate
);
38127 if (PyErr_Occurred()) SWIG_fail
;
38130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38162 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38163 PyObject
*resultobj
= 0;
38164 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38165 wxString
*arg2
= 0 ;
38169 bool temp2
= false ;
38170 PyObject
* obj0
= 0 ;
38171 PyObject
* obj1
= 0 ;
38172 char * kwnames
[] = {
38173 (char *) "self",(char *) "path", NULL
38176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38178 if (!SWIG_IsOK(res1
)) {
38179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38181 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38183 arg2
= wxString_in_helper(obj1
);
38184 if (arg2
== NULL
) SWIG_fail
;
38188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38189 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38190 wxPyEndAllowThreads(__tstate
);
38191 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38210 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
= 0;
38212 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38213 wxString
*arg2
= 0 ;
38217 bool temp2
= false ;
38218 PyObject
* obj0
= 0 ;
38219 PyObject
* obj1
= 0 ;
38220 char * kwnames
[] = {
38221 (char *) "self",(char *) "path", NULL
38224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38226 if (!SWIG_IsOK(res1
)) {
38227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38229 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38231 arg2
= wxString_in_helper(obj1
);
38232 if (arg2
== NULL
) SWIG_fail
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38258 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38259 PyObject
*resultobj
= 0;
38260 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38264 PyObject
*swig_obj
[1] ;
38266 if (!args
) SWIG_fail
;
38267 swig_obj
[0] = args
;
38268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38269 if (!SWIG_IsOK(res1
)) {
38270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38272 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38292 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
= 0;
38294 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38295 wxString
*arg2
= 0 ;
38298 bool temp2
= false ;
38299 PyObject
* obj0
= 0 ;
38300 PyObject
* obj1
= 0 ;
38301 char * kwnames
[] = {
38302 (char *) "self",(char *) "path", NULL
38305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38307 if (!SWIG_IsOK(res1
)) {
38308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38310 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38312 arg2
= wxString_in_helper(obj1
);
38313 if (arg2
== NULL
) SWIG_fail
;
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38322 resultobj
= SWIG_Py_Void();
38337 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38338 PyObject
*resultobj
= 0;
38339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38343 PyObject
*swig_obj
[1] ;
38345 if (!args
) SWIG_fail
;
38346 swig_obj
[0] = args
;
38347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38348 if (!SWIG_IsOK(res1
)) {
38349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38351 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38371 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38372 PyObject
*resultobj
= 0;
38373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38377 PyObject
*swig_obj
[1] ;
38379 if (!args
) SWIG_fail
;
38380 swig_obj
[0] = args
;
38381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38382 if (!SWIG_IsOK(res1
)) {
38383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38385 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38388 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38405 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38406 PyObject
*resultobj
= 0;
38407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38408 wxString
*arg2
= 0 ;
38411 bool temp2
= false ;
38412 PyObject
* obj0
= 0 ;
38413 PyObject
* obj1
= 0 ;
38414 char * kwnames
[] = {
38415 (char *) "self",(char *) "path", NULL
38418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38420 if (!SWIG_IsOK(res1
)) {
38421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38423 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38425 arg2
= wxString_in_helper(obj1
);
38426 if (arg2
== NULL
) SWIG_fail
;
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 (arg1
)->SetPath((wxString
const &)*arg2
);
38432 wxPyEndAllowThreads(__tstate
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38435 resultobj
= SWIG_Py_Void();
38450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38451 PyObject
*resultobj
= 0;
38452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38458 PyObject
* obj0
= 0 ;
38459 PyObject
* obj1
= 0 ;
38460 char * kwnames
[] = {
38461 (char *) "self",(char *) "show", NULL
38464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38466 if (!SWIG_IsOK(res1
)) {
38467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38469 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38471 if (!SWIG_IsOK(ecode2
)) {
38472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38474 arg2
= static_cast< bool >(val2
);
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38477 (arg1
)->ShowHidden(arg2
);
38478 wxPyEndAllowThreads(__tstate
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= SWIG_Py_Void();
38488 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38489 PyObject
*resultobj
= 0;
38490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38494 PyObject
*swig_obj
[1] ;
38496 if (!args
) SWIG_fail
;
38497 swig_obj
[0] = args
;
38498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38499 if (!SWIG_IsOK(res1
)) {
38500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38502 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38505 result
= (bool)(arg1
)->GetShowHidden();
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38518 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38519 PyObject
*resultobj
= 0;
38520 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38524 PyObject
*swig_obj
[1] ;
38526 if (!args
) SWIG_fail
;
38527 swig_obj
[0] = args
;
38528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38529 if (!SWIG_IsOK(res1
)) {
38530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38532 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38535 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38536 wxPyEndAllowThreads(__tstate
);
38537 if (PyErr_Occurred()) SWIG_fail
;
38541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38552 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
= 0;
38554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38555 wxString
*arg2
= 0 ;
38558 bool temp2
= false ;
38559 PyObject
* obj0
= 0 ;
38560 PyObject
* obj1
= 0 ;
38561 char * kwnames
[] = {
38562 (char *) "self",(char *) "filter", NULL
38565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38567 if (!SWIG_IsOK(res1
)) {
38568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38570 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38572 arg2
= wxString_in_helper(obj1
);
38573 if (arg2
== NULL
) SWIG_fail
;
38577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38578 (arg1
)->SetFilter((wxString
const &)*arg2
);
38579 wxPyEndAllowThreads(__tstate
);
38580 if (PyErr_Occurred()) SWIG_fail
;
38582 resultobj
= SWIG_Py_Void();
38597 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38598 PyObject
*resultobj
= 0;
38599 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38603 PyObject
*swig_obj
[1] ;
38605 if (!args
) SWIG_fail
;
38606 swig_obj
[0] = args
;
38607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38608 if (!SWIG_IsOK(res1
)) {
38609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38611 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_From_int(static_cast< int >(result
));
38625 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38626 PyObject
*resultobj
= 0;
38627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38633 PyObject
* obj0
= 0 ;
38634 PyObject
* obj1
= 0 ;
38635 char * kwnames
[] = {
38636 (char *) "self",(char *) "n", NULL
38639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38641 if (!SWIG_IsOK(res1
)) {
38642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38644 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38646 if (!SWIG_IsOK(ecode2
)) {
38647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38649 arg2
= static_cast< int >(val2
);
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 (arg1
)->SetFilterIndex(arg2
);
38653 wxPyEndAllowThreads(__tstate
);
38654 if (PyErr_Occurred()) SWIG_fail
;
38656 resultobj
= SWIG_Py_Void();
38663 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38664 PyObject
*resultobj
= 0;
38665 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38666 wxTreeItemId result
;
38669 PyObject
*swig_obj
[1] ;
38671 if (!args
) SWIG_fail
;
38672 swig_obj
[0] = args
;
38673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38674 if (!SWIG_IsOK(res1
)) {
38675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38677 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38680 result
= (arg1
)->GetRootId();
38681 wxPyEndAllowThreads(__tstate
);
38682 if (PyErr_Occurred()) SWIG_fail
;
38684 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38691 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38692 PyObject
*resultobj
= 0;
38693 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38694 wxPyTreeCtrl
*result
= 0 ;
38697 PyObject
*swig_obj
[1] ;
38699 if (!args
) SWIG_fail
;
38700 swig_obj
[0] = args
;
38701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38702 if (!SWIG_IsOK(res1
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38705 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38713 resultobj
= wxPyMake_wxObject(result
, 0);
38721 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38722 PyObject
*resultobj
= 0;
38723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38724 wxDirFilterListCtrl
*result
= 0 ;
38727 PyObject
*swig_obj
[1] ;
38729 if (!args
) SWIG_fail
;
38730 swig_obj
[0] = args
;
38731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38732 if (!SWIG_IsOK(res1
)) {
38733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38735 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38749 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38750 PyObject
*resultobj
= 0;
38751 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38752 wxTreeItemId arg2
;
38753 wxString
*arg3
= 0 ;
38755 wxTreeItemId result
;
38760 bool temp3
= false ;
38762 int res4
= SWIG_TMPOBJ
;
38763 PyObject
* obj0
= 0 ;
38764 PyObject
* obj1
= 0 ;
38765 PyObject
* obj2
= 0 ;
38766 char * kwnames
[] = {
38767 (char *) "self",(char *) "parentId",(char *) "path", NULL
38771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38773 if (!SWIG_IsOK(res1
)) {
38774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38776 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38779 if (!SWIG_IsOK(res2
)) {
38780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38785 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38787 if (SWIG_IsNewObj(res2
)) delete temp
;
38791 arg3
= wxString_in_helper(obj2
);
38792 if (arg3
== NULL
) SWIG_fail
;
38796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38797 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38801 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38802 if (SWIG_IsTmpObj(res4
)) {
38803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38805 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38822 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38823 PyObject
*resultobj
= 0;
38824 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38827 PyObject
*swig_obj
[1] ;
38829 if (!args
) SWIG_fail
;
38830 swig_obj
[0] = args
;
38831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38832 if (!SWIG_IsOK(res1
)) {
38833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38835 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 (arg1
)->DoResize();
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 resultobj
= SWIG_Py_Void();
38849 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38850 PyObject
*resultobj
= 0;
38851 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38854 PyObject
*swig_obj
[1] ;
38856 if (!args
) SWIG_fail
;
38857 swig_obj
[0] = args
;
38858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38859 if (!SWIG_IsOK(res1
)) {
38860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38862 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38865 (arg1
)->ReCreateTree();
38866 wxPyEndAllowThreads(__tstate
);
38867 if (PyErr_Occurred()) SWIG_fail
;
38869 resultobj
= SWIG_Py_Void();
38876 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38879 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38880 return SWIG_Py_Void();
38883 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38884 return SWIG_Python_InitShadowInstance(args
);
38887 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38888 PyObject
*resultobj
= 0;
38889 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38890 int arg2
= (int) (int)-1 ;
38891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38895 long arg5
= (long) 0 ;
38896 wxDirFilterListCtrl
*result
= 0 ;
38905 PyObject
* obj0
= 0 ;
38906 PyObject
* obj1
= 0 ;
38907 PyObject
* obj2
= 0 ;
38908 PyObject
* obj3
= 0 ;
38909 PyObject
* obj4
= 0 ;
38910 char * kwnames
[] = {
38911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38916 if (!SWIG_IsOK(res1
)) {
38917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38919 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38922 if (!SWIG_IsOK(ecode2
)) {
38923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38925 arg2
= static_cast< int >(val2
);
38930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38940 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38941 if (!SWIG_IsOK(ecode5
)) {
38942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38944 arg5
= static_cast< long >(val5
);
38947 if (!wxPyCheckForApp()) SWIG_fail
;
38948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38949 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38950 wxPyEndAllowThreads(__tstate
);
38951 if (PyErr_Occurred()) SWIG_fail
;
38953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38960 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38961 PyObject
*resultobj
= 0;
38962 wxDirFilterListCtrl
*result
= 0 ;
38964 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38966 if (!wxPyCheckForApp()) SWIG_fail
;
38967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38968 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38969 wxPyEndAllowThreads(__tstate
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38979 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38980 PyObject
*resultobj
= 0;
38981 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38982 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38983 int arg3
= (int) (int)-1 ;
38984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38988 long arg6
= (long) 0 ;
39000 PyObject
* obj0
= 0 ;
39001 PyObject
* obj1
= 0 ;
39002 PyObject
* obj2
= 0 ;
39003 PyObject
* obj3
= 0 ;
39004 PyObject
* obj4
= 0 ;
39005 PyObject
* obj5
= 0 ;
39006 char * kwnames
[] = {
39007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39012 if (!SWIG_IsOK(res1
)) {
39013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39015 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39017 if (!SWIG_IsOK(res2
)) {
39018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
39020 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
39022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39023 if (!SWIG_IsOK(ecode3
)) {
39024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
39026 arg3
= static_cast< int >(val3
);
39031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
39037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
39041 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
39042 if (!SWIG_IsOK(ecode6
)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39045 arg6
= static_cast< long >(val6
);
39048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
39050 wxPyEndAllowThreads(__tstate
);
39051 if (PyErr_Occurred()) SWIG_fail
;
39054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39062 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39063 PyObject
*resultobj
= 0;
39064 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39065 wxString
*arg2
= 0 ;
39069 bool temp2
= false ;
39072 PyObject
* obj0
= 0 ;
39073 PyObject
* obj1
= 0 ;
39074 PyObject
* obj2
= 0 ;
39075 char * kwnames
[] = {
39076 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39081 if (!SWIG_IsOK(res1
)) {
39082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39084 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39086 arg2
= wxString_in_helper(obj1
);
39087 if (arg2
== NULL
) SWIG_fail
;
39090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39091 if (!SWIG_IsOK(ecode3
)) {
39092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39094 arg3
= static_cast< int >(val3
);
39096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39097 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39101 resultobj
= SWIG_Py_Void();
39116 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39119 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39120 return SWIG_Py_Void();
39123 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39124 return SWIG_Python_InitShadowInstance(args
);
39127 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39128 PyObject
*resultobj
= 0;
39129 wxWindow
*arg1
= (wxWindow
*) 0 ;
39130 int arg2
= (int) (int)-1 ;
39131 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39132 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39133 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39134 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39135 long arg5
= (long) 0 ;
39136 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39137 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39138 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39140 wxPyControl
*result
= 0 ;
39151 bool temp7
= false ;
39152 PyObject
* obj0
= 0 ;
39153 PyObject
* obj1
= 0 ;
39154 PyObject
* obj2
= 0 ;
39155 PyObject
* obj3
= 0 ;
39156 PyObject
* obj4
= 0 ;
39157 PyObject
* obj5
= 0 ;
39158 PyObject
* obj6
= 0 ;
39159 char * kwnames
[] = {
39160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39165 if (!SWIG_IsOK(res1
)) {
39166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39171 if (!SWIG_IsOK(ecode2
)) {
39172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39174 arg2
= static_cast< int >(val2
);
39179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39185 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39189 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39190 if (!SWIG_IsOK(ecode5
)) {
39191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39193 arg5
= static_cast< long >(val5
);
39196 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39197 if (!SWIG_IsOK(res6
)) {
39198 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39203 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39207 arg7
= wxString_in_helper(obj6
);
39208 if (arg7
== NULL
) SWIG_fail
;
39213 if (!wxPyCheckForApp()) SWIG_fail
;
39214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39215 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39216 wxPyEndAllowThreads(__tstate
);
39217 if (PyErr_Occurred()) SWIG_fail
;
39219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39234 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39235 PyObject
*resultobj
= 0;
39236 wxPyControl
*result
= 0 ;
39238 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39240 if (!wxPyCheckForApp()) SWIG_fail
;
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (wxPyControl
*)new wxPyControl();
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39253 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39254 PyObject
*resultobj
= 0;
39255 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39256 PyObject
*arg2
= (PyObject
*) 0 ;
39257 PyObject
*arg3
= (PyObject
*) 0 ;
39260 PyObject
* obj0
= 0 ;
39261 PyObject
* obj1
= 0 ;
39262 PyObject
* obj2
= 0 ;
39263 char * kwnames
[] = {
39264 (char *) "self",(char *) "self",(char *) "_class", NULL
39267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39269 if (!SWIG_IsOK(res1
)) {
39270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39272 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39278 wxPyEndAllowThreads(__tstate
);
39279 if (PyErr_Occurred()) SWIG_fail
;
39281 resultobj
= SWIG_Py_Void();
39288 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39289 PyObject
*resultobj
= 0;
39290 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39291 wxDC
*arg2
= (wxDC
*) 0 ;
39297 PyObject
* obj0
= 0 ;
39298 PyObject
* obj1
= 0 ;
39299 char * kwnames
[] = {
39300 (char *) "self",(char *) "dc", NULL
39303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39305 if (!SWIG_IsOK(res1
)) {
39306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39308 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39310 if (!SWIG_IsOK(res2
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39313 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39316 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39317 wxPyEndAllowThreads(__tstate
);
39318 if (PyErr_Occurred()) SWIG_fail
;
39321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39329 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39330 PyObject
*resultobj
= 0;
39331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39346 PyObject
* obj0
= 0 ;
39347 PyObject
* obj1
= 0 ;
39348 PyObject
* obj2
= 0 ;
39349 PyObject
* obj3
= 0 ;
39350 PyObject
* obj4
= 0 ;
39351 char * kwnames
[] = {
39352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39357 if (!SWIG_IsOK(res1
)) {
39358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39360 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39362 if (!SWIG_IsOK(ecode2
)) {
39363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39365 arg2
= static_cast< int >(val2
);
39366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39367 if (!SWIG_IsOK(ecode3
)) {
39368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39370 arg3
= static_cast< int >(val3
);
39371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39372 if (!SWIG_IsOK(ecode4
)) {
39373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39375 arg4
= static_cast< int >(val4
);
39376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39377 if (!SWIG_IsOK(ecode5
)) {
39378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39380 arg5
= static_cast< int >(val5
);
39382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39383 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39387 resultobj
= SWIG_Py_Void();
39394 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39395 PyObject
*resultobj
= 0;
39396 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39401 int arg6
= (int) wxSIZE_AUTO
;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39416 PyObject
* obj2
= 0 ;
39417 PyObject
* obj3
= 0 ;
39418 PyObject
* obj4
= 0 ;
39419 PyObject
* obj5
= 0 ;
39420 char * kwnames
[] = {
39421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39426 if (!SWIG_IsOK(res1
)) {
39427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39429 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39431 if (!SWIG_IsOK(ecode2
)) {
39432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39434 arg2
= static_cast< int >(val2
);
39435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39436 if (!SWIG_IsOK(ecode3
)) {
39437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39439 arg3
= static_cast< int >(val3
);
39440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39441 if (!SWIG_IsOK(ecode4
)) {
39442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39444 arg4
= static_cast< int >(val4
);
39445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39446 if (!SWIG_IsOK(ecode5
)) {
39447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39449 arg5
= static_cast< int >(val5
);
39451 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39452 if (!SWIG_IsOK(ecode6
)) {
39453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39455 arg6
= static_cast< int >(val6
);
39458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39459 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39460 wxPyEndAllowThreads(__tstate
);
39461 if (PyErr_Occurred()) SWIG_fail
;
39463 resultobj
= SWIG_Py_Void();
39470 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39471 PyObject
*resultobj
= 0;
39472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39483 PyObject
* obj2
= 0 ;
39484 char * kwnames
[] = {
39485 (char *) "self",(char *) "width",(char *) "height", NULL
39488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39490 if (!SWIG_IsOK(res1
)) {
39491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39493 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39495 if (!SWIG_IsOK(ecode2
)) {
39496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39498 arg2
= static_cast< int >(val2
);
39499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39500 if (!SWIG_IsOK(ecode3
)) {
39501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39503 arg3
= static_cast< int >(val3
);
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 (arg1
)->DoSetClientSize(arg2
,arg3
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 resultobj
= SWIG_Py_Void();
39517 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
= 0;
39519 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39528 PyObject
* obj0
= 0 ;
39529 PyObject
* obj1
= 0 ;
39530 PyObject
* obj2
= 0 ;
39531 char * kwnames
[] = {
39532 (char *) "self",(char *) "x",(char *) "y", NULL
39535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39537 if (!SWIG_IsOK(res1
)) {
39538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39540 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39542 if (!SWIG_IsOK(ecode2
)) {
39543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39545 arg2
= static_cast< int >(val2
);
39546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39547 if (!SWIG_IsOK(ecode3
)) {
39548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39550 arg3
= static_cast< int >(val3
);
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39554 wxPyEndAllowThreads(__tstate
);
39555 if (PyErr_Occurred()) SWIG_fail
;
39557 resultobj
= SWIG_Py_Void();
39564 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39565 PyObject
*resultobj
= 0;
39566 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39567 int *arg2
= (int *) 0 ;
39568 int *arg3
= (int *) 0 ;
39572 int res2
= SWIG_TMPOBJ
;
39574 int res3
= SWIG_TMPOBJ
;
39575 PyObject
*swig_obj
[1] ;
39579 if (!args
) SWIG_fail
;
39580 swig_obj
[0] = args
;
39581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39582 if (!SWIG_IsOK(res1
)) {
39583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39585 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39588 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39592 resultobj
= SWIG_Py_Void();
39593 if (SWIG_IsTmpObj(res2
)) {
39594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39596 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39599 if (SWIG_IsTmpObj(res3
)) {
39600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39602 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39611 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39612 PyObject
*resultobj
= 0;
39613 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39614 int *arg2
= (int *) 0 ;
39615 int *arg3
= (int *) 0 ;
39619 int res2
= SWIG_TMPOBJ
;
39621 int res3
= SWIG_TMPOBJ
;
39622 PyObject
*swig_obj
[1] ;
39626 if (!args
) SWIG_fail
;
39627 swig_obj
[0] = args
;
39628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39629 if (!SWIG_IsOK(res1
)) {
39630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39632 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39635 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39636 wxPyEndAllowThreads(__tstate
);
39637 if (PyErr_Occurred()) SWIG_fail
;
39639 resultobj
= SWIG_Py_Void();
39640 if (SWIG_IsTmpObj(res2
)) {
39641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39646 if (SWIG_IsTmpObj(res3
)) {
39647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39658 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39659 PyObject
*resultobj
= 0;
39660 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39661 int *arg2
= (int *) 0 ;
39662 int *arg3
= (int *) 0 ;
39666 int res2
= SWIG_TMPOBJ
;
39668 int res3
= SWIG_TMPOBJ
;
39669 PyObject
*swig_obj
[1] ;
39673 if (!args
) SWIG_fail
;
39674 swig_obj
[0] = args
;
39675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39676 if (!SWIG_IsOK(res1
)) {
39677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39679 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39682 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39686 resultobj
= SWIG_Py_Void();
39687 if (SWIG_IsTmpObj(res2
)) {
39688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39690 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39693 if (SWIG_IsTmpObj(res3
)) {
39694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39705 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39706 PyObject
*resultobj
= 0;
39707 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39711 PyObject
*swig_obj
[1] ;
39713 if (!args
) SWIG_fail
;
39714 swig_obj
[0] = args
;
39715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39716 if (!SWIG_IsOK(res1
)) {
39717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39719 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39722 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39733 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39734 PyObject
*resultobj
= 0;
39735 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39739 PyObject
*swig_obj
[1] ;
39741 if (!args
) SWIG_fail
;
39742 swig_obj
[0] = args
;
39743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39744 if (!SWIG_IsOK(res1
)) {
39745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39747 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39751 wxPyEndAllowThreads(__tstate
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39761 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39762 PyObject
*resultobj
= 0;
39763 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39764 SwigValueWrapper
<wxVisualAttributes
> result
;
39767 PyObject
*swig_obj
[1] ;
39769 if (!args
) SWIG_fail
;
39770 swig_obj
[0] = args
;
39771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39772 if (!SWIG_IsOK(res1
)) {
39773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39775 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 result
= (arg1
)->GetDefaultAttributes();
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39789 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39790 PyObject
*resultobj
= 0;
39791 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39794 PyObject
*swig_obj
[1] ;
39796 if (!args
) SWIG_fail
;
39797 swig_obj
[0] = args
;
39798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39799 if (!SWIG_IsOK(res1
)) {
39800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39802 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 (arg1
)->OnInternalIdle();
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 resultobj
= SWIG_Py_Void();
39816 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39819 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39820 return SWIG_Py_Void();
39823 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39824 return SWIG_Python_InitShadowInstance(args
);
39827 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39828 PyObject
*resultobj
= 0;
39829 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39830 int arg2
= (int) 0 ;
39831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39833 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39834 wxHelpEvent
*result
= 0 ;
39842 PyObject
* obj0
= 0 ;
39843 PyObject
* obj1
= 0 ;
39844 PyObject
* obj2
= 0 ;
39845 PyObject
* obj3
= 0 ;
39846 char * kwnames
[] = {
39847 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39853 if (!SWIG_IsOK(ecode1
)) {
39854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39856 arg1
= static_cast< wxEventType
>(val1
);
39859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39860 if (!SWIG_IsOK(ecode2
)) {
39861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39863 arg2
= static_cast< int >(val2
);
39868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39873 if (!SWIG_IsOK(ecode4
)) {
39874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39876 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39880 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39881 wxPyEndAllowThreads(__tstate
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39891 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39892 PyObject
*resultobj
= 0;
39893 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39897 PyObject
*swig_obj
[1] ;
39899 if (!args
) SWIG_fail
;
39900 swig_obj
[0] = args
;
39901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39902 if (!SWIG_IsOK(res1
)) {
39903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39905 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39908 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39909 wxPyEndAllowThreads(__tstate
);
39910 if (PyErr_Occurred()) SWIG_fail
;
39912 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39919 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39920 PyObject
*resultobj
= 0;
39921 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39922 wxPoint
*arg2
= 0 ;
39926 PyObject
* obj0
= 0 ;
39927 PyObject
* obj1
= 0 ;
39928 char * kwnames
[] = {
39929 (char *) "self",(char *) "pos", NULL
39932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39934 if (!SWIG_IsOK(res1
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39937 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39945 wxPyEndAllowThreads(__tstate
);
39946 if (PyErr_Occurred()) SWIG_fail
;
39948 resultobj
= SWIG_Py_Void();
39955 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39956 PyObject
*resultobj
= 0;
39957 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39958 wxString
*result
= 0 ;
39961 PyObject
*swig_obj
[1] ;
39963 if (!args
) SWIG_fail
;
39964 swig_obj
[0] = args
;
39965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39966 if (!SWIG_IsOK(res1
)) {
39967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39969 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39973 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39974 result
= (wxString
*) &_result_ref
;
39976 wxPyEndAllowThreads(__tstate
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39992 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
= 0;
39994 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39995 wxString
*arg2
= 0 ;
39998 bool temp2
= false ;
39999 PyObject
* obj0
= 0 ;
40000 PyObject
* obj1
= 0 ;
40001 char * kwnames
[] = {
40002 (char *) "self",(char *) "link", NULL
40005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40007 if (!SWIG_IsOK(res1
)) {
40008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40010 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40012 arg2
= wxString_in_helper(obj1
);
40013 if (arg2
== NULL
) SWIG_fail
;
40017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40018 (arg1
)->SetLink((wxString
const &)*arg2
);
40019 wxPyEndAllowThreads(__tstate
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= SWIG_Py_Void();
40037 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40038 PyObject
*resultobj
= 0;
40039 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40040 wxString
*result
= 0 ;
40043 PyObject
*swig_obj
[1] ;
40045 if (!args
) SWIG_fail
;
40046 swig_obj
[0] = args
;
40047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40048 if (!SWIG_IsOK(res1
)) {
40049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40051 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
40056 result
= (wxString
*) &_result_ref
;
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40074 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
= 0;
40076 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40077 wxString
*arg2
= 0 ;
40080 bool temp2
= false ;
40081 PyObject
* obj0
= 0 ;
40082 PyObject
* obj1
= 0 ;
40083 char * kwnames
[] = {
40084 (char *) "self",(char *) "target", NULL
40087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40089 if (!SWIG_IsOK(res1
)) {
40090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40092 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40094 arg2
= wxString_in_helper(obj1
);
40095 if (arg2
== NULL
) SWIG_fail
;
40099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40100 (arg1
)->SetTarget((wxString
const &)*arg2
);
40101 wxPyEndAllowThreads(__tstate
);
40102 if (PyErr_Occurred()) SWIG_fail
;
40104 resultobj
= SWIG_Py_Void();
40119 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40120 PyObject
*resultobj
= 0;
40121 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40122 wxHelpEvent::Origin result
;
40125 PyObject
*swig_obj
[1] ;
40127 if (!args
) SWIG_fail
;
40128 swig_obj
[0] = args
;
40129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40130 if (!SWIG_IsOK(res1
)) {
40131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40133 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40136 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40137 wxPyEndAllowThreads(__tstate
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40140 resultobj
= SWIG_From_int(static_cast< int >(result
));
40147 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40148 PyObject
*resultobj
= 0;
40149 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40150 wxHelpEvent::Origin arg2
;
40155 PyObject
* obj0
= 0 ;
40156 PyObject
* obj1
= 0 ;
40157 char * kwnames
[] = {
40158 (char *) "self",(char *) "origin", NULL
40161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40163 if (!SWIG_IsOK(res1
)) {
40164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40166 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40168 if (!SWIG_IsOK(ecode2
)) {
40169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40171 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40174 (arg1
)->SetOrigin(arg2
);
40175 wxPyEndAllowThreads(__tstate
);
40176 if (PyErr_Occurred()) SWIG_fail
;
40178 resultobj
= SWIG_Py_Void();
40185 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40188 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40189 return SWIG_Py_Void();
40192 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40193 return SWIG_Python_InitShadowInstance(args
);
40196 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
= 0;
40198 wxWindow
*arg1
= (wxWindow
*) NULL
;
40199 bool arg2
= (bool) true ;
40200 wxContextHelp
*result
= 0 ;
40205 PyObject
* obj0
= 0 ;
40206 PyObject
* obj1
= 0 ;
40207 char * kwnames
[] = {
40208 (char *) "window",(char *) "doNow", NULL
40211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40214 if (!SWIG_IsOK(res1
)) {
40215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40220 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40221 if (!SWIG_IsOK(ecode2
)) {
40222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40224 arg2
= static_cast< bool >(val2
);
40227 if (!wxPyCheckForApp()) SWIG_fail
;
40228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40229 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40240 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40241 PyObject
*resultobj
= 0;
40242 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40245 PyObject
*swig_obj
[1] ;
40247 if (!args
) SWIG_fail
;
40248 swig_obj
[0] = args
;
40249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40250 if (!SWIG_IsOK(res1
)) {
40251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40253 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40258 wxPyEndAllowThreads(__tstate
);
40259 if (PyErr_Occurred()) SWIG_fail
;
40261 resultobj
= SWIG_Py_Void();
40268 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40269 PyObject
*resultobj
= 0;
40270 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40271 wxWindow
*arg2
= (wxWindow
*) NULL
;
40277 PyObject
* obj0
= 0 ;
40278 PyObject
* obj1
= 0 ;
40279 char * kwnames
[] = {
40280 (char *) "self",(char *) "window", NULL
40283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40285 if (!SWIG_IsOK(res1
)) {
40286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40288 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40291 if (!SWIG_IsOK(res2
)) {
40292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40311 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40312 PyObject
*resultobj
= 0;
40313 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40317 PyObject
*swig_obj
[1] ;
40319 if (!args
) SWIG_fail
;
40320 swig_obj
[0] = args
;
40321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40322 if (!SWIG_IsOK(res1
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40325 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (bool)(arg1
)->EndContextHelp();
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40341 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40344 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40345 return SWIG_Py_Void();
40348 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40349 return SWIG_Python_InitShadowInstance(args
);
40352 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40353 PyObject
*resultobj
= 0;
40354 wxWindow
*arg1
= (wxWindow
*) 0 ;
40355 int arg2
= (int) wxID_CONTEXT_HELP
;
40356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40360 long arg5
= (long) wxBU_AUTODRAW
;
40361 wxContextHelpButton
*result
= 0 ;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 PyObject
* obj2
= 0 ;
40373 PyObject
* obj3
= 0 ;
40374 PyObject
* obj4
= 0 ;
40375 char * kwnames
[] = {
40376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40381 if (!SWIG_IsOK(res1
)) {
40382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40387 if (!SWIG_IsOK(ecode2
)) {
40388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40390 arg2
= static_cast< int >(val2
);
40395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40405 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40406 if (!SWIG_IsOK(ecode5
)) {
40407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40409 arg5
= static_cast< long >(val5
);
40412 if (!wxPyCheckForApp()) SWIG_fail
;
40413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40414 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40415 wxPyEndAllowThreads(__tstate
);
40416 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40425 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40428 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40429 return SWIG_Py_Void();
40432 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40433 return SWIG_Python_InitShadowInstance(args
);
40436 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40437 PyObject
*resultobj
= 0;
40438 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40441 PyObject
*swig_obj
[1] ;
40443 if (!args
) SWIG_fail
;
40444 swig_obj
[0] = args
;
40445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40446 if (!SWIG_IsOK(res1
)) {
40447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40449 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40457 resultobj
= SWIG_Py_Void();
40464 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40465 PyObject
*resultobj
= 0;
40466 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40467 wxHelpProvider
*result
= 0 ;
40469 PyObject
* obj0
= 0 ;
40470 char * kwnames
[] = {
40471 (char *) "helpProvider", NULL
40474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40475 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40476 if (!SWIG_IsOK(res1
)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40482 wxPyEndAllowThreads(__tstate
);
40483 if (PyErr_Occurred()) SWIG_fail
;
40485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40492 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40493 PyObject
*resultobj
= 0;
40494 wxHelpProvider
*result
= 0 ;
40496 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40500 wxPyEndAllowThreads(__tstate
);
40501 if (PyErr_Occurred()) SWIG_fail
;
40503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40510 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40511 PyObject
*resultobj
= 0;
40512 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40513 wxWindow
*arg2
= (wxWindow
*) 0 ;
40519 PyObject
* obj0
= 0 ;
40520 PyObject
* obj1
= 0 ;
40521 char * kwnames
[] = {
40522 (char *) "self",(char *) "window", NULL
40525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40527 if (!SWIG_IsOK(res1
)) {
40528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40530 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40532 if (!SWIG_IsOK(res2
)) {
40533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40538 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40539 wxPyEndAllowThreads(__tstate
);
40540 if (PyErr_Occurred()) SWIG_fail
;
40544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40555 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40556 PyObject
*resultobj
= 0;
40557 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40558 wxWindow
*arg2
= (wxWindow
*) 0 ;
40564 PyObject
* obj0
= 0 ;
40565 PyObject
* obj1
= 0 ;
40566 char * kwnames
[] = {
40567 (char *) "self",(char *) "window", NULL
40570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40572 if (!SWIG_IsOK(res1
)) {
40573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40575 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40577 if (!SWIG_IsOK(res2
)) {
40578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40583 result
= (bool)(arg1
)->ShowHelp(arg2
);
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40596 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
= 0;
40598 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40599 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40600 wxPoint
*arg3
= 0 ;
40601 wxHelpEvent::Origin arg4
;
40610 PyObject
* obj0
= 0 ;
40611 PyObject
* obj1
= 0 ;
40612 PyObject
* obj2
= 0 ;
40613 PyObject
* obj3
= 0 ;
40614 char * kwnames
[] = {
40615 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40620 if (!SWIG_IsOK(res1
)) {
40621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40623 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40625 if (!SWIG_IsOK(res2
)) {
40626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40628 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40634 if (!SWIG_IsOK(ecode4
)) {
40635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40637 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40640 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40641 wxPyEndAllowThreads(__tstate
);
40642 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40653 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40654 PyObject
*resultobj
= 0;
40655 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40656 wxWindow
*arg2
= (wxWindow
*) 0 ;
40657 wxString
*arg3
= 0 ;
40662 bool temp3
= false ;
40663 PyObject
* obj0
= 0 ;
40664 PyObject
* obj1
= 0 ;
40665 PyObject
* obj2
= 0 ;
40666 char * kwnames
[] = {
40667 (char *) "self",(char *) "window",(char *) "text", NULL
40670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40672 if (!SWIG_IsOK(res1
)) {
40673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40675 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40677 if (!SWIG_IsOK(res2
)) {
40678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40682 arg3
= wxString_in_helper(obj2
);
40683 if (arg3
== NULL
) SWIG_fail
;
40687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40688 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40689 wxPyEndAllowThreads(__tstate
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40692 resultobj
= SWIG_Py_Void();
40707 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40708 PyObject
*resultobj
= 0;
40709 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40711 wxString
*arg3
= 0 ;
40716 bool temp3
= false ;
40717 PyObject
* obj0
= 0 ;
40718 PyObject
* obj1
= 0 ;
40719 PyObject
* obj2
= 0 ;
40720 char * kwnames
[] = {
40721 (char *) "self",(char *) "id",(char *) "text", NULL
40724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40726 if (!SWIG_IsOK(res1
)) {
40727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40729 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40731 if (!SWIG_IsOK(ecode2
)) {
40732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40734 arg2
= static_cast< int >(val2
);
40736 arg3
= wxString_in_helper(obj2
);
40737 if (arg3
== NULL
) SWIG_fail
;
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40743 wxPyEndAllowThreads(__tstate
);
40744 if (PyErr_Occurred()) SWIG_fail
;
40746 resultobj
= SWIG_Py_Void();
40761 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40762 PyObject
*resultobj
= 0;
40763 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40764 wxWindow
*arg2
= (wxWindow
*) 0 ;
40769 PyObject
* obj0
= 0 ;
40770 PyObject
* obj1
= 0 ;
40771 char * kwnames
[] = {
40772 (char *) "self",(char *) "window", NULL
40775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40777 if (!SWIG_IsOK(res1
)) {
40778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40780 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40782 if (!SWIG_IsOK(res2
)) {
40783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40785 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 (arg1
)->RemoveHelp(arg2
);
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= SWIG_Py_Void();
40799 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40800 PyObject
*resultobj
= 0;
40801 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40804 PyObject
*swig_obj
[1] ;
40806 if (!args
) SWIG_fail
;
40807 swig_obj
[0] = args
;
40808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40809 if (!SWIG_IsOK(res1
)) {
40810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40812 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40815 wxHelpProvider_Destroy(arg1
);
40816 wxPyEndAllowThreads(__tstate
);
40817 if (PyErr_Occurred()) SWIG_fail
;
40819 resultobj
= SWIG_Py_Void();
40826 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40829 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40830 return SWIG_Py_Void();
40833 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40834 PyObject
*resultobj
= 0;
40835 wxSimpleHelpProvider
*result
= 0 ;
40837 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40840 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40841 wxPyEndAllowThreads(__tstate
);
40842 if (PyErr_Occurred()) SWIG_fail
;
40844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40851 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40854 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40855 return SWIG_Py_Void();
40858 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40859 return SWIG_Python_InitShadowInstance(args
);
40862 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40863 PyObject
*resultobj
= 0;
40864 wxBitmap
*arg1
= 0 ;
40865 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40866 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40867 wxGenericDragImage
*result
= 0 ;
40872 PyObject
* obj0
= 0 ;
40873 PyObject
* obj1
= 0 ;
40874 char * kwnames
[] = {
40875 (char *) "image",(char *) "cursor", NULL
40878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40879 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40880 if (!SWIG_IsOK(res1
)) {
40881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40886 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40889 if (!SWIG_IsOK(res2
)) {
40890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40895 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40898 if (!wxPyCheckForApp()) SWIG_fail
;
40899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40900 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40901 wxPyEndAllowThreads(__tstate
);
40902 if (PyErr_Occurred()) SWIG_fail
;
40904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40911 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40912 PyObject
*resultobj
= 0;
40914 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40915 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40916 wxGenericDragImage
*result
= 0 ;
40921 PyObject
* obj0
= 0 ;
40922 PyObject
* obj1
= 0 ;
40923 char * kwnames
[] = {
40924 (char *) "image",(char *) "cursor", NULL
40927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40928 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40929 if (!SWIG_IsOK(res1
)) {
40930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40935 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40938 if (!SWIG_IsOK(res2
)) {
40939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40944 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40947 if (!wxPyCheckForApp()) SWIG_fail
;
40948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40949 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40950 wxPyEndAllowThreads(__tstate
);
40951 if (PyErr_Occurred()) SWIG_fail
;
40953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40960 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40961 PyObject
*resultobj
= 0;
40962 wxString
*arg1
= 0 ;
40963 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40964 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40965 wxGenericDragImage
*result
= 0 ;
40966 bool temp1
= false ;
40969 PyObject
* obj0
= 0 ;
40970 PyObject
* obj1
= 0 ;
40971 char * kwnames
[] = {
40972 (char *) "str",(char *) "cursor", NULL
40975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40977 arg1
= wxString_in_helper(obj0
);
40978 if (arg1
== NULL
) SWIG_fail
;
40982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40983 if (!SWIG_IsOK(res2
)) {
40984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40989 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40992 if (!wxPyCheckForApp()) SWIG_fail
;
40993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40995 wxPyEndAllowThreads(__tstate
);
40996 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41013 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41014 PyObject
*resultobj
= 0;
41015 wxPyTreeCtrl
*arg1
= 0 ;
41016 wxTreeItemId
*arg2
= 0 ;
41017 wxGenericDragImage
*result
= 0 ;
41022 PyObject
* obj0
= 0 ;
41023 PyObject
* obj1
= 0 ;
41024 char * kwnames
[] = {
41025 (char *) "treeCtrl",(char *) "id", NULL
41028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41029 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
41030 if (!SWIG_IsOK(res1
)) {
41031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
41037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
41038 if (!SWIG_IsOK(res2
)) {
41039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41044 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
41046 if (!wxPyCheckForApp()) SWIG_fail
;
41047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41048 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
41049 wxPyEndAllowThreads(__tstate
);
41050 if (PyErr_Occurred()) SWIG_fail
;
41052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41059 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41060 PyObject
*resultobj
= 0;
41061 wxPyListCtrl
*arg1
= 0 ;
41063 wxGenericDragImage
*result
= 0 ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 char * kwnames
[] = {
41071 (char *) "listCtrl",(char *) "id", NULL
41074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41075 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41076 if (!SWIG_IsOK(res1
)) {
41077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41082 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41083 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41084 if (!SWIG_IsOK(ecode2
)) {
41085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41087 arg2
= static_cast< long >(val2
);
41089 if (!wxPyCheckForApp()) SWIG_fail
;
41090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41091 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41092 wxPyEndAllowThreads(__tstate
);
41093 if (PyErr_Occurred()) SWIG_fail
;
41095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41102 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41103 PyObject
*resultobj
= 0;
41104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41107 PyObject
*swig_obj
[1] ;
41109 if (!args
) SWIG_fail
;
41110 swig_obj
[0] = args
;
41111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41112 if (!SWIG_IsOK(res1
)) {
41113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41115 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41123 resultobj
= SWIG_Py_Void();
41130 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41131 PyObject
*resultobj
= 0;
41132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41133 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41138 PyObject
* obj0
= 0 ;
41139 PyObject
* obj1
= 0 ;
41140 char * kwnames
[] = {
41141 (char *) "self",(char *) "bitmap", NULL
41144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41146 if (!SWIG_IsOK(res1
)) {
41147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41149 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41151 if (!SWIG_IsOK(res2
)) {
41152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41154 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41157 (arg1
)->SetBackingBitmap(arg2
);
41158 wxPyEndAllowThreads(__tstate
);
41159 if (PyErr_Occurred()) SWIG_fail
;
41161 resultobj
= SWIG_Py_Void();
41168 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
= 0;
41170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41171 wxPoint
*arg2
= 0 ;
41172 wxWindow
*arg3
= (wxWindow
*) 0 ;
41173 bool arg4
= (bool) false ;
41174 wxRect
*arg5
= (wxRect
*) NULL
;
41185 PyObject
* obj0
= 0 ;
41186 PyObject
* obj1
= 0 ;
41187 PyObject
* obj2
= 0 ;
41188 PyObject
* obj3
= 0 ;
41189 PyObject
* obj4
= 0 ;
41190 char * kwnames
[] = {
41191 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41196 if (!SWIG_IsOK(res1
)) {
41197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41199 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41204 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41205 if (!SWIG_IsOK(res3
)) {
41206 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41208 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41210 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41211 if (!SWIG_IsOK(ecode4
)) {
41212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41214 arg4
= static_cast< bool >(val4
);
41217 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41218 if (!SWIG_IsOK(res5
)) {
41219 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41221 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41225 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41226 wxPyEndAllowThreads(__tstate
);
41227 if (PyErr_Occurred()) SWIG_fail
;
41230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41238 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
= 0;
41240 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41241 wxPoint
*arg2
= 0 ;
41242 wxWindow
*arg3
= (wxWindow
*) 0 ;
41243 wxWindow
*arg4
= (wxWindow
*) 0 ;
41252 PyObject
* obj0
= 0 ;
41253 PyObject
* obj1
= 0 ;
41254 PyObject
* obj2
= 0 ;
41255 PyObject
* obj3
= 0 ;
41256 char * kwnames
[] = {
41257 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41262 if (!SWIG_IsOK(res1
)) {
41263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41265 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41270 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41271 if (!SWIG_IsOK(res3
)) {
41272 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41274 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41275 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41276 if (!SWIG_IsOK(res4
)) {
41277 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41279 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41283 wxPyEndAllowThreads(__tstate
);
41284 if (PyErr_Occurred()) SWIG_fail
;
41287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41295 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41296 PyObject
*resultobj
= 0;
41297 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41301 PyObject
*swig_obj
[1] ;
41303 if (!args
) SWIG_fail
;
41304 swig_obj
[0] = args
;
41305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41306 if (!SWIG_IsOK(res1
)) {
41307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41309 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 result
= (bool)(arg1
)->EndDrag();
41313 wxPyEndAllowThreads(__tstate
);
41314 if (PyErr_Occurred()) SWIG_fail
;
41317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41325 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41326 PyObject
*resultobj
= 0;
41327 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41328 wxPoint
*arg2
= 0 ;
41333 PyObject
* obj0
= 0 ;
41334 PyObject
* obj1
= 0 ;
41335 char * kwnames
[] = {
41336 (char *) "self",(char *) "pt", NULL
41339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41341 if (!SWIG_IsOK(res1
)) {
41342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41344 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41351 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41352 wxPyEndAllowThreads(__tstate
);
41353 if (PyErr_Occurred()) SWIG_fail
;
41356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41364 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41365 PyObject
*resultobj
= 0;
41366 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41370 PyObject
*swig_obj
[1] ;
41372 if (!args
) SWIG_fail
;
41373 swig_obj
[0] = args
;
41374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41375 if (!SWIG_IsOK(res1
)) {
41376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41378 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41381 result
= (bool)(arg1
)->Show();
41382 wxPyEndAllowThreads(__tstate
);
41383 if (PyErr_Occurred()) SWIG_fail
;
41386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41394 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41395 PyObject
*resultobj
= 0;
41396 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41400 PyObject
*swig_obj
[1] ;
41402 if (!args
) SWIG_fail
;
41403 swig_obj
[0] = args
;
41404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41405 if (!SWIG_IsOK(res1
)) {
41406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41408 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41411 result
= (bool)(arg1
)->Hide();
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41424 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41425 PyObject
*resultobj
= 0;
41426 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41427 wxPoint
*arg2
= 0 ;
41432 PyObject
* obj0
= 0 ;
41433 PyObject
* obj1
= 0 ;
41434 char * kwnames
[] = {
41435 (char *) "self",(char *) "pos", NULL
41438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41440 if (!SWIG_IsOK(res1
)) {
41441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41443 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41450 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41451 wxPyEndAllowThreads(__tstate
);
41452 if (PyErr_Occurred()) SWIG_fail
;
41454 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41461 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41462 PyObject
*resultobj
= 0;
41463 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41465 wxPoint
*arg3
= 0 ;
41472 PyObject
* obj0
= 0 ;
41473 PyObject
* obj1
= 0 ;
41474 PyObject
* obj2
= 0 ;
41475 char * kwnames
[] = {
41476 (char *) "self",(char *) "dc",(char *) "pos", NULL
41479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41481 if (!SWIG_IsOK(res1
)) {
41482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41484 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41486 if (!SWIG_IsOK(res2
)) {
41487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41492 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41499 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41512 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41513 PyObject
*resultobj
= 0;
41514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41516 wxMemoryDC
*arg3
= 0 ;
41528 PyObject
* obj0
= 0 ;
41529 PyObject
* obj1
= 0 ;
41530 PyObject
* obj2
= 0 ;
41531 PyObject
* obj3
= 0 ;
41532 PyObject
* obj4
= 0 ;
41533 char * kwnames
[] = {
41534 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41539 if (!SWIG_IsOK(res1
)) {
41540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41542 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41544 if (!SWIG_IsOK(res2
)) {
41545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41550 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41551 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41552 if (!SWIG_IsOK(res3
)) {
41553 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41558 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41561 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41565 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41569 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41582 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41583 PyObject
*resultobj
= 0;
41584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41585 wxPoint
*arg2
= 0 ;
41586 wxPoint
*arg3
= 0 ;
41598 PyObject
* obj0
= 0 ;
41599 PyObject
* obj1
= 0 ;
41600 PyObject
* obj2
= 0 ;
41601 PyObject
* obj3
= 0 ;
41602 PyObject
* obj4
= 0 ;
41603 char * kwnames
[] = {
41604 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41609 if (!SWIG_IsOK(res1
)) {
41610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41612 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41621 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41622 if (!SWIG_IsOK(ecode4
)) {
41623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41625 arg4
= static_cast< bool >(val4
);
41626 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41627 if (!SWIG_IsOK(ecode5
)) {
41628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41630 arg5
= static_cast< bool >(val5
);
41632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41633 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41646 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41649 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41650 return SWIG_Py_Void();
41653 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41654 return SWIG_Python_InitShadowInstance(args
);
41657 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41658 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41663 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41664 PyObject
*pyobj
= 0;
41668 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41670 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41677 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41678 PyObject
*resultobj
= 0;
41679 wxWindow
*arg1
= (wxWindow
*) 0 ;
41680 int arg2
= (int) -1 ;
41681 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41682 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41687 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41690 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41692 wxDatePickerCtrl
*result
= 0 ;
41705 bool temp8
= false ;
41706 PyObject
* obj0
= 0 ;
41707 PyObject
* obj1
= 0 ;
41708 PyObject
* obj2
= 0 ;
41709 PyObject
* obj3
= 0 ;
41710 PyObject
* obj4
= 0 ;
41711 PyObject
* obj5
= 0 ;
41712 PyObject
* obj6
= 0 ;
41713 PyObject
* obj7
= 0 ;
41714 char * kwnames
[] = {
41715 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41720 if (!SWIG_IsOK(res1
)) {
41721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41726 if (!SWIG_IsOK(ecode2
)) {
41727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41729 arg2
= static_cast< int >(val2
);
41732 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41733 if (!SWIG_IsOK(res3
)) {
41734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41739 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41754 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41755 if (!SWIG_IsOK(ecode6
)) {
41756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41758 arg6
= static_cast< long >(val6
);
41761 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41762 if (!SWIG_IsOK(res7
)) {
41763 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41768 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41772 arg8
= wxString_in_helper(obj7
);
41773 if (arg8
== NULL
) SWIG_fail
;
41778 if (!wxPyCheckForApp()) SWIG_fail
;
41779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41780 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41781 wxPyEndAllowThreads(__tstate
);
41782 if (PyErr_Occurred()) SWIG_fail
;
41784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41799 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41800 PyObject
*resultobj
= 0;
41801 wxDatePickerCtrl
*result
= 0 ;
41803 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41805 if (!wxPyCheckForApp()) SWIG_fail
;
41806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41807 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41808 wxPyEndAllowThreads(__tstate
);
41809 if (PyErr_Occurred()) SWIG_fail
;
41811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41818 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41819 PyObject
*resultobj
= 0;
41820 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41821 wxWindow
*arg2
= (wxWindow
*) 0 ;
41822 int arg3
= (int) -1 ;
41823 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41824 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41825 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41826 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41827 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41828 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41829 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41830 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41831 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41832 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41833 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41849 bool temp9
= false ;
41850 PyObject
* obj0
= 0 ;
41851 PyObject
* obj1
= 0 ;
41852 PyObject
* obj2
= 0 ;
41853 PyObject
* obj3
= 0 ;
41854 PyObject
* obj4
= 0 ;
41855 PyObject
* obj5
= 0 ;
41856 PyObject
* obj6
= 0 ;
41857 PyObject
* obj7
= 0 ;
41858 PyObject
* obj8
= 0 ;
41859 char * kwnames
[] = {
41860 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41865 if (!SWIG_IsOK(res1
)) {
41866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41868 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41870 if (!SWIG_IsOK(res2
)) {
41871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41873 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41876 if (!SWIG_IsOK(ecode3
)) {
41877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41879 arg3
= static_cast< int >(val3
);
41882 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41883 if (!SWIG_IsOK(res4
)) {
41884 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41889 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41894 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41900 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41904 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41905 if (!SWIG_IsOK(ecode7
)) {
41906 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41908 arg7
= static_cast< long >(val7
);
41911 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41912 if (!SWIG_IsOK(res8
)) {
41913 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41918 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41922 arg9
= wxString_in_helper(obj8
);
41923 if (arg9
== NULL
) SWIG_fail
;
41928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41930 wxPyEndAllowThreads(__tstate
);
41931 if (PyErr_Occurred()) SWIG_fail
;
41934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41950 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41951 PyObject
*resultobj
= 0;
41952 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41953 wxDateTime
*arg2
= 0 ;
41958 PyObject
* obj0
= 0 ;
41959 PyObject
* obj1
= 0 ;
41960 char * kwnames
[] = {
41961 (char *) "self",(char *) "dt", NULL
41964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41966 if (!SWIG_IsOK(res1
)) {
41967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41969 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41971 if (!SWIG_IsOK(res2
)) {
41972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41977 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41980 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41981 wxPyEndAllowThreads(__tstate
);
41982 if (PyErr_Occurred()) SWIG_fail
;
41984 resultobj
= SWIG_Py_Void();
41991 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41992 PyObject
*resultobj
= 0;
41993 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41997 PyObject
*swig_obj
[1] ;
41999 if (!args
) SWIG_fail
;
42000 swig_obj
[0] = args
;
42001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42002 if (!SWIG_IsOK(res1
)) {
42003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
42005 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42008 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
42009 wxPyEndAllowThreads(__tstate
);
42010 if (PyErr_Occurred()) SWIG_fail
;
42012 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42019 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42020 PyObject
*resultobj
= 0;
42021 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42022 wxDateTime
*arg2
= 0 ;
42023 wxDateTime
*arg3
= 0 ;
42030 PyObject
* obj0
= 0 ;
42031 PyObject
* obj1
= 0 ;
42032 PyObject
* obj2
= 0 ;
42033 char * kwnames
[] = {
42034 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
42037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42039 if (!SWIG_IsOK(res1
)) {
42040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42042 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42044 if (!SWIG_IsOK(res2
)) {
42045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42050 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42051 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42052 if (!SWIG_IsOK(res3
)) {
42053 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42058 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
42060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42061 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
42062 wxPyEndAllowThreads(__tstate
);
42063 if (PyErr_Occurred()) SWIG_fail
;
42065 resultobj
= SWIG_Py_Void();
42072 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42073 PyObject
*resultobj
= 0;
42074 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42078 PyObject
*swig_obj
[1] ;
42080 if (!args
) SWIG_fail
;
42081 swig_obj
[0] = args
;
42082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42083 if (!SWIG_IsOK(res1
)) {
42084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42086 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42090 wxPyEndAllowThreads(__tstate
);
42091 if (PyErr_Occurred()) SWIG_fail
;
42093 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42100 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42101 PyObject
*resultobj
= 0;
42102 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42106 PyObject
*swig_obj
[1] ;
42108 if (!args
) SWIG_fail
;
42109 swig_obj
[0] = args
;
42110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42111 if (!SWIG_IsOK(res1
)) {
42112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42114 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42117 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42118 wxPyEndAllowThreads(__tstate
);
42119 if (PyErr_Occurred()) SWIG_fail
;
42121 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42128 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42131 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42132 return SWIG_Py_Void();
42135 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42136 return SWIG_Python_InitShadowInstance(args
);
42139 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42140 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42145 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42146 PyObject
*pyobj
= 0;
42150 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42152 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42159 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42160 PyObject
*resultobj
= 0;
42161 wxWindow
*arg1
= (wxWindow
*) 0 ;
42163 wxString
*arg3
= 0 ;
42164 wxString
*arg4
= 0 ;
42165 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42166 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42167 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42168 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42169 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42170 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42171 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42172 wxHyperlinkCtrl
*result
= 0 ;
42177 bool temp3
= false ;
42178 bool temp4
= false ;
42183 bool temp8
= false ;
42184 PyObject
* obj0
= 0 ;
42185 PyObject
* obj1
= 0 ;
42186 PyObject
* obj2
= 0 ;
42187 PyObject
* obj3
= 0 ;
42188 PyObject
* obj4
= 0 ;
42189 PyObject
* obj5
= 0 ;
42190 PyObject
* obj6
= 0 ;
42191 PyObject
* obj7
= 0 ;
42192 char * kwnames
[] = {
42193 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42198 if (!SWIG_IsOK(res1
)) {
42199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42203 if (!SWIG_IsOK(ecode2
)) {
42204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42206 arg2
= static_cast< int >(val2
);
42208 arg3
= wxString_in_helper(obj2
);
42209 if (arg3
== NULL
) SWIG_fail
;
42213 arg4
= wxString_in_helper(obj3
);
42214 if (arg4
== NULL
) SWIG_fail
;
42220 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42226 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42231 if (!SWIG_IsOK(ecode7
)) {
42232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42234 arg7
= static_cast< long >(val7
);
42238 arg8
= wxString_in_helper(obj7
);
42239 if (arg8
== NULL
) SWIG_fail
;
42244 if (!wxPyCheckForApp()) SWIG_fail
;
42245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42246 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42247 wxPyEndAllowThreads(__tstate
);
42248 if (PyErr_Occurred()) SWIG_fail
;
42250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42281 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42282 PyObject
*resultobj
= 0;
42283 wxHyperlinkCtrl
*result
= 0 ;
42285 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42287 if (!wxPyCheckForApp()) SWIG_fail
;
42288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42289 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42290 wxPyEndAllowThreads(__tstate
);
42291 if (PyErr_Occurred()) SWIG_fail
;
42293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42300 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42301 PyObject
*resultobj
= 0;
42302 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42303 wxWindow
*arg2
= (wxWindow
*) 0 ;
42305 wxString
*arg4
= 0 ;
42306 wxString
*arg5
= 0 ;
42307 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42308 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42309 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42310 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42311 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42312 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42313 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42321 bool temp4
= false ;
42322 bool temp5
= false ;
42327 bool temp9
= false ;
42328 PyObject
* obj0
= 0 ;
42329 PyObject
* obj1
= 0 ;
42330 PyObject
* obj2
= 0 ;
42331 PyObject
* obj3
= 0 ;
42332 PyObject
* obj4
= 0 ;
42333 PyObject
* obj5
= 0 ;
42334 PyObject
* obj6
= 0 ;
42335 PyObject
* obj7
= 0 ;
42336 PyObject
* obj8
= 0 ;
42337 char * kwnames
[] = {
42338 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42343 if (!SWIG_IsOK(res1
)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42346 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42348 if (!SWIG_IsOK(res2
)) {
42349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42353 if (!SWIG_IsOK(ecode3
)) {
42354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42356 arg3
= static_cast< int >(val3
);
42358 arg4
= wxString_in_helper(obj3
);
42359 if (arg4
== NULL
) SWIG_fail
;
42363 arg5
= wxString_in_helper(obj4
);
42364 if (arg5
== NULL
) SWIG_fail
;
42370 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42376 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42380 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42381 if (!SWIG_IsOK(ecode8
)) {
42382 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42384 arg8
= static_cast< long >(val8
);
42388 arg9
= wxString_in_helper(obj8
);
42389 if (arg9
== NULL
) SWIG_fail
;
42394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42396 wxPyEndAllowThreads(__tstate
);
42397 if (PyErr_Occurred()) SWIG_fail
;
42400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42432 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42433 PyObject
*resultobj
= 0;
42434 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42438 PyObject
*swig_obj
[1] ;
42440 if (!args
) SWIG_fail
;
42441 swig_obj
[0] = args
;
42442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42443 if (!SWIG_IsOK(res1
)) {
42444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42446 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42449 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42450 wxPyEndAllowThreads(__tstate
);
42451 if (PyErr_Occurred()) SWIG_fail
;
42453 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42460 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42461 PyObject
*resultobj
= 0;
42462 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42463 wxColour
*arg2
= 0 ;
42467 PyObject
* obj0
= 0 ;
42468 PyObject
* obj1
= 0 ;
42469 char * kwnames
[] = {
42470 (char *) "self",(char *) "colour", NULL
42473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42475 if (!SWIG_IsOK(res1
)) {
42476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42478 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42485 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42486 wxPyEndAllowThreads(__tstate
);
42487 if (PyErr_Occurred()) SWIG_fail
;
42489 resultobj
= SWIG_Py_Void();
42496 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42497 PyObject
*resultobj
= 0;
42498 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42502 PyObject
*swig_obj
[1] ;
42504 if (!args
) SWIG_fail
;
42505 swig_obj
[0] = args
;
42506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42507 if (!SWIG_IsOK(res1
)) {
42508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42510 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42513 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42514 wxPyEndAllowThreads(__tstate
);
42515 if (PyErr_Occurred()) SWIG_fail
;
42517 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42524 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42525 PyObject
*resultobj
= 0;
42526 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42527 wxColour
*arg2
= 0 ;
42531 PyObject
* obj0
= 0 ;
42532 PyObject
* obj1
= 0 ;
42533 char * kwnames
[] = {
42534 (char *) "self",(char *) "colour", NULL
42537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42539 if (!SWIG_IsOK(res1
)) {
42540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42542 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42549 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42550 wxPyEndAllowThreads(__tstate
);
42551 if (PyErr_Occurred()) SWIG_fail
;
42553 resultobj
= SWIG_Py_Void();
42560 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42561 PyObject
*resultobj
= 0;
42562 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42566 PyObject
*swig_obj
[1] ;
42568 if (!args
) SWIG_fail
;
42569 swig_obj
[0] = args
;
42570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42571 if (!SWIG_IsOK(res1
)) {
42572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42574 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42577 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42578 wxPyEndAllowThreads(__tstate
);
42579 if (PyErr_Occurred()) SWIG_fail
;
42581 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42588 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42589 PyObject
*resultobj
= 0;
42590 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42591 wxColour
*arg2
= 0 ;
42595 PyObject
* obj0
= 0 ;
42596 PyObject
* obj1
= 0 ;
42597 char * kwnames
[] = {
42598 (char *) "self",(char *) "colour", NULL
42601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42603 if (!SWIG_IsOK(res1
)) {
42604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42606 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42613 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42614 wxPyEndAllowThreads(__tstate
);
42615 if (PyErr_Occurred()) SWIG_fail
;
42617 resultobj
= SWIG_Py_Void();
42624 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42625 PyObject
*resultobj
= 0;
42626 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42630 PyObject
*swig_obj
[1] ;
42632 if (!args
) SWIG_fail
;
42633 swig_obj
[0] = args
;
42634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42635 if (!SWIG_IsOK(res1
)) {
42636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42638 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42641 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42642 wxPyEndAllowThreads(__tstate
);
42643 if (PyErr_Occurred()) SWIG_fail
;
42647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42658 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42659 PyObject
*resultobj
= 0;
42660 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42661 wxString
*arg2
= 0 ;
42664 bool temp2
= false ;
42665 PyObject
* obj0
= 0 ;
42666 PyObject
* obj1
= 0 ;
42667 char * kwnames
[] = {
42668 (char *) "self",(char *) "url", NULL
42671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42673 if (!SWIG_IsOK(res1
)) {
42674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42676 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42678 arg2
= wxString_in_helper(obj1
);
42679 if (arg2
== NULL
) SWIG_fail
;
42683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42684 (arg1
)->SetURL((wxString
const &)*arg2
);
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42688 resultobj
= SWIG_Py_Void();
42703 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42704 PyObject
*resultobj
= 0;
42705 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42706 bool arg2
= (bool) true ;
42711 PyObject
* obj0
= 0 ;
42712 PyObject
* obj1
= 0 ;
42713 char * kwnames
[] = {
42714 (char *) "self",(char *) "visited", NULL
42717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42719 if (!SWIG_IsOK(res1
)) {
42720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42722 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42725 if (!SWIG_IsOK(ecode2
)) {
42726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42728 arg2
= static_cast< bool >(val2
);
42731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42732 (arg1
)->SetVisited(arg2
);
42733 wxPyEndAllowThreads(__tstate
);
42734 if (PyErr_Occurred()) SWIG_fail
;
42736 resultobj
= SWIG_Py_Void();
42743 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42744 PyObject
*resultobj
= 0;
42745 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42749 PyObject
*swig_obj
[1] ;
42751 if (!args
) SWIG_fail
;
42752 swig_obj
[0] = args
;
42753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42754 if (!SWIG_IsOK(res1
)) {
42755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42757 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42760 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42761 wxPyEndAllowThreads(__tstate
);
42762 if (PyErr_Occurred()) SWIG_fail
;
42765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42773 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42776 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42777 return SWIG_Py_Void();
42780 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42781 return SWIG_Python_InitShadowInstance(args
);
42784 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42785 PyObject
*resultobj
= 0;
42786 wxObject
*arg1
= (wxObject
*) 0 ;
42788 wxString
*arg3
= 0 ;
42789 wxHyperlinkEvent
*result
= 0 ;
42794 bool temp3
= false ;
42795 PyObject
* obj0
= 0 ;
42796 PyObject
* obj1
= 0 ;
42797 PyObject
* obj2
= 0 ;
42798 char * kwnames
[] = {
42799 (char *) "generator",(char *) "id",(char *) "url", NULL
42802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42804 if (!SWIG_IsOK(res1
)) {
42805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42807 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42809 if (!SWIG_IsOK(ecode2
)) {
42810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42812 arg2
= static_cast< int >(val2
);
42814 arg3
= wxString_in_helper(obj2
);
42815 if (arg3
== NULL
) SWIG_fail
;
42819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42820 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42821 wxPyEndAllowThreads(__tstate
);
42822 if (PyErr_Occurred()) SWIG_fail
;
42824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42839 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42840 PyObject
*resultobj
= 0;
42841 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42845 PyObject
*swig_obj
[1] ;
42847 if (!args
) SWIG_fail
;
42848 swig_obj
[0] = args
;
42849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42850 if (!SWIG_IsOK(res1
)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42853 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42873 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42874 PyObject
*resultobj
= 0;
42875 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42876 wxString
*arg2
= 0 ;
42879 bool temp2
= false ;
42880 PyObject
* obj0
= 0 ;
42881 PyObject
* obj1
= 0 ;
42882 char * kwnames
[] = {
42883 (char *) "self",(char *) "url", NULL
42886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42888 if (!SWIG_IsOK(res1
)) {
42889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42891 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42893 arg2
= wxString_in_helper(obj1
);
42894 if (arg2
== NULL
) SWIG_fail
;
42898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42899 (arg1
)->SetURL((wxString
const &)*arg2
);
42900 wxPyEndAllowThreads(__tstate
);
42901 if (PyErr_Occurred()) SWIG_fail
;
42903 resultobj
= SWIG_Py_Void();
42918 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42921 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42922 return SWIG_Py_Void();
42925 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42926 return SWIG_Python_InitShadowInstance(args
);
42929 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42930 PyObject
*resultobj
= 0;
42931 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42932 wxWindow
*arg2
= (wxWindow
*) 0 ;
42934 wxString
const &arg4_defvalue
= wxEmptyString
;
42935 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42940 long arg7
= (long) 0 ;
42941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42943 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42952 bool temp4
= false ;
42959 bool temp9
= false ;
42960 PyObject
* obj0
= 0 ;
42961 PyObject
* obj1
= 0 ;
42962 PyObject
* obj2
= 0 ;
42963 PyObject
* obj3
= 0 ;
42964 PyObject
* obj4
= 0 ;
42965 PyObject
* obj5
= 0 ;
42966 PyObject
* obj6
= 0 ;
42967 PyObject
* obj7
= 0 ;
42968 PyObject
* obj8
= 0 ;
42969 char * kwnames
[] = {
42970 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42975 if (!SWIG_IsOK(res1
)) {
42976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42978 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42980 if (!SWIG_IsOK(res2
)) {
42981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42985 if (!SWIG_IsOK(ecode3
)) {
42986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42988 arg3
= static_cast< int >(val3
);
42991 arg4
= wxString_in_helper(obj3
);
42992 if (arg4
== NULL
) SWIG_fail
;
42999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43009 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43010 if (!SWIG_IsOK(ecode7
)) {
43011 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
43013 arg7
= static_cast< long >(val7
);
43016 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43017 if (!SWIG_IsOK(res8
)) {
43018 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43023 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43027 arg9
= wxString_in_helper(obj8
);
43028 if (arg9
== NULL
) SWIG_fail
;
43033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43034 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43035 wxPyEndAllowThreads(__tstate
);
43036 if (PyErr_Occurred()) SWIG_fail
;
43039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43063 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43064 PyObject
*resultobj
= 0;
43065 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43071 PyObject
* obj0
= 0 ;
43072 PyObject
* obj1
= 0 ;
43073 char * kwnames
[] = {
43074 (char *) "self",(char *) "newmargin", NULL
43077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43079 if (!SWIG_IsOK(res1
)) {
43080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43082 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43084 if (!SWIG_IsOK(ecode2
)) {
43085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43087 arg2
= static_cast< int >(val2
);
43089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43090 (arg1
)->SetInternalMargin(arg2
);
43091 wxPyEndAllowThreads(__tstate
);
43092 if (PyErr_Occurred()) SWIG_fail
;
43094 resultobj
= SWIG_Py_Void();
43101 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43102 PyObject
*resultobj
= 0;
43103 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43107 PyObject
*swig_obj
[1] ;
43109 if (!args
) SWIG_fail
;
43110 swig_obj
[0] = args
;
43111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43112 if (!SWIG_IsOK(res1
)) {
43113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43115 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43118 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43119 wxPyEndAllowThreads(__tstate
);
43120 if (PyErr_Occurred()) SWIG_fail
;
43122 resultobj
= SWIG_From_int(static_cast< int >(result
));
43129 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43130 PyObject
*resultobj
= 0;
43131 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43137 PyObject
* obj0
= 0 ;
43138 PyObject
* obj1
= 0 ;
43139 char * kwnames
[] = {
43140 (char *) "self",(char *) "prop", NULL
43143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43145 if (!SWIG_IsOK(res1
)) {
43146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43148 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43150 if (!SWIG_IsOK(ecode2
)) {
43151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43153 arg2
= static_cast< int >(val2
);
43155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43156 (arg1
)->SetTextCtrlProportion(arg2
);
43157 wxPyEndAllowThreads(__tstate
);
43158 if (PyErr_Occurred()) SWIG_fail
;
43160 resultobj
= SWIG_Py_Void();
43167 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43168 PyObject
*resultobj
= 0;
43169 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43173 PyObject
*swig_obj
[1] ;
43175 if (!args
) SWIG_fail
;
43176 swig_obj
[0] = args
;
43177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43178 if (!SWIG_IsOK(res1
)) {
43179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43181 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43184 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43185 wxPyEndAllowThreads(__tstate
);
43186 if (PyErr_Occurred()) SWIG_fail
;
43188 resultobj
= SWIG_From_int(static_cast< int >(result
));
43195 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43196 PyObject
*resultobj
= 0;
43197 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43203 PyObject
* obj0
= 0 ;
43204 PyObject
* obj1
= 0 ;
43205 char * kwnames
[] = {
43206 (char *) "self",(char *) "prop", NULL
43209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",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_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43214 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43216 if (!SWIG_IsOK(ecode2
)) {
43217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43219 arg2
= static_cast< int >(val2
);
43221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43222 (arg1
)->SetPickerCtrlProportion(arg2
);
43223 wxPyEndAllowThreads(__tstate
);
43224 if (PyErr_Occurred()) SWIG_fail
;
43226 resultobj
= SWIG_Py_Void();
43233 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43234 PyObject
*resultobj
= 0;
43235 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43239 PyObject
*swig_obj
[1] ;
43241 if (!args
) SWIG_fail
;
43242 swig_obj
[0] = args
;
43243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43244 if (!SWIG_IsOK(res1
)) {
43245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43247 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43250 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43251 wxPyEndAllowThreads(__tstate
);
43252 if (PyErr_Occurred()) SWIG_fail
;
43254 resultobj
= SWIG_From_int(static_cast< int >(result
));
43261 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43262 PyObject
*resultobj
= 0;
43263 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43267 PyObject
*swig_obj
[1] ;
43269 if (!args
) SWIG_fail
;
43270 swig_obj
[0] = args
;
43271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43272 if (!SWIG_IsOK(res1
)) {
43273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43275 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43278 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43279 wxPyEndAllowThreads(__tstate
);
43280 if (PyErr_Occurred()) SWIG_fail
;
43283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43291 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43292 PyObject
*resultobj
= 0;
43293 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43294 bool arg2
= (bool) true ;
43299 PyObject
* obj0
= 0 ;
43300 PyObject
* obj1
= 0 ;
43301 char * kwnames
[] = {
43302 (char *) "self",(char *) "grow", NULL
43305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43307 if (!SWIG_IsOK(res1
)) {
43308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43310 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43312 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43313 if (!SWIG_IsOK(ecode2
)) {
43314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43316 arg2
= static_cast< bool >(val2
);
43319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43320 (arg1
)->SetTextCtrlGrowable(arg2
);
43321 wxPyEndAllowThreads(__tstate
);
43322 if (PyErr_Occurred()) SWIG_fail
;
43324 resultobj
= SWIG_Py_Void();
43331 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43332 PyObject
*resultobj
= 0;
43333 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43337 PyObject
*swig_obj
[1] ;
43339 if (!args
) SWIG_fail
;
43340 swig_obj
[0] = args
;
43341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43342 if (!SWIG_IsOK(res1
)) {
43343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43345 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43348 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43361 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43362 PyObject
*resultobj
= 0;
43363 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43364 bool arg2
= (bool) true ;
43369 PyObject
* obj0
= 0 ;
43370 PyObject
* obj1
= 0 ;
43371 char * kwnames
[] = {
43372 (char *) "self",(char *) "grow", NULL
43375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43377 if (!SWIG_IsOK(res1
)) {
43378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43380 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43383 if (!SWIG_IsOK(ecode2
)) {
43384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43386 arg2
= static_cast< bool >(val2
);
43389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43390 (arg1
)->SetPickerCtrlGrowable(arg2
);
43391 wxPyEndAllowThreads(__tstate
);
43392 if (PyErr_Occurred()) SWIG_fail
;
43394 resultobj
= SWIG_Py_Void();
43401 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43402 PyObject
*resultobj
= 0;
43403 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43407 PyObject
*swig_obj
[1] ;
43409 if (!args
) SWIG_fail
;
43410 swig_obj
[0] = args
;
43411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43412 if (!SWIG_IsOK(res1
)) {
43413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43415 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43418 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43419 wxPyEndAllowThreads(__tstate
);
43420 if (PyErr_Occurred()) SWIG_fail
;
43423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43431 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43432 PyObject
*resultobj
= 0;
43433 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43434 wxTextCtrl
*result
= 0 ;
43437 PyObject
*swig_obj
[1] ;
43439 if (!args
) SWIG_fail
;
43440 swig_obj
[0] = args
;
43441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43442 if (!SWIG_IsOK(res1
)) {
43443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43445 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43448 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43449 wxPyEndAllowThreads(__tstate
);
43450 if (PyErr_Occurred()) SWIG_fail
;
43453 resultobj
= wxPyMake_wxObject(result
, 0);
43461 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43462 PyObject
*resultobj
= 0;
43463 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43464 wxControl
*result
= 0 ;
43467 PyObject
*swig_obj
[1] ;
43469 if (!args
) SWIG_fail
;
43470 swig_obj
[0] = args
;
43471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43472 if (!SWIG_IsOK(res1
)) {
43473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43475 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43478 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43479 wxPyEndAllowThreads(__tstate
);
43480 if (PyErr_Occurred()) SWIG_fail
;
43483 resultobj
= wxPyMake_wxObject(result
, 0);
43491 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43495 return SWIG_Py_Void();
43498 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43499 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43504 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43505 PyObject
*pyobj
= 0;
43509 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43511 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43518 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43519 PyObject
*resultobj
= 0;
43520 wxWindow
*arg1
= (wxWindow
*) 0 ;
43521 int arg2
= (int) -1 ;
43522 wxColour
const &arg3_defvalue
= *wxBLACK
;
43523 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43528 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43531 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43533 wxColourPickerCtrl
*result
= 0 ;
43545 bool temp8
= false ;
43546 PyObject
* obj0
= 0 ;
43547 PyObject
* obj1
= 0 ;
43548 PyObject
* obj2
= 0 ;
43549 PyObject
* obj3
= 0 ;
43550 PyObject
* obj4
= 0 ;
43551 PyObject
* obj5
= 0 ;
43552 PyObject
* obj6
= 0 ;
43553 PyObject
* obj7
= 0 ;
43554 char * kwnames
[] = {
43555 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43560 if (!SWIG_IsOK(res1
)) {
43561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43566 if (!SWIG_IsOK(ecode2
)) {
43567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43569 arg2
= static_cast< int >(val2
);
43574 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43590 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43591 if (!SWIG_IsOK(ecode6
)) {
43592 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43594 arg6
= static_cast< long >(val6
);
43597 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43598 if (!SWIG_IsOK(res7
)) {
43599 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43604 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43608 arg8
= wxString_in_helper(obj7
);
43609 if (arg8
== NULL
) SWIG_fail
;
43614 if (!wxPyCheckForApp()) SWIG_fail
;
43615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43616 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43617 wxPyEndAllowThreads(__tstate
);
43618 if (PyErr_Occurred()) SWIG_fail
;
43620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43635 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43636 PyObject
*resultobj
= 0;
43637 wxColourPickerCtrl
*result
= 0 ;
43639 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43641 if (!wxPyCheckForApp()) SWIG_fail
;
43642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43643 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43644 wxPyEndAllowThreads(__tstate
);
43645 if (PyErr_Occurred()) SWIG_fail
;
43647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43654 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43655 PyObject
*resultobj
= 0;
43656 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43657 wxWindow
*arg2
= (wxWindow
*) 0 ;
43659 wxColour
const &arg4_defvalue
= *wxBLACK
;
43660 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43665 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43666 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43667 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43668 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43669 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43684 bool temp9
= false ;
43685 PyObject
* obj0
= 0 ;
43686 PyObject
* obj1
= 0 ;
43687 PyObject
* obj2
= 0 ;
43688 PyObject
* obj3
= 0 ;
43689 PyObject
* obj4
= 0 ;
43690 PyObject
* obj5
= 0 ;
43691 PyObject
* obj6
= 0 ;
43692 PyObject
* obj7
= 0 ;
43693 PyObject
* obj8
= 0 ;
43694 char * kwnames
[] = {
43695 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43700 if (!SWIG_IsOK(res1
)) {
43701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43703 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43705 if (!SWIG_IsOK(res2
)) {
43706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43710 if (!SWIG_IsOK(ecode3
)) {
43711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43713 arg3
= static_cast< int >(val3
);
43717 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43723 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43729 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43733 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43734 if (!SWIG_IsOK(ecode7
)) {
43735 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43737 arg7
= static_cast< long >(val7
);
43740 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43741 if (!SWIG_IsOK(res8
)) {
43742 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43747 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43751 arg9
= wxString_in_helper(obj8
);
43752 if (arg9
== NULL
) SWIG_fail
;
43757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43759 wxPyEndAllowThreads(__tstate
);
43760 if (PyErr_Occurred()) SWIG_fail
;
43763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43779 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43780 PyObject
*resultobj
= 0;
43781 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43785 PyObject
*swig_obj
[1] ;
43787 if (!args
) SWIG_fail
;
43788 swig_obj
[0] = args
;
43789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43790 if (!SWIG_IsOK(res1
)) {
43791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43793 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43796 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43797 wxPyEndAllowThreads(__tstate
);
43798 if (PyErr_Occurred()) SWIG_fail
;
43800 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43807 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43808 PyObject
*resultobj
= 0;
43809 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43810 wxColour
*arg2
= 0 ;
43814 PyObject
* obj0
= 0 ;
43815 PyObject
* obj1
= 0 ;
43816 char * kwnames
[] = {
43817 (char *) "self",(char *) "col", NULL
43820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43822 if (!SWIG_IsOK(res1
)) {
43823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43825 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43832 (arg1
)->SetColour((wxColour
const &)*arg2
);
43833 wxPyEndAllowThreads(__tstate
);
43834 if (PyErr_Occurred()) SWIG_fail
;
43836 resultobj
= SWIG_Py_Void();
43843 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43846 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43847 return SWIG_Py_Void();
43850 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43851 return SWIG_Python_InitShadowInstance(args
);
43854 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43855 PyObject
*resultobj
= 0;
43856 wxObject
*arg1
= (wxObject
*) 0 ;
43858 wxColour
*arg3
= 0 ;
43859 wxColourPickerEvent
*result
= 0 ;
43865 PyObject
* obj0
= 0 ;
43866 PyObject
* obj1
= 0 ;
43867 PyObject
* obj2
= 0 ;
43868 char * kwnames
[] = {
43869 (char *) "generator",(char *) "id",(char *) "col", NULL
43872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43874 if (!SWIG_IsOK(res1
)) {
43875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43877 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43879 if (!SWIG_IsOK(ecode2
)) {
43880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43882 arg2
= static_cast< int >(val2
);
43885 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43890 wxPyEndAllowThreads(__tstate
);
43891 if (PyErr_Occurred()) SWIG_fail
;
43893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43900 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43901 PyObject
*resultobj
= 0;
43902 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43906 PyObject
*swig_obj
[1] ;
43908 if (!args
) SWIG_fail
;
43909 swig_obj
[0] = args
;
43910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43911 if (!SWIG_IsOK(res1
)) {
43912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43914 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43917 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43918 wxPyEndAllowThreads(__tstate
);
43919 if (PyErr_Occurred()) SWIG_fail
;
43921 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43928 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43929 PyObject
*resultobj
= 0;
43930 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43931 wxColour
*arg2
= 0 ;
43935 PyObject
* obj0
= 0 ;
43936 PyObject
* obj1
= 0 ;
43937 char * kwnames
[] = {
43938 (char *) "self",(char *) "c", NULL
43941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43943 if (!SWIG_IsOK(res1
)) {
43944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43946 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43953 (arg1
)->SetColour((wxColour
const &)*arg2
);
43954 wxPyEndAllowThreads(__tstate
);
43955 if (PyErr_Occurred()) SWIG_fail
;
43957 resultobj
= SWIG_Py_Void();
43964 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43967 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43968 return SWIG_Py_Void();
43971 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43972 return SWIG_Python_InitShadowInstance(args
);
43975 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43976 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43981 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43982 PyObject
*pyobj
= 0;
43986 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43988 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43995 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43996 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
44001 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
44002 PyObject
*pyobj
= 0;
44006 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44008 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44015 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
44016 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
44021 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
44022 PyObject
*pyobj
= 0;
44026 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44028 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44035 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
44036 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
44041 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
44042 PyObject
*pyobj
= 0;
44046 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44048 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44055 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
44056 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
44061 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
44062 PyObject
*pyobj
= 0;
44066 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44068 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44075 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44076 PyObject
*resultobj
= 0;
44077 wxWindow
*arg1
= (wxWindow
*) 0 ;
44078 int arg2
= (int) -1 ;
44079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44081 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44082 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44083 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44084 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44085 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44086 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44087 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44088 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44089 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44090 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44091 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44092 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44093 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44094 wxFilePickerCtrl
*result
= 0 ;
44099 bool temp3
= false ;
44100 bool temp4
= false ;
44101 bool temp5
= false ;
44108 bool temp10
= false ;
44109 PyObject
* obj0
= 0 ;
44110 PyObject
* obj1
= 0 ;
44111 PyObject
* obj2
= 0 ;
44112 PyObject
* obj3
= 0 ;
44113 PyObject
* obj4
= 0 ;
44114 PyObject
* obj5
= 0 ;
44115 PyObject
* obj6
= 0 ;
44116 PyObject
* obj7
= 0 ;
44117 PyObject
* obj8
= 0 ;
44118 PyObject
* obj9
= 0 ;
44119 char * kwnames
[] = {
44120 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44125 if (!SWIG_IsOK(res1
)) {
44126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44131 if (!SWIG_IsOK(ecode2
)) {
44132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44134 arg2
= static_cast< int >(val2
);
44138 arg3
= wxString_in_helper(obj2
);
44139 if (arg3
== NULL
) SWIG_fail
;
44145 arg4
= wxString_in_helper(obj3
);
44146 if (arg4
== NULL
) SWIG_fail
;
44152 arg5
= wxString_in_helper(obj4
);
44153 if (arg5
== NULL
) SWIG_fail
;
44160 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44166 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44170 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44171 if (!SWIG_IsOK(ecode8
)) {
44172 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44174 arg8
= static_cast< long >(val8
);
44177 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44178 if (!SWIG_IsOK(res9
)) {
44179 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44184 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44188 arg10
= wxString_in_helper(obj9
);
44189 if (arg10
== NULL
) SWIG_fail
;
44194 if (!wxPyCheckForApp()) SWIG_fail
;
44195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44196 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
);
44197 wxPyEndAllowThreads(__tstate
);
44198 if (PyErr_Occurred()) SWIG_fail
;
44200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44239 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44240 PyObject
*resultobj
= 0;
44241 wxFilePickerCtrl
*result
= 0 ;
44243 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44245 if (!wxPyCheckForApp()) SWIG_fail
;
44246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44247 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44248 wxPyEndAllowThreads(__tstate
);
44249 if (PyErr_Occurred()) SWIG_fail
;
44251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44258 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44259 PyObject
*resultobj
= 0;
44260 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44261 wxWindow
*arg2
= (wxWindow
*) 0 ;
44262 int arg3
= (int) -1 ;
44263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44265 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44266 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44267 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44268 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44269 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44270 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44271 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44272 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44273 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44274 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44275 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44276 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44277 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44285 bool temp4
= false ;
44286 bool temp5
= false ;
44287 bool temp6
= false ;
44294 bool temp11
= false ;
44295 PyObject
* obj0
= 0 ;
44296 PyObject
* obj1
= 0 ;
44297 PyObject
* obj2
= 0 ;
44298 PyObject
* obj3
= 0 ;
44299 PyObject
* obj4
= 0 ;
44300 PyObject
* obj5
= 0 ;
44301 PyObject
* obj6
= 0 ;
44302 PyObject
* obj7
= 0 ;
44303 PyObject
* obj8
= 0 ;
44304 PyObject
* obj9
= 0 ;
44305 PyObject
* obj10
= 0 ;
44306 char * kwnames
[] = {
44307 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44312 if (!SWIG_IsOK(res1
)) {
44313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44315 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44317 if (!SWIG_IsOK(res2
)) {
44318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44323 if (!SWIG_IsOK(ecode3
)) {
44324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44326 arg3
= static_cast< int >(val3
);
44330 arg4
= wxString_in_helper(obj3
);
44331 if (arg4
== NULL
) SWIG_fail
;
44337 arg5
= wxString_in_helper(obj4
);
44338 if (arg5
== NULL
) SWIG_fail
;
44344 arg6
= wxString_in_helper(obj5
);
44345 if (arg6
== NULL
) SWIG_fail
;
44352 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44358 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44362 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44363 if (!SWIG_IsOK(ecode9
)) {
44364 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44366 arg9
= static_cast< long >(val9
);
44369 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44370 if (!SWIG_IsOK(res10
)) {
44371 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44376 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44380 arg11
= wxString_in_helper(obj10
);
44381 if (arg11
== NULL
) SWIG_fail
;
44386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44387 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
);
44388 wxPyEndAllowThreads(__tstate
);
44389 if (PyErr_Occurred()) SWIG_fail
;
44392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44432 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44433 PyObject
*resultobj
= 0;
44434 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44438 PyObject
*swig_obj
[1] ;
44440 if (!args
) SWIG_fail
;
44441 swig_obj
[0] = args
;
44442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44443 if (!SWIG_IsOK(res1
)) {
44444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44446 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44449 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44450 wxPyEndAllowThreads(__tstate
);
44451 if (PyErr_Occurred()) SWIG_fail
;
44455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44466 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44467 PyObject
*resultobj
= 0;
44468 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44469 wxString
*arg2
= 0 ;
44472 bool temp2
= false ;
44473 PyObject
* obj0
= 0 ;
44474 PyObject
* obj1
= 0 ;
44475 char * kwnames
[] = {
44476 (char *) "self",(char *) "str", NULL
44479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44481 if (!SWIG_IsOK(res1
)) {
44482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44484 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44486 arg2
= wxString_in_helper(obj1
);
44487 if (arg2
== NULL
) SWIG_fail
;
44491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44492 (arg1
)->SetPath((wxString
const &)*arg2
);
44493 wxPyEndAllowThreads(__tstate
);
44494 if (PyErr_Occurred()) SWIG_fail
;
44496 resultobj
= SWIG_Py_Void();
44511 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44512 PyObject
*resultobj
= 0;
44513 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44514 wxString
*arg2
= 0 ;
44518 bool temp2
= false ;
44519 PyObject
* obj0
= 0 ;
44520 PyObject
* obj1
= 0 ;
44521 char * kwnames
[] = {
44522 (char *) "self",(char *) "path", NULL
44525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44527 if (!SWIG_IsOK(res1
)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44530 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44532 arg2
= wxString_in_helper(obj1
);
44533 if (arg2
== NULL
) SWIG_fail
;
44537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44538 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44539 wxPyEndAllowThreads(__tstate
);
44540 if (PyErr_Occurred()) SWIG_fail
;
44543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44559 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44560 PyObject
*resultobj
= 0;
44561 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44565 PyObject
*swig_obj
[1] ;
44567 if (!args
) SWIG_fail
;
44568 swig_obj
[0] = args
;
44569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44570 if (!SWIG_IsOK(res1
)) {
44571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44573 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44576 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44577 wxPyEndAllowThreads(__tstate
);
44578 if (PyErr_Occurred()) SWIG_fail
;
44582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44593 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44596 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44597 return SWIG_Py_Void();
44600 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44601 return SWIG_Python_InitShadowInstance(args
);
44604 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44605 PyObject
*resultobj
= 0;
44606 wxWindow
*arg1
= (wxWindow
*) 0 ;
44607 int arg2
= (int) -1 ;
44608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44610 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44612 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44613 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44614 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44615 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44616 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44617 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44618 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44619 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44620 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44621 wxDirPickerCtrl
*result
= 0 ;
44626 bool temp3
= false ;
44627 bool temp4
= false ;
44634 bool temp9
= false ;
44635 PyObject
* obj0
= 0 ;
44636 PyObject
* obj1
= 0 ;
44637 PyObject
* obj2
= 0 ;
44638 PyObject
* obj3
= 0 ;
44639 PyObject
* obj4
= 0 ;
44640 PyObject
* obj5
= 0 ;
44641 PyObject
* obj6
= 0 ;
44642 PyObject
* obj7
= 0 ;
44643 PyObject
* obj8
= 0 ;
44644 char * kwnames
[] = {
44645 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44650 if (!SWIG_IsOK(res1
)) {
44651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44656 if (!SWIG_IsOK(ecode2
)) {
44657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44659 arg2
= static_cast< int >(val2
);
44663 arg3
= wxString_in_helper(obj2
);
44664 if (arg3
== NULL
) SWIG_fail
;
44670 arg4
= wxString_in_helper(obj3
);
44671 if (arg4
== NULL
) SWIG_fail
;
44678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44688 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44689 if (!SWIG_IsOK(ecode7
)) {
44690 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44692 arg7
= static_cast< long >(val7
);
44695 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44696 if (!SWIG_IsOK(res8
)) {
44697 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44702 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44706 arg9
= wxString_in_helper(obj8
);
44707 if (arg9
== NULL
) SWIG_fail
;
44712 if (!wxPyCheckForApp()) SWIG_fail
;
44713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44714 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
);
44715 wxPyEndAllowThreads(__tstate
);
44716 if (PyErr_Occurred()) SWIG_fail
;
44718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44749 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44750 PyObject
*resultobj
= 0;
44751 wxDirPickerCtrl
*result
= 0 ;
44753 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44755 if (!wxPyCheckForApp()) SWIG_fail
;
44756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44757 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44758 wxPyEndAllowThreads(__tstate
);
44759 if (PyErr_Occurred()) SWIG_fail
;
44761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44768 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44769 PyObject
*resultobj
= 0;
44770 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44771 wxWindow
*arg2
= (wxWindow
*) 0 ;
44772 int arg3
= (int) -1 ;
44773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44775 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44776 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44777 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44778 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44779 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44780 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44781 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44782 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44783 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44784 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44785 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44793 bool temp4
= false ;
44794 bool temp5
= false ;
44801 bool temp10
= false ;
44802 PyObject
* obj0
= 0 ;
44803 PyObject
* obj1
= 0 ;
44804 PyObject
* obj2
= 0 ;
44805 PyObject
* obj3
= 0 ;
44806 PyObject
* obj4
= 0 ;
44807 PyObject
* obj5
= 0 ;
44808 PyObject
* obj6
= 0 ;
44809 PyObject
* obj7
= 0 ;
44810 PyObject
* obj8
= 0 ;
44811 PyObject
* obj9
= 0 ;
44812 char * kwnames
[] = {
44813 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44818 if (!SWIG_IsOK(res1
)) {
44819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44821 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44823 if (!SWIG_IsOK(res2
)) {
44824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44829 if (!SWIG_IsOK(ecode3
)) {
44830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44832 arg3
= static_cast< int >(val3
);
44836 arg4
= wxString_in_helper(obj3
);
44837 if (arg4
== NULL
) SWIG_fail
;
44843 arg5
= wxString_in_helper(obj4
);
44844 if (arg5
== NULL
) SWIG_fail
;
44851 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44857 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44861 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44862 if (!SWIG_IsOK(ecode8
)) {
44863 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44865 arg8
= static_cast< long >(val8
);
44868 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44869 if (!SWIG_IsOK(res9
)) {
44870 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44875 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44879 arg10
= wxString_in_helper(obj9
);
44880 if (arg10
== NULL
) SWIG_fail
;
44885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44886 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
);
44887 wxPyEndAllowThreads(__tstate
);
44888 if (PyErr_Occurred()) SWIG_fail
;
44891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44923 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44924 PyObject
*resultobj
= 0;
44925 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44929 PyObject
*swig_obj
[1] ;
44931 if (!args
) SWIG_fail
;
44932 swig_obj
[0] = args
;
44933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44934 if (!SWIG_IsOK(res1
)) {
44935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44937 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44941 wxPyEndAllowThreads(__tstate
);
44942 if (PyErr_Occurred()) SWIG_fail
;
44946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44957 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44958 PyObject
*resultobj
= 0;
44959 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44960 wxString
*arg2
= 0 ;
44963 bool temp2
= false ;
44964 PyObject
* obj0
= 0 ;
44965 PyObject
* obj1
= 0 ;
44966 char * kwnames
[] = {
44967 (char *) "self",(char *) "str", NULL
44970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44972 if (!SWIG_IsOK(res1
)) {
44973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44975 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44977 arg2
= wxString_in_helper(obj1
);
44978 if (arg2
== NULL
) SWIG_fail
;
44982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44983 (arg1
)->SetPath((wxString
const &)*arg2
);
44984 wxPyEndAllowThreads(__tstate
);
44985 if (PyErr_Occurred()) SWIG_fail
;
44987 resultobj
= SWIG_Py_Void();
45002 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45003 PyObject
*resultobj
= 0;
45004 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45005 wxString
*arg2
= 0 ;
45009 bool temp2
= false ;
45010 PyObject
* obj0
= 0 ;
45011 PyObject
* obj1
= 0 ;
45012 char * kwnames
[] = {
45013 (char *) "self",(char *) "path", NULL
45016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45018 if (!SWIG_IsOK(res1
)) {
45019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45021 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45023 arg2
= wxString_in_helper(obj1
);
45024 if (arg2
== NULL
) SWIG_fail
;
45028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45029 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
45030 wxPyEndAllowThreads(__tstate
);
45031 if (PyErr_Occurred()) SWIG_fail
;
45034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45050 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45051 PyObject
*resultobj
= 0;
45052 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45056 PyObject
*swig_obj
[1] ;
45058 if (!args
) SWIG_fail
;
45059 swig_obj
[0] = args
;
45060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45061 if (!SWIG_IsOK(res1
)) {
45062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45064 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45067 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
45068 wxPyEndAllowThreads(__tstate
);
45069 if (PyErr_Occurred()) SWIG_fail
;
45073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45084 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45087 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45088 return SWIG_Py_Void();
45091 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45092 return SWIG_Python_InitShadowInstance(args
);
45095 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45096 PyObject
*resultobj
= 0;
45098 wxObject
*arg2
= (wxObject
*) 0 ;
45100 wxString
*arg4
= 0 ;
45101 wxFileDirPickerEvent
*result
= 0 ;
45108 bool temp4
= false ;
45109 PyObject
* obj0
= 0 ;
45110 PyObject
* obj1
= 0 ;
45111 PyObject
* obj2
= 0 ;
45112 PyObject
* obj3
= 0 ;
45113 char * kwnames
[] = {
45114 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45119 if (!SWIG_IsOK(ecode1
)) {
45120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45122 arg1
= static_cast< wxEventType
>(val1
);
45123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45124 if (!SWIG_IsOK(res2
)) {
45125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45127 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45129 if (!SWIG_IsOK(ecode3
)) {
45130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45132 arg3
= static_cast< int >(val3
);
45134 arg4
= wxString_in_helper(obj3
);
45135 if (arg4
== NULL
) SWIG_fail
;
45139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45140 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45141 wxPyEndAllowThreads(__tstate
);
45142 if (PyErr_Occurred()) SWIG_fail
;
45144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45159 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45160 PyObject
*resultobj
= 0;
45161 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45165 PyObject
*swig_obj
[1] ;
45167 if (!args
) SWIG_fail
;
45168 swig_obj
[0] = args
;
45169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45170 if (!SWIG_IsOK(res1
)) {
45171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45173 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45176 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45177 wxPyEndAllowThreads(__tstate
);
45178 if (PyErr_Occurred()) SWIG_fail
;
45182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45193 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45194 PyObject
*resultobj
= 0;
45195 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45196 wxString
*arg2
= 0 ;
45199 bool temp2
= false ;
45200 PyObject
* obj0
= 0 ;
45201 PyObject
* obj1
= 0 ;
45202 char * kwnames
[] = {
45203 (char *) "self",(char *) "p", NULL
45206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45208 if (!SWIG_IsOK(res1
)) {
45209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45211 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45213 arg2
= wxString_in_helper(obj1
);
45214 if (arg2
== NULL
) SWIG_fail
;
45218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45219 (arg1
)->SetPath((wxString
const &)*arg2
);
45220 wxPyEndAllowThreads(__tstate
);
45221 if (PyErr_Occurred()) SWIG_fail
;
45223 resultobj
= SWIG_Py_Void();
45238 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45242 return SWIG_Py_Void();
45245 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45246 return SWIG_Python_InitShadowInstance(args
);
45249 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45250 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45255 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45256 PyObject
*pyobj
= 0;
45260 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45262 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45269 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45270 PyObject
*resultobj
= 0;
45271 wxWindow
*arg1
= (wxWindow
*) 0 ;
45272 int arg2
= (int) -1 ;
45273 wxFont
const &arg3_defvalue
= wxNullFont
;
45274 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45279 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45280 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45281 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45282 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45283 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45284 wxFontPickerCtrl
*result
= 0 ;
45297 bool temp8
= false ;
45298 PyObject
* obj0
= 0 ;
45299 PyObject
* obj1
= 0 ;
45300 PyObject
* obj2
= 0 ;
45301 PyObject
* obj3
= 0 ;
45302 PyObject
* obj4
= 0 ;
45303 PyObject
* obj5
= 0 ;
45304 PyObject
* obj6
= 0 ;
45305 PyObject
* obj7
= 0 ;
45306 char * kwnames
[] = {
45307 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45312 if (!SWIG_IsOK(res1
)) {
45313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45315 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45318 if (!SWIG_IsOK(ecode2
)) {
45319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45321 arg2
= static_cast< int >(val2
);
45324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45325 if (!SWIG_IsOK(res3
)) {
45326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45331 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45346 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45347 if (!SWIG_IsOK(ecode6
)) {
45348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45350 arg6
= static_cast< long >(val6
);
45353 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45354 if (!SWIG_IsOK(res7
)) {
45355 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45360 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45364 arg8
= wxString_in_helper(obj7
);
45365 if (arg8
== NULL
) SWIG_fail
;
45370 if (!wxPyCheckForApp()) SWIG_fail
;
45371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45372 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45373 wxPyEndAllowThreads(__tstate
);
45374 if (PyErr_Occurred()) SWIG_fail
;
45376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45391 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45392 PyObject
*resultobj
= 0;
45393 wxFontPickerCtrl
*result
= 0 ;
45395 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45397 if (!wxPyCheckForApp()) SWIG_fail
;
45398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45399 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45400 wxPyEndAllowThreads(__tstate
);
45401 if (PyErr_Occurred()) SWIG_fail
;
45403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45410 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45411 PyObject
*resultobj
= 0;
45412 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45413 wxWindow
*arg2
= (wxWindow
*) 0 ;
45414 int arg3
= (int) -1 ;
45415 wxFont
const &arg4_defvalue
= wxNullFont
;
45416 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45417 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45418 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45419 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45420 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45421 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45422 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45423 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45424 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45425 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45441 bool temp9
= false ;
45442 PyObject
* obj0
= 0 ;
45443 PyObject
* obj1
= 0 ;
45444 PyObject
* obj2
= 0 ;
45445 PyObject
* obj3
= 0 ;
45446 PyObject
* obj4
= 0 ;
45447 PyObject
* obj5
= 0 ;
45448 PyObject
* obj6
= 0 ;
45449 PyObject
* obj7
= 0 ;
45450 PyObject
* obj8
= 0 ;
45451 char * kwnames
[] = {
45452 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45457 if (!SWIG_IsOK(res1
)) {
45458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45460 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45462 if (!SWIG_IsOK(res2
)) {
45463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45465 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45468 if (!SWIG_IsOK(ecode3
)) {
45469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45471 arg3
= static_cast< int >(val3
);
45474 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45475 if (!SWIG_IsOK(res4
)) {
45476 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45481 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45486 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45492 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45496 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45497 if (!SWIG_IsOK(ecode7
)) {
45498 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45500 arg7
= static_cast< long >(val7
);
45503 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45504 if (!SWIG_IsOK(res8
)) {
45505 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45510 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45514 arg9
= wxString_in_helper(obj8
);
45515 if (arg9
== NULL
) SWIG_fail
;
45520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45522 wxPyEndAllowThreads(__tstate
);
45523 if (PyErr_Occurred()) SWIG_fail
;
45526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45542 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45543 PyObject
*resultobj
= 0;
45544 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45548 PyObject
*swig_obj
[1] ;
45550 if (!args
) SWIG_fail
;
45551 swig_obj
[0] = args
;
45552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45553 if (!SWIG_IsOK(res1
)) {
45554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45556 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45559 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45560 wxPyEndAllowThreads(__tstate
);
45561 if (PyErr_Occurred()) SWIG_fail
;
45563 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45570 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45571 PyObject
*resultobj
= 0;
45572 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45578 PyObject
* obj0
= 0 ;
45579 PyObject
* obj1
= 0 ;
45580 char * kwnames
[] = {
45581 (char *) "self",(char *) "f", NULL
45584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45586 if (!SWIG_IsOK(res1
)) {
45587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45589 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45591 if (!SWIG_IsOK(res2
)) {
45592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45597 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45600 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45601 wxPyEndAllowThreads(__tstate
);
45602 if (PyErr_Occurred()) SWIG_fail
;
45604 resultobj
= SWIG_Py_Void();
45611 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45612 PyObject
*resultobj
= 0;
45613 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45614 unsigned int arg2
;
45617 unsigned int val2
;
45619 PyObject
* obj0
= 0 ;
45620 PyObject
* obj1
= 0 ;
45621 char * kwnames
[] = {
45622 (char *) "self",(char *) "max", NULL
45625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45627 if (!SWIG_IsOK(res1
)) {
45628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45630 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45631 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45632 if (!SWIG_IsOK(ecode2
)) {
45633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45635 arg2
= static_cast< unsigned int >(val2
);
45637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45638 (arg1
)->SetMaxPointSize(arg2
);
45639 wxPyEndAllowThreads(__tstate
);
45640 if (PyErr_Occurred()) SWIG_fail
;
45642 resultobj
= SWIG_Py_Void();
45649 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45650 PyObject
*resultobj
= 0;
45651 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45652 unsigned int result
;
45655 PyObject
*swig_obj
[1] ;
45657 if (!args
) SWIG_fail
;
45658 swig_obj
[0] = args
;
45659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45660 if (!SWIG_IsOK(res1
)) {
45661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45663 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45666 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45667 wxPyEndAllowThreads(__tstate
);
45668 if (PyErr_Occurred()) SWIG_fail
;
45670 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45677 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45680 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45681 return SWIG_Py_Void();
45684 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45685 return SWIG_Python_InitShadowInstance(args
);
45688 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45689 PyObject
*resultobj
= 0;
45690 wxObject
*arg1
= (wxObject
*) 0 ;
45693 wxFontPickerEvent
*result
= 0 ;
45700 PyObject
* obj0
= 0 ;
45701 PyObject
* obj1
= 0 ;
45702 PyObject
* obj2
= 0 ;
45703 char * kwnames
[] = {
45704 (char *) "generator",(char *) "id",(char *) "f", NULL
45707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45709 if (!SWIG_IsOK(res1
)) {
45710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45712 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45714 if (!SWIG_IsOK(ecode2
)) {
45715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45717 arg2
= static_cast< int >(val2
);
45718 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45719 if (!SWIG_IsOK(res3
)) {
45720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45725 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45728 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45729 wxPyEndAllowThreads(__tstate
);
45730 if (PyErr_Occurred()) SWIG_fail
;
45732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45739 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45740 PyObject
*resultobj
= 0;
45741 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45745 PyObject
*swig_obj
[1] ;
45747 if (!args
) SWIG_fail
;
45748 swig_obj
[0] = args
;
45749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45750 if (!SWIG_IsOK(res1
)) {
45751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45753 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45756 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45757 wxPyEndAllowThreads(__tstate
);
45758 if (PyErr_Occurred()) SWIG_fail
;
45760 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45767 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45768 PyObject
*resultobj
= 0;
45769 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45775 PyObject
* obj0
= 0 ;
45776 PyObject
* obj1
= 0 ;
45777 char * kwnames
[] = {
45778 (char *) "self",(char *) "c", NULL
45781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45783 if (!SWIG_IsOK(res1
)) {
45784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45786 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45788 if (!SWIG_IsOK(res2
)) {
45789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45794 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45797 (arg1
)->SetFont((wxFont
const &)*arg2
);
45798 wxPyEndAllowThreads(__tstate
);
45799 if (PyErr_Occurred()) SWIG_fail
;
45801 resultobj
= SWIG_Py_Void();
45808 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45811 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45812 return SWIG_Py_Void();
45815 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45816 return SWIG_Python_InitShadowInstance(args
);
45819 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45820 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45825 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45826 PyObject
*pyobj
= 0;
45830 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45832 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45839 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45840 PyObject
*resultobj
= 0;
45841 wxWindow
*arg1
= (wxWindow
*) 0 ;
45842 int arg2
= (int) -1 ;
45843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45849 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45852 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45854 wxCollapsiblePane
*result
= 0 ;
45859 bool temp3
= false ;
45866 bool temp8
= false ;
45867 PyObject
* obj0
= 0 ;
45868 PyObject
* obj1
= 0 ;
45869 PyObject
* obj2
= 0 ;
45870 PyObject
* obj3
= 0 ;
45871 PyObject
* obj4
= 0 ;
45872 PyObject
* obj5
= 0 ;
45873 PyObject
* obj6
= 0 ;
45874 PyObject
* obj7
= 0 ;
45875 char * kwnames
[] = {
45876 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45881 if (!SWIG_IsOK(res1
)) {
45882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45887 if (!SWIG_IsOK(ecode2
)) {
45888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45890 arg2
= static_cast< int >(val2
);
45894 arg3
= wxString_in_helper(obj2
);
45895 if (arg3
== NULL
) SWIG_fail
;
45902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45912 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45913 if (!SWIG_IsOK(ecode6
)) {
45914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45916 arg6
= static_cast< long >(val6
);
45919 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45920 if (!SWIG_IsOK(res7
)) {
45921 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45926 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45930 arg8
= wxString_in_helper(obj7
);
45931 if (arg8
== NULL
) SWIG_fail
;
45936 if (!wxPyCheckForApp()) SWIG_fail
;
45937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45938 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45939 wxPyEndAllowThreads(__tstate
);
45940 if (PyErr_Occurred()) SWIG_fail
;
45942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45965 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45966 PyObject
*resultobj
= 0;
45967 wxCollapsiblePane
*result
= 0 ;
45969 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45971 if (!wxPyCheckForApp()) SWIG_fail
;
45972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45973 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45974 wxPyEndAllowThreads(__tstate
);
45975 if (PyErr_Occurred()) SWIG_fail
;
45977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45984 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45985 PyObject
*resultobj
= 0;
45986 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45987 wxWindow
*arg2
= (wxWindow
*) 0 ;
45988 int arg3
= (int) -1 ;
45989 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45990 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45991 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45992 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45993 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45994 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45995 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45996 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45997 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45998 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45999 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46007 bool temp4
= false ;
46014 bool temp9
= false ;
46015 PyObject
* obj0
= 0 ;
46016 PyObject
* obj1
= 0 ;
46017 PyObject
* obj2
= 0 ;
46018 PyObject
* obj3
= 0 ;
46019 PyObject
* obj4
= 0 ;
46020 PyObject
* obj5
= 0 ;
46021 PyObject
* obj6
= 0 ;
46022 PyObject
* obj7
= 0 ;
46023 PyObject
* obj8
= 0 ;
46024 char * kwnames
[] = {
46025 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46030 if (!SWIG_IsOK(res1
)) {
46031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46033 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46035 if (!SWIG_IsOK(res2
)) {
46036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46038 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46041 if (!SWIG_IsOK(ecode3
)) {
46042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46044 arg3
= static_cast< int >(val3
);
46048 arg4
= wxString_in_helper(obj3
);
46049 if (arg4
== NULL
) SWIG_fail
;
46056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46066 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46067 if (!SWIG_IsOK(ecode7
)) {
46068 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46070 arg7
= static_cast< long >(val7
);
46073 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46074 if (!SWIG_IsOK(res8
)) {
46075 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46080 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46084 arg9
= wxString_in_helper(obj8
);
46085 if (arg9
== NULL
) SWIG_fail
;
46090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46091 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46092 wxPyEndAllowThreads(__tstate
);
46093 if (PyErr_Occurred()) SWIG_fail
;
46096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46120 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46121 PyObject
*resultobj
= 0;
46122 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46123 bool arg2
= (bool) true ;
46128 PyObject
* obj0
= 0 ;
46129 PyObject
* obj1
= 0 ;
46130 char * kwnames
[] = {
46131 (char *) "self",(char *) "collapse", NULL
46134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46136 if (!SWIG_IsOK(res1
)) {
46137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46139 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46141 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46142 if (!SWIG_IsOK(ecode2
)) {
46143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46145 arg2
= static_cast< bool >(val2
);
46148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46149 (arg1
)->Collapse(arg2
);
46150 wxPyEndAllowThreads(__tstate
);
46151 if (PyErr_Occurred()) SWIG_fail
;
46153 resultobj
= SWIG_Py_Void();
46160 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46161 PyObject
*resultobj
= 0;
46162 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46165 PyObject
*swig_obj
[1] ;
46167 if (!args
) SWIG_fail
;
46168 swig_obj
[0] = args
;
46169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46170 if (!SWIG_IsOK(res1
)) {
46171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46173 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46177 wxPyEndAllowThreads(__tstate
);
46178 if (PyErr_Occurred()) SWIG_fail
;
46180 resultobj
= SWIG_Py_Void();
46187 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46188 PyObject
*resultobj
= 0;
46189 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46193 PyObject
*swig_obj
[1] ;
46195 if (!args
) SWIG_fail
;
46196 swig_obj
[0] = args
;
46197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46198 if (!SWIG_IsOK(res1
)) {
46199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46201 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46204 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46205 wxPyEndAllowThreads(__tstate
);
46206 if (PyErr_Occurred()) SWIG_fail
;
46209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46217 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46218 PyObject
*resultobj
= 0;
46219 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46223 PyObject
*swig_obj
[1] ;
46225 if (!args
) SWIG_fail
;
46226 swig_obj
[0] = args
;
46227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46228 if (!SWIG_IsOK(res1
)) {
46229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46231 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46234 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46235 wxPyEndAllowThreads(__tstate
);
46236 if (PyErr_Occurred()) SWIG_fail
;
46239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46247 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46248 PyObject
*resultobj
= 0;
46249 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46250 wxWindow
*result
= 0 ;
46253 PyObject
*swig_obj
[1] ;
46255 if (!args
) SWIG_fail
;
46256 swig_obj
[0] = args
;
46257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46258 if (!SWIG_IsOK(res1
)) {
46259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46261 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46264 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46265 wxPyEndAllowThreads(__tstate
);
46266 if (PyErr_Occurred()) SWIG_fail
;
46269 resultobj
= wxPyMake_wxObject(result
, 0);
46277 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46280 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46281 return SWIG_Py_Void();
46284 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46285 return SWIG_Python_InitShadowInstance(args
);
46288 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46289 PyObject
*resultobj
= 0;
46290 wxObject
*arg1
= (wxObject
*) 0 ;
46293 wxCollapsiblePaneEvent
*result
= 0 ;
46300 PyObject
* obj0
= 0 ;
46301 PyObject
* obj1
= 0 ;
46302 PyObject
* obj2
= 0 ;
46303 char * kwnames
[] = {
46304 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46309 if (!SWIG_IsOK(res1
)) {
46310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46312 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46314 if (!SWIG_IsOK(ecode2
)) {
46315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46317 arg2
= static_cast< int >(val2
);
46318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46319 if (!SWIG_IsOK(ecode3
)) {
46320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46322 arg3
= static_cast< bool >(val3
);
46324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46325 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46326 wxPyEndAllowThreads(__tstate
);
46327 if (PyErr_Occurred()) SWIG_fail
;
46329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46336 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46337 PyObject
*resultobj
= 0;
46338 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46342 PyObject
*swig_obj
[1] ;
46344 if (!args
) SWIG_fail
;
46345 swig_obj
[0] = args
;
46346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46347 if (!SWIG_IsOK(res1
)) {
46348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46350 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46353 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46354 wxPyEndAllowThreads(__tstate
);
46355 if (PyErr_Occurred()) SWIG_fail
;
46358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46366 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46367 PyObject
*resultobj
= 0;
46368 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46374 PyObject
* obj0
= 0 ;
46375 PyObject
* obj1
= 0 ;
46376 char * kwnames
[] = {
46377 (char *) "self",(char *) "c", NULL
46380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46382 if (!SWIG_IsOK(res1
)) {
46383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46385 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46386 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46387 if (!SWIG_IsOK(ecode2
)) {
46388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46390 arg2
= static_cast< bool >(val2
);
46392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46393 (arg1
)->SetCollapsed(arg2
);
46394 wxPyEndAllowThreads(__tstate
);
46395 if (PyErr_Occurred()) SWIG_fail
;
46397 resultobj
= SWIG_Py_Void();
46404 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46407 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46408 return SWIG_Py_Void();
46411 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46412 return SWIG_Python_InitShadowInstance(args
);
46415 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46416 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46421 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46422 PyObject
*pyobj
= 0;
46426 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46428 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46435 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46436 PyObject
*resultobj
= 0;
46437 wxWindow
*arg1
= (wxWindow
*) 0 ;
46438 int arg2
= (int) -1 ;
46439 wxString
const &arg3_defvalue
= wxEmptyString
;
46440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46445 long arg6
= (long) 0 ;
46446 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46447 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46448 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46450 wxSearchCtrl
*result
= 0 ;
46455 bool temp3
= false ;
46462 bool temp8
= false ;
46463 PyObject
* obj0
= 0 ;
46464 PyObject
* obj1
= 0 ;
46465 PyObject
* obj2
= 0 ;
46466 PyObject
* obj3
= 0 ;
46467 PyObject
* obj4
= 0 ;
46468 PyObject
* obj5
= 0 ;
46469 PyObject
* obj6
= 0 ;
46470 PyObject
* obj7
= 0 ;
46471 char * kwnames
[] = {
46472 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46477 if (!SWIG_IsOK(res1
)) {
46478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46480 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46483 if (!SWIG_IsOK(ecode2
)) {
46484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46486 arg2
= static_cast< int >(val2
);
46490 arg3
= wxString_in_helper(obj2
);
46491 if (arg3
== NULL
) SWIG_fail
;
46498 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46504 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46508 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46509 if (!SWIG_IsOK(ecode6
)) {
46510 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46512 arg6
= static_cast< long >(val6
);
46515 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46516 if (!SWIG_IsOK(res7
)) {
46517 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46522 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46526 arg8
= wxString_in_helper(obj7
);
46527 if (arg8
== NULL
) SWIG_fail
;
46532 if (!wxPyCheckForApp()) SWIG_fail
;
46533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46534 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46535 wxPyEndAllowThreads(__tstate
);
46536 if (PyErr_Occurred()) SWIG_fail
;
46538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46561 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46562 PyObject
*resultobj
= 0;
46563 wxSearchCtrl
*result
= 0 ;
46565 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46567 if (!wxPyCheckForApp()) SWIG_fail
;
46568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46569 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46570 wxPyEndAllowThreads(__tstate
);
46571 if (PyErr_Occurred()) SWIG_fail
;
46573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46580 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46581 PyObject
*resultobj
= 0;
46582 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46583 wxWindow
*arg2
= (wxWindow
*) 0 ;
46584 int arg3
= (int) -1 ;
46585 wxString
const &arg4_defvalue
= wxEmptyString
;
46586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46591 long arg7
= (long) 0 ;
46592 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46593 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46594 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46595 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46603 bool temp4
= false ;
46610 bool temp9
= false ;
46611 PyObject
* obj0
= 0 ;
46612 PyObject
* obj1
= 0 ;
46613 PyObject
* obj2
= 0 ;
46614 PyObject
* obj3
= 0 ;
46615 PyObject
* obj4
= 0 ;
46616 PyObject
* obj5
= 0 ;
46617 PyObject
* obj6
= 0 ;
46618 PyObject
* obj7
= 0 ;
46619 PyObject
* obj8
= 0 ;
46620 char * kwnames
[] = {
46621 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46626 if (!SWIG_IsOK(res1
)) {
46627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46629 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46631 if (!SWIG_IsOK(res2
)) {
46632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46637 if (!SWIG_IsOK(ecode3
)) {
46638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46640 arg3
= static_cast< int >(val3
);
46644 arg4
= wxString_in_helper(obj3
);
46645 if (arg4
== NULL
) SWIG_fail
;
46652 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46658 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46662 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46663 if (!SWIG_IsOK(ecode7
)) {
46664 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46666 arg7
= static_cast< long >(val7
);
46669 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46670 if (!SWIG_IsOK(res8
)) {
46671 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46676 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46680 arg9
= wxString_in_helper(obj8
);
46681 if (arg9
== NULL
) SWIG_fail
;
46686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46688 wxPyEndAllowThreads(__tstate
);
46689 if (PyErr_Occurred()) SWIG_fail
;
46692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46716 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46717 PyObject
*resultobj
= 0;
46718 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46719 wxMenu
*arg2
= (wxMenu
*) 0 ;
46724 PyObject
* obj0
= 0 ;
46725 PyObject
* obj1
= 0 ;
46726 char * kwnames
[] = {
46727 (char *) "self",(char *) "menu", NULL
46730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46732 if (!SWIG_IsOK(res1
)) {
46733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46735 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46737 if (!SWIG_IsOK(res2
)) {
46738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46740 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46743 (arg1
)->SetMenu(arg2
);
46744 wxPyEndAllowThreads(__tstate
);
46745 if (PyErr_Occurred()) SWIG_fail
;
46747 resultobj
= SWIG_Py_Void();
46754 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46755 PyObject
*resultobj
= 0;
46756 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46757 wxMenu
*result
= 0 ;
46760 PyObject
*swig_obj
[1] ;
46762 if (!args
) SWIG_fail
;
46763 swig_obj
[0] = args
;
46764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46765 if (!SWIG_IsOK(res1
)) {
46766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46768 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46771 result
= (wxMenu
*)(arg1
)->GetMenu();
46772 wxPyEndAllowThreads(__tstate
);
46773 if (PyErr_Occurred()) SWIG_fail
;
46776 resultobj
= wxPyMake_wxObject(result
, 0);
46784 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46785 PyObject
*resultobj
= 0;
46786 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46792 PyObject
* obj0
= 0 ;
46793 PyObject
* obj1
= 0 ;
46794 char * kwnames
[] = {
46795 (char *) "self",(char *) "show", NULL
46798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46800 if (!SWIG_IsOK(res1
)) {
46801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46803 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46805 if (!SWIG_IsOK(ecode2
)) {
46806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46808 arg2
= static_cast< bool >(val2
);
46810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46811 (arg1
)->ShowSearchButton(arg2
);
46812 wxPyEndAllowThreads(__tstate
);
46813 if (PyErr_Occurred()) SWIG_fail
;
46815 resultobj
= SWIG_Py_Void();
46822 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46823 PyObject
*resultobj
= 0;
46824 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46828 PyObject
*swig_obj
[1] ;
46830 if (!args
) SWIG_fail
;
46831 swig_obj
[0] = args
;
46832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46833 if (!SWIG_IsOK(res1
)) {
46834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46836 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46839 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46840 wxPyEndAllowThreads(__tstate
);
46841 if (PyErr_Occurred()) SWIG_fail
;
46844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46852 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46853 PyObject
*resultobj
= 0;
46854 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46860 PyObject
* obj0
= 0 ;
46861 PyObject
* obj1
= 0 ;
46862 char * kwnames
[] = {
46863 (char *) "self",(char *) "show", NULL
46866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46868 if (!SWIG_IsOK(res1
)) {
46869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46871 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46873 if (!SWIG_IsOK(ecode2
)) {
46874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46876 arg2
= static_cast< bool >(val2
);
46878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46879 (arg1
)->ShowCancelButton(arg2
);
46880 wxPyEndAllowThreads(__tstate
);
46881 if (PyErr_Occurred()) SWIG_fail
;
46883 resultobj
= SWIG_Py_Void();
46890 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46891 PyObject
*resultobj
= 0;
46892 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46896 PyObject
*swig_obj
[1] ;
46898 if (!args
) SWIG_fail
;
46899 swig_obj
[0] = args
;
46900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46901 if (!SWIG_IsOK(res1
)) {
46902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46904 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46907 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46908 wxPyEndAllowThreads(__tstate
);
46909 if (PyErr_Occurred()) SWIG_fail
;
46912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46920 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46921 PyObject
*resultobj
= 0;
46922 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46923 wxString
*arg2
= 0 ;
46926 bool temp2
= false ;
46927 PyObject
* obj0
= 0 ;
46928 PyObject
* obj1
= 0 ;
46929 char * kwnames
[] = {
46930 (char *) "self",(char *) "text", NULL
46933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46935 if (!SWIG_IsOK(res1
)) {
46936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46938 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46940 arg2
= wxString_in_helper(obj1
);
46941 if (arg2
== NULL
) SWIG_fail
;
46945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46946 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46947 wxPyEndAllowThreads(__tstate
);
46948 if (PyErr_Occurred()) SWIG_fail
;
46950 resultobj
= SWIG_Py_Void();
46965 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46966 PyObject
*resultobj
= 0;
46967 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46971 PyObject
*swig_obj
[1] ;
46973 if (!args
) SWIG_fail
;
46974 swig_obj
[0] = args
;
46975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46976 if (!SWIG_IsOK(res1
)) {
46977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46979 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46982 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46983 wxPyEndAllowThreads(__tstate
);
46984 if (PyErr_Occurred()) SWIG_fail
;
46988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46999 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47000 PyObject
*resultobj
= 0;
47001 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47002 wxBitmap
*arg2
= 0 ;
47007 PyObject
* obj0
= 0 ;
47008 PyObject
* obj1
= 0 ;
47009 char * kwnames
[] = {
47010 (char *) "self",(char *) "bitmap", NULL
47013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47015 if (!SWIG_IsOK(res1
)) {
47016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47018 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47020 if (!SWIG_IsOK(res2
)) {
47021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47026 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47029 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
47030 wxPyEndAllowThreads(__tstate
);
47031 if (PyErr_Occurred()) SWIG_fail
;
47033 resultobj
= SWIG_Py_Void();
47040 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47041 PyObject
*resultobj
= 0;
47042 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47043 wxBitmap
*arg2
= 0 ;
47048 PyObject
* obj0
= 0 ;
47049 PyObject
* obj1
= 0 ;
47050 char * kwnames
[] = {
47051 (char *) "self",(char *) "bitmap", NULL
47054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47056 if (!SWIG_IsOK(res1
)) {
47057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47059 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47061 if (!SWIG_IsOK(res2
)) {
47062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47070 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
47071 wxPyEndAllowThreads(__tstate
);
47072 if (PyErr_Occurred()) SWIG_fail
;
47074 resultobj
= SWIG_Py_Void();
47081 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47082 PyObject
*resultobj
= 0;
47083 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47084 wxBitmap
*arg2
= 0 ;
47089 PyObject
* obj0
= 0 ;
47090 PyObject
* obj1
= 0 ;
47091 char * kwnames
[] = {
47092 (char *) "self",(char *) "bitmap", NULL
47095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47097 if (!SWIG_IsOK(res1
)) {
47098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47100 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47102 if (!SWIG_IsOK(res2
)) {
47103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47111 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
47112 wxPyEndAllowThreads(__tstate
);
47113 if (PyErr_Occurred()) SWIG_fail
;
47115 resultobj
= SWIG_Py_Void();
47122 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47125 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47126 return SWIG_Py_Void();
47129 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47130 return SWIG_Python_InitShadowInstance(args
);
47133 static PyMethodDef SwigMethods
[] = {
47134 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47136 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47138 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47139 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47141 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47142 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47144 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47146 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47147 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47148 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47149 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47150 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47157 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47158 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47159 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47160 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47162 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47164 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47165 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47167 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47169 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47170 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47172 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47173 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47175 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47177 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47179 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47180 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47182 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47184 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47186 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47187 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47188 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47190 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47191 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47194 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47195 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47198 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47200 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47201 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47202 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47203 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47204 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47205 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47206 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47207 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47208 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47210 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47211 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47213 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47216 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47218 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47219 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47220 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47222 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47224 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47226 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47227 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47229 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47232 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47233 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47235 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47237 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47238 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47240 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47241 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47243 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"StaticText_IsEllipsized", (PyCFunction
)_wrap_StaticText_IsEllipsized
, METH_O
, NULL
},
47246 { (char *)"StaticText_RemoveMarkup", (PyCFunction
) _wrap_StaticText_RemoveMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"StaticText_EscapeMarkup", (PyCFunction
) _wrap_StaticText_EscapeMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47250 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47251 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47253 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47255 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47259 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47260 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47262 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47273 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47278 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47284 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47285 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47287 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47291 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47292 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47293 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47295 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47296 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47298 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47306 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47307 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47308 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47309 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47310 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47311 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47312 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47314 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47315 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47316 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47317 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47318 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47319 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47320 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47321 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47322 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47323 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47325 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47326 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47328 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47330 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47332 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47337 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47338 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47339 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47340 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47341 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47342 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47343 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47344 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47349 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47350 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47359 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47365 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47366 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47367 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47368 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47369 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47370 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47371 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47372 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47373 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47374 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47376 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47377 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47378 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47380 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47383 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47387 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47388 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47390 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47391 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47392 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47393 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47394 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47396 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47398 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47399 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47400 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47401 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47402 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47405 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47406 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47408 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47410 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47411 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47412 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47417 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47419 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47420 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47422 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47424 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47428 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47429 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47432 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47433 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47435 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47437 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47438 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47440 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47443 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47444 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47446 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47454 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47455 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47462 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47463 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47465 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47467 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47470 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47471 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47473 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47475 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47478 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47479 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47484 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47485 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47487 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47489 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47490 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47492 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47493 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47494 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47497 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47498 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47500 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47503 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47505 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47506 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47507 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47509 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47510 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47515 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47520 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47522 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47524 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47526 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47527 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47530 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47538 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47540 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47542 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47544 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47545 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47547 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47549 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47552 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47556 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47557 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47559 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47560 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47562 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47564 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47565 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47566 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47568 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47569 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47571 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47573 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47574 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47575 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47577 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47578 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47580 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47588 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47589 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47590 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47592 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47593 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47595 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47597 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47598 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47599 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47600 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47602 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47603 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47604 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47605 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47606 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47607 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47608 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47609 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47610 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47611 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47612 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47613 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47614 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47615 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47616 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47617 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47618 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47619 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47620 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47622 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47629 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47631 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47633 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47641 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47646 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47647 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47664 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47665 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47666 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47667 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47670 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47671 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47673 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47674 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47677 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47678 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47679 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47681 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47686 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47687 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47689 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47693 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47694 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47695 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47696 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47697 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47698 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47700 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47701 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47702 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47703 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47704 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47705 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47706 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47720 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47721 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47722 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47723 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47724 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47725 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47726 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47727 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47728 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47729 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47730 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47732 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47733 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47734 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47735 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47736 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47737 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47738 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47739 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47740 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47741 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47742 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47743 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47744 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47745 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47746 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47747 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47748 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47749 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47750 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47751 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47752 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47753 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47754 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47755 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47757 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47758 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47759 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47760 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47761 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47762 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47763 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47764 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47765 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47766 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47767 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47768 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47769 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47770 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47771 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47772 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47773 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47774 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47775 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47776 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47777 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47778 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47779 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47780 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47781 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47782 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47783 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47785 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47788 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47792 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47793 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47794 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47797 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47798 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47809 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47810 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47811 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47813 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47814 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47816 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47817 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47822 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47823 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47825 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47826 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47828 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47830 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47831 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47839 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47854 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47856 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47857 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47859 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47863 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47865 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47869 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47870 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47871 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47872 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47873 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47876 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47877 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47878 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47879 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47881 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47882 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47884 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47886 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47887 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47888 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47889 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47890 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47892 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47894 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47896 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47897 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47899 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47901 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47904 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47905 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47906 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47908 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47910 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47911 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47912 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47914 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47916 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47917 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47939 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47944 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47946 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47947 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47948 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47955 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47957 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47958 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47960 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47962 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47964 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47965 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47966 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47968 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47970 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47971 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47973 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47974 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47976 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47978 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47979 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47982 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47983 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47985 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47987 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47988 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47989 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47990 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47991 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47992 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47993 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47994 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47995 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47996 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47998 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47999 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48000 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
48002 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
48003 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
48005 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48006 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
48007 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
48008 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
48009 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48010 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
48011 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
48012 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
48013 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
48014 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48015 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
48016 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48017 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
48019 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
48020 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
48022 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48023 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48025 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48026 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48027 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48028 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
48029 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
48030 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
48031 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
48032 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
48033 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
48034 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
48035 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
48036 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
48037 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48038 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
48039 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48040 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
48041 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48042 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
48043 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48044 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
48045 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48046 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
48047 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
48048 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
48050 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48051 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
48052 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
48053 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
48054 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48055 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
48056 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
48057 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
48058 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48059 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
48060 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48061 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48062 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48063 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48065 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
48067 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
48068 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
48069 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
48070 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
48071 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48072 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48073 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48074 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48076 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48077 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48079 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48080 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48081 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48082 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48083 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48084 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48085 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48086 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48087 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48088 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48089 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48090 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48091 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48092 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48093 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48094 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48095 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48096 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48097 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48098 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48099 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48100 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48101 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48102 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48103 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48104 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48105 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48106 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48107 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48108 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48109 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48110 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48111 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48112 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48113 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48114 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48115 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48116 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48117 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48118 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48119 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48120 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48121 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48122 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48123 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48124 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48125 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48126 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48127 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48128 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48129 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48130 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48131 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48132 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48133 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48134 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48135 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48136 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48137 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48138 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48139 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48140 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48141 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48142 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48143 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48144 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48145 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48146 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48147 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48148 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48149 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48150 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48151 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48152 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48153 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48154 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48155 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48156 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48157 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48158 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48159 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48160 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48161 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48162 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48163 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48164 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48165 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48166 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48167 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48168 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48169 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48170 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48171 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48172 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48173 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48174 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48175 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48176 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48177 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48178 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48179 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48180 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48181 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48182 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48183 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48184 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48185 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48186 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48187 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48188 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48189 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48190 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48191 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48192 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48193 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48194 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48195 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48196 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48197 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48198 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48199 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48200 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48201 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48202 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48203 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48204 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48205 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48206 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48207 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48208 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48209 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48210 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48211 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48212 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48213 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48214 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48215 { NULL
, NULL
, 0, NULL
}
48219 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48221 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48224 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48225 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48227 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48228 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48230 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48231 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48233 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48234 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48236 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48237 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48239 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48240 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48242 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48243 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48245 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48248 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48251 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48254 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48255 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48257 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48260 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48263 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48266 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48267 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48269 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48270 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48272 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48273 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48275 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48276 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48278 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48279 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48281 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48282 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48284 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48285 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48287 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48288 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48290 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48291 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48293 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48294 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48296 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48299 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48300 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48302 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48303 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48305 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48306 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48308 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48309 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48311 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48312 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48314 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48315 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48317 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48320 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48323 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48324 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48326 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48327 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48329 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48332 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48335 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48336 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48338 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48339 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48341 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48342 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48344 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48345 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48347 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48350 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48351 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48353 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48354 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48356 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48357 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48359 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48360 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48362 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48363 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48365 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48368 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48371 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48372 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48374 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48375 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48377 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48378 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48380 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48381 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48383 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48384 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48386 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48387 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48389 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48390 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48392 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48393 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48395 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48396 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48398 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48399 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48401 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48402 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48404 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48405 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48407 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48408 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48410 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48411 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48413 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48414 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48416 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48417 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48419 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48420 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48422 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48423 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48425 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48426 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48428 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48429 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48431 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48432 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48434 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48435 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48437 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48438 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48440 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48441 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48443 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48444 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48446 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48447 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48449 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48450 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48452 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48453 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48455 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48456 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48458 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48459 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48461 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48462 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48464 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48465 return (void *)((wxControl
*) ((wxGauge
*) x
));
48467 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48468 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48470 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48471 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48473 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48474 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48476 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48477 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48479 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48480 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48482 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48483 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48485 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48486 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48488 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48489 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48491 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48492 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48494 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48495 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48497 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48498 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48500 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48501 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48503 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48504 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48506 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48507 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48509 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48510 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48512 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48513 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48515 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48516 return (void *)((wxControl
*) ((wxSlider
*) x
));
48518 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48519 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48521 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48522 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48524 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48525 return (void *)((wxControl
*) ((wxButton
*) x
));
48527 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48528 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48530 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48531 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48533 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48534 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48536 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48537 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48539 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48540 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48542 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48543 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48545 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48546 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48548 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48549 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48551 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48552 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48554 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48555 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48557 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48558 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48560 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48561 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48563 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48564 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48566 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48567 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48569 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48570 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48572 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48573 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48575 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48576 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48578 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48579 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48581 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48582 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48584 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48585 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48587 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48588 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48590 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48591 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48593 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48594 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48596 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48597 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48599 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48600 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48602 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48605 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48606 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48608 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48609 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48611 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48614 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48615 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48617 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48618 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48620 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48623 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48626 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48627 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48629 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48632 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48635 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48638 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48639 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48641 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48644 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48645 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48647 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48650 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48653 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48656 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48659 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48662 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48663 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48665 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48668 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48671 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48674 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48677 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48680 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48683 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48686 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48689 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48692 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48695 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48698 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48701 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48704 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48707 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48710 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48713 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48716 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48719 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48722 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48725 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48728 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48731 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48734 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48737 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48740 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48743 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48746 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48749 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48752 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48755 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48758 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48761 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48762 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48764 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48765 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48767 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48768 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48770 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48771 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48773 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48774 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48776 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48777 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48779 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48782 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48785 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48786 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48788 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48789 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48791 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48794 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48795 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48797 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48800 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48801 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48803 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48804 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48806 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48807 return (void *)((wxObject
*) ((wxSizer
*) x
));
48809 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48810 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48812 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48815 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48818 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48821 static void *_p_wxEventTo_p_wxObject(void *x
) {
48822 return (void *)((wxObject
*) ((wxEvent
*) x
));
48824 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48825 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48827 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48828 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48830 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48833 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48834 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48836 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48839 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48842 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48845 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48848 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48851 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48852 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48854 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48855 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48857 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48858 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48860 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48861 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48863 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48864 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48866 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48867 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48869 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48872 static void *_p_wxControlTo_p_wxObject(void *x
) {
48873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48875 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48878 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48881 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48884 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48887 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48890 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48891 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48893 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48896 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48899 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48902 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48905 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48906 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48908 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48909 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48911 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48914 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48917 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48920 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48923 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48926 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48927 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48929 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48932 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48935 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48938 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48939 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48941 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48944 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48947 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48948 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48950 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48953 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48954 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48956 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48959 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48960 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48962 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48963 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48965 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48966 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48968 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48969 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48971 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48972 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48974 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48975 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48977 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48980 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48981 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48983 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48986 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48989 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48992 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48995 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48998 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
49001 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
49002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
49004 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
49005 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
49007 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
49008 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
49010 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
49011 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
49013 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
49014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
49016 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
49017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
49019 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
49020 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
49022 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
49023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
49025 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
49026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
49028 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
49029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
49031 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
49032 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
49034 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
49035 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
49037 static void *_p_wxListEventTo_p_wxObject(void *x
) {
49038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
49040 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
49041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49043 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
49044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49046 static void *_p_wxButtonTo_p_wxObject(void *x
) {
49047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
49049 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
49050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49052 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
49053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
49055 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
49056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49058 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
49059 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
49061 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
49062 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
49064 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
49065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
49067 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
49068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
49070 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
49071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
49073 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49076 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49077 return (void *)((wxObject
*) ((wxListItem
*) x
));
49079 static void *_p_wxImageTo_p_wxObject(void *x
) {
49080 return (void *)((wxObject
*) ((wxImage
*) x
));
49082 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49083 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49085 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49088 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49089 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49091 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49094 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49097 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49100 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49103 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49106 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49109 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49112 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49113 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49115 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49116 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49118 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49119 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49121 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49122 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49124 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49127 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49128 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49130 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49133 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49136 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49137 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49139 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49140 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49142 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49143 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49145 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49146 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49148 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49149 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49151 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49154 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49157 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49160 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49161 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49163 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49166 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49167 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49169 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49170 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49172 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49175 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49178 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49181 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49184 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49187 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49190 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49193 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49196 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49197 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49199 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49202 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49205 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49208 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49209 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49211 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49212 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49214 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49215 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49217 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49218 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49220 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49221 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49223 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49224 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49226 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49227 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49229 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49230 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49232 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49233 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49235 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49236 return (void *)((wxWindow
*) ((wxControl
*) x
));
49238 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49239 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49241 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49242 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49244 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49245 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49247 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49248 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49250 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49251 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49253 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49254 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49256 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49257 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49259 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49260 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49262 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49263 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49265 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49266 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49268 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49269 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49271 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49272 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49274 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49275 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49277 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49278 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49280 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49281 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49283 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49284 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49286 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49287 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49289 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49290 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49292 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49293 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49295 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49296 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49298 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49299 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49301 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49302 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49304 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49305 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49307 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49308 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49310 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49311 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49313 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49314 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49316 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49317 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49319 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49320 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49322 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49323 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49325 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49326 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49328 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49329 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49331 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49332 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49334 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49335 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49337 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49338 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49340 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49341 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49343 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49344 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49346 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49347 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49349 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49350 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49352 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49353 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49355 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49356 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49358 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49359 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49361 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49362 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49364 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49365 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49367 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49368 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49370 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49371 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49373 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49374 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49376 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49377 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49379 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49380 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49382 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49383 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49385 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49386 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49388 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49389 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49391 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49392 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49394 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49395 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49397 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49398 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49400 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49401 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49403 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49404 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49406 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49407 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49409 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49410 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49412 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49413 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49415 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49416 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49418 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49419 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49421 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49422 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49424 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49425 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49427 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49428 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49430 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49431 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49433 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49434 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49436 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49437 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49439 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49440 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49442 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49443 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49445 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49446 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49448 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49449 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49451 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49452 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49454 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49455 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49457 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49458 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49459 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};
49460 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49461 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49462 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49463 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49464 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49465 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49466 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49467 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49468 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49469 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49470 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49471 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49472 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49473 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49474 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49475 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49476 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49477 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49478 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49486 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49487 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49488 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49489 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49490 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49491 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49492 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49493 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49494 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49495 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49496 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49497 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49498 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49499 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49500 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49501 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49502 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49503 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49504 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49505 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49506 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49507 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49508 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49509 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49510 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49511 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49512 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49513 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49514 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49515 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49516 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49517 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49518 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49519 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49520 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49521 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49522 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49523 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49524 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49525 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49526 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49527 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49528 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49529 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49530 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49531 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49532 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49533 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49534 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49535 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49536 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49537 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49538 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49539 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49540 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49541 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49542 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49543 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49544 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49545 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49546 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49547 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49548 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49549 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49550 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49551 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49552 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49553 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49563 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49564 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49565 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49566 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49567 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49568 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49569 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49570 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49571 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49572 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49573 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49574 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49575 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49576 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49577 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49578 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49579 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49580 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49581 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49582 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49583 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49584 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49585 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49586 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49587 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49588 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49589 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49590 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49591 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49592 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49593 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49594 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49595 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49596 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49597 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49598 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49599 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49600 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49601 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49602 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49603 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49604 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49605 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49606 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49607 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49608 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49609 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49610 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49611 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49612 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49613 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49614 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49615 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49616 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49617 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49618 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49619 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49620 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49621 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49622 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49623 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49624 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49625 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49626 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49627 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49628 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49629 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49630 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49631 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49632 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49633 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49634 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49635 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49636 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49638 static swig_type_info
*swig_type_initial
[] = {
49641 &_swigt__p_form_ops_t
,
49644 &_swigt__p_unsigned_char
,
49645 &_swigt__p_unsigned_int
,
49646 &_swigt__p_unsigned_long
,
49648 &_swigt__p_wxANIHandler
,
49649 &_swigt__p_wxAcceleratorTable
,
49650 &_swigt__p_wxActivateEvent
,
49651 &_swigt__p_wxArrayInt
,
49652 &_swigt__p_wxArrayString
,
49653 &_swigt__p_wxBMPHandler
,
49654 &_swigt__p_wxBitmap
,
49655 &_swigt__p_wxBitmapButton
,
49656 &_swigt__p_wxBookCtrlBase
,
49657 &_swigt__p_wxBookCtrlBaseEvent
,
49658 &_swigt__p_wxBoxSizer
,
49659 &_swigt__p_wxButton
,
49660 &_swigt__p_wxCURHandler
,
49661 &_swigt__p_wxCheckBox
,
49662 &_swigt__p_wxCheckListBox
,
49663 &_swigt__p_wxChildFocusEvent
,
49664 &_swigt__p_wxChoice
,
49665 &_swigt__p_wxChoicebook
,
49666 &_swigt__p_wxChoicebookEvent
,
49667 &_swigt__p_wxClipboardTextEvent
,
49668 &_swigt__p_wxCloseEvent
,
49669 &_swigt__p_wxCollapsiblePane
,
49670 &_swigt__p_wxCollapsiblePaneEvent
,
49671 &_swigt__p_wxColour
,
49672 &_swigt__p_wxColourPickerCtrl
,
49673 &_swigt__p_wxColourPickerEvent
,
49674 &_swigt__p_wxComboBox
,
49675 &_swigt__p_wxCommandEvent
,
49676 &_swigt__p_wxContextHelp
,
49677 &_swigt__p_wxContextHelpButton
,
49678 &_swigt__p_wxContextMenuEvent
,
49679 &_swigt__p_wxControl
,
49680 &_swigt__p_wxControlWithItems
,
49681 &_swigt__p_wxCursor
,
49683 &_swigt__p_wxDateEvent
,
49684 &_swigt__p_wxDatePickerCtrl
,
49685 &_swigt__p_wxDateTime
,
49686 &_swigt__p_wxDirFilterListCtrl
,
49687 &_swigt__p_wxDirPickerCtrl
,
49688 &_swigt__p_wxDisplayChangedEvent
,
49689 &_swigt__p_wxDropFilesEvent
,
49690 &_swigt__p_wxDuplexMode
,
49691 &_swigt__p_wxEraseEvent
,
49692 &_swigt__p_wxEvent
,
49693 &_swigt__p_wxEventBlocker
,
49694 &_swigt__p_wxEvtHandler
,
49695 &_swigt__p_wxFSFile
,
49696 &_swigt__p_wxFileDirPickerEvent
,
49697 &_swigt__p_wxFilePickerCtrl
,
49698 &_swigt__p_wxFileSystem
,
49699 &_swigt__p_wxFlexGridSizer
,
49700 &_swigt__p_wxFocusEvent
,
49702 &_swigt__p_wxFontPickerCtrl
,
49703 &_swigt__p_wxFontPickerEvent
,
49704 &_swigt__p_wxGBSizerItem
,
49705 &_swigt__p_wxGIFHandler
,
49706 &_swigt__p_wxGauge
,
49707 &_swigt__p_wxGenericDirCtrl
,
49708 &_swigt__p_wxGenericDragImage
,
49709 &_swigt__p_wxGridBagSizer
,
49710 &_swigt__p_wxGridSizer
,
49711 &_swigt__p_wxHelpEvent
,
49712 &_swigt__p_wxHelpProvider
,
49713 &_swigt__p_wxHyperlinkCtrl
,
49714 &_swigt__p_wxHyperlinkEvent
,
49715 &_swigt__p_wxICOHandler
,
49717 &_swigt__p_wxIconizeEvent
,
49718 &_swigt__p_wxIdleEvent
,
49719 &_swigt__p_wxImage
,
49720 &_swigt__p_wxImageHandler
,
49721 &_swigt__p_wxImageList
,
49722 &_swigt__p_wxIndividualLayoutConstraint
,
49723 &_swigt__p_wxInitDialogEvent
,
49724 &_swigt__p_wxItemContainer
,
49725 &_swigt__p_wxJPEGHandler
,
49726 &_swigt__p_wxKeyEvent
,
49727 &_swigt__p_wxLayoutConstraints
,
49728 &_swigt__p_wxListBox
,
49729 &_swigt__p_wxListEvent
,
49730 &_swigt__p_wxListItem
,
49731 &_swigt__p_wxListItemAttr
,
49732 &_swigt__p_wxListView
,
49733 &_swigt__p_wxListbook
,
49734 &_swigt__p_wxListbookEvent
,
49735 &_swigt__p_wxMaximizeEvent
,
49736 &_swigt__p_wxMemoryDC
,
49738 &_swigt__p_wxMenuBar
,
49739 &_swigt__p_wxMenuEvent
,
49740 &_swigt__p_wxMenuItem
,
49741 &_swigt__p_wxMouseCaptureChangedEvent
,
49742 &_swigt__p_wxMouseCaptureLostEvent
,
49743 &_swigt__p_wxMouseEvent
,
49744 &_swigt__p_wxMoveEvent
,
49745 &_swigt__p_wxNavigationKeyEvent
,
49746 &_swigt__p_wxNcPaintEvent
,
49747 &_swigt__p_wxNotebook
,
49748 &_swigt__p_wxNotebookEvent
,
49749 &_swigt__p_wxNotifyEvent
,
49750 &_swigt__p_wxObject
,
49751 &_swigt__p_wxPCXHandler
,
49752 &_swigt__p_wxPNGHandler
,
49753 &_swigt__p_wxPNMHandler
,
49754 &_swigt__p_wxPaintEvent
,
49755 &_swigt__p_wxPaletteChangedEvent
,
49756 &_swigt__p_wxPaperSize
,
49757 &_swigt__p_wxPickerBase
,
49758 &_swigt__p_wxPoint
,
49759 &_swigt__p_wxPyApp
,
49760 &_swigt__p_wxPyCommandEvent
,
49761 &_swigt__p_wxPyControl
,
49762 &_swigt__p_wxPyEvent
,
49763 &_swigt__p_wxPyImageHandler
,
49764 &_swigt__p_wxPyListCtrl
,
49765 &_swigt__p_wxPySizer
,
49766 &_swigt__p_wxPyTreeCtrl
,
49767 &_swigt__p_wxPyTreeItemData
,
49768 &_swigt__p_wxPyValidator
,
49769 &_swigt__p_wxQueryNewPaletteEvent
,
49770 &_swigt__p_wxRadioBox
,
49771 &_swigt__p_wxRadioButton
,
49773 &_swigt__p_wxScrollBar
,
49774 &_swigt__p_wxScrollEvent
,
49775 &_swigt__p_wxScrollWinEvent
,
49776 &_swigt__p_wxSearchCtrl
,
49777 &_swigt__p_wxSetCursorEvent
,
49778 &_swigt__p_wxShowEvent
,
49779 &_swigt__p_wxSimpleHelpProvider
,
49781 &_swigt__p_wxSizeEvent
,
49782 &_swigt__p_wxSizer
,
49783 &_swigt__p_wxSizerItem
,
49784 &_swigt__p_wxSlider
,
49785 &_swigt__p_wxSpinButton
,
49786 &_swigt__p_wxSpinCtrl
,
49787 &_swigt__p_wxSpinEvent
,
49788 &_swigt__p_wxStaticBitmap
,
49789 &_swigt__p_wxStaticBox
,
49790 &_swigt__p_wxStaticBoxSizer
,
49791 &_swigt__p_wxStaticLine
,
49792 &_swigt__p_wxStaticText
,
49793 &_swigt__p_wxStdDialogButtonSizer
,
49794 &_swigt__p_wxString
,
49795 &_swigt__p_wxSysColourChangedEvent
,
49796 &_swigt__p_wxTGAHandler
,
49797 &_swigt__p_wxTIFFHandler
,
49798 &_swigt__p_wxTextAttr
,
49799 &_swigt__p_wxTextCtrl
,
49800 &_swigt__p_wxTextUrlEvent
,
49801 &_swigt__p_wxToggleButton
,
49802 &_swigt__p_wxToolBar
,
49803 &_swigt__p_wxToolBarBase
,
49804 &_swigt__p_wxToolBarToolBase
,
49805 &_swigt__p_wxToolbook
,
49806 &_swigt__p_wxToolbookEvent
,
49807 &_swigt__p_wxTreeEvent
,
49808 &_swigt__p_wxTreeItemId
,
49809 &_swigt__p_wxTreebook
,
49810 &_swigt__p_wxTreebookEvent
,
49811 &_swigt__p_wxUpdateUIEvent
,
49812 &_swigt__p_wxValidator
,
49813 &_swigt__p_wxVisualAttributes
,
49814 &_swigt__p_wxWindow
,
49815 &_swigt__p_wxWindowBase
,
49816 &_swigt__p_wxWindowCreateEvent
,
49817 &_swigt__p_wxWindowDestroyEvent
,
49818 &_swigt__p_wxXPMHandler
,
49821 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49822 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49823 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49833 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}};
49834 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}};
49835 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}};
49836 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}};
49837 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49838 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49839 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49840 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49841 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49842 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49843 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49844 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49845 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49856 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49857 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49863 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49864 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49870 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49871 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49882 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49887 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49888 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49889 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49890 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49891 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49893 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49894 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49897 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49898 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49903 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49909 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}};
49910 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49912 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49913 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49914 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}};
49915 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49916 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}};
49917 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49918 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49919 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49920 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49922 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49923 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49925 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49926 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49928 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}};
49929 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49930 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49931 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49932 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49933 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49934 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49935 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49936 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49937 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49938 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49939 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49940 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49941 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49942 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49943 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49944 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49945 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49946 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49947 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49948 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49949 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49950 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49951 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49952 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49953 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49954 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49955 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49956 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49957 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49958 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49959 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49960 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49961 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49962 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}};
49963 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49964 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49965 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}};
49966 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49967 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49968 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49969 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49970 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49971 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49972 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49973 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49974 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49975 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49976 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49977 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49978 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49979 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49980 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49981 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49982 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49983 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49984 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49985 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49986 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49987 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49988 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49989 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}};
49990 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49991 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49992 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49993 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49994 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49995 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49996 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49997 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}};
49998 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49999 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
50000 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
50002 static swig_cast_info
*swig_cast_initial
[] = {
50005 _swigc__p_form_ops_t
,
50008 _swigc__p_unsigned_char
,
50009 _swigc__p_unsigned_int
,
50010 _swigc__p_unsigned_long
,
50012 _swigc__p_wxANIHandler
,
50013 _swigc__p_wxAcceleratorTable
,
50014 _swigc__p_wxActivateEvent
,
50015 _swigc__p_wxArrayInt
,
50016 _swigc__p_wxArrayString
,
50017 _swigc__p_wxBMPHandler
,
50018 _swigc__p_wxBitmap
,
50019 _swigc__p_wxBitmapButton
,
50020 _swigc__p_wxBookCtrlBase
,
50021 _swigc__p_wxBookCtrlBaseEvent
,
50022 _swigc__p_wxBoxSizer
,
50023 _swigc__p_wxButton
,
50024 _swigc__p_wxCURHandler
,
50025 _swigc__p_wxCheckBox
,
50026 _swigc__p_wxCheckListBox
,
50027 _swigc__p_wxChildFocusEvent
,
50028 _swigc__p_wxChoice
,
50029 _swigc__p_wxChoicebook
,
50030 _swigc__p_wxChoicebookEvent
,
50031 _swigc__p_wxClipboardTextEvent
,
50032 _swigc__p_wxCloseEvent
,
50033 _swigc__p_wxCollapsiblePane
,
50034 _swigc__p_wxCollapsiblePaneEvent
,
50035 _swigc__p_wxColour
,
50036 _swigc__p_wxColourPickerCtrl
,
50037 _swigc__p_wxColourPickerEvent
,
50038 _swigc__p_wxComboBox
,
50039 _swigc__p_wxCommandEvent
,
50040 _swigc__p_wxContextHelp
,
50041 _swigc__p_wxContextHelpButton
,
50042 _swigc__p_wxContextMenuEvent
,
50043 _swigc__p_wxControl
,
50044 _swigc__p_wxControlWithItems
,
50045 _swigc__p_wxCursor
,
50047 _swigc__p_wxDateEvent
,
50048 _swigc__p_wxDatePickerCtrl
,
50049 _swigc__p_wxDateTime
,
50050 _swigc__p_wxDirFilterListCtrl
,
50051 _swigc__p_wxDirPickerCtrl
,
50052 _swigc__p_wxDisplayChangedEvent
,
50053 _swigc__p_wxDropFilesEvent
,
50054 _swigc__p_wxDuplexMode
,
50055 _swigc__p_wxEraseEvent
,
50057 _swigc__p_wxEventBlocker
,
50058 _swigc__p_wxEvtHandler
,
50059 _swigc__p_wxFSFile
,
50060 _swigc__p_wxFileDirPickerEvent
,
50061 _swigc__p_wxFilePickerCtrl
,
50062 _swigc__p_wxFileSystem
,
50063 _swigc__p_wxFlexGridSizer
,
50064 _swigc__p_wxFocusEvent
,
50066 _swigc__p_wxFontPickerCtrl
,
50067 _swigc__p_wxFontPickerEvent
,
50068 _swigc__p_wxGBSizerItem
,
50069 _swigc__p_wxGIFHandler
,
50071 _swigc__p_wxGenericDirCtrl
,
50072 _swigc__p_wxGenericDragImage
,
50073 _swigc__p_wxGridBagSizer
,
50074 _swigc__p_wxGridSizer
,
50075 _swigc__p_wxHelpEvent
,
50076 _swigc__p_wxHelpProvider
,
50077 _swigc__p_wxHyperlinkCtrl
,
50078 _swigc__p_wxHyperlinkEvent
,
50079 _swigc__p_wxICOHandler
,
50081 _swigc__p_wxIconizeEvent
,
50082 _swigc__p_wxIdleEvent
,
50084 _swigc__p_wxImageHandler
,
50085 _swigc__p_wxImageList
,
50086 _swigc__p_wxIndividualLayoutConstraint
,
50087 _swigc__p_wxInitDialogEvent
,
50088 _swigc__p_wxItemContainer
,
50089 _swigc__p_wxJPEGHandler
,
50090 _swigc__p_wxKeyEvent
,
50091 _swigc__p_wxLayoutConstraints
,
50092 _swigc__p_wxListBox
,
50093 _swigc__p_wxListEvent
,
50094 _swigc__p_wxListItem
,
50095 _swigc__p_wxListItemAttr
,
50096 _swigc__p_wxListView
,
50097 _swigc__p_wxListbook
,
50098 _swigc__p_wxListbookEvent
,
50099 _swigc__p_wxMaximizeEvent
,
50100 _swigc__p_wxMemoryDC
,
50102 _swigc__p_wxMenuBar
,
50103 _swigc__p_wxMenuEvent
,
50104 _swigc__p_wxMenuItem
,
50105 _swigc__p_wxMouseCaptureChangedEvent
,
50106 _swigc__p_wxMouseCaptureLostEvent
,
50107 _swigc__p_wxMouseEvent
,
50108 _swigc__p_wxMoveEvent
,
50109 _swigc__p_wxNavigationKeyEvent
,
50110 _swigc__p_wxNcPaintEvent
,
50111 _swigc__p_wxNotebook
,
50112 _swigc__p_wxNotebookEvent
,
50113 _swigc__p_wxNotifyEvent
,
50114 _swigc__p_wxObject
,
50115 _swigc__p_wxPCXHandler
,
50116 _swigc__p_wxPNGHandler
,
50117 _swigc__p_wxPNMHandler
,
50118 _swigc__p_wxPaintEvent
,
50119 _swigc__p_wxPaletteChangedEvent
,
50120 _swigc__p_wxPaperSize
,
50121 _swigc__p_wxPickerBase
,
50124 _swigc__p_wxPyCommandEvent
,
50125 _swigc__p_wxPyControl
,
50126 _swigc__p_wxPyEvent
,
50127 _swigc__p_wxPyImageHandler
,
50128 _swigc__p_wxPyListCtrl
,
50129 _swigc__p_wxPySizer
,
50130 _swigc__p_wxPyTreeCtrl
,
50131 _swigc__p_wxPyTreeItemData
,
50132 _swigc__p_wxPyValidator
,
50133 _swigc__p_wxQueryNewPaletteEvent
,
50134 _swigc__p_wxRadioBox
,
50135 _swigc__p_wxRadioButton
,
50137 _swigc__p_wxScrollBar
,
50138 _swigc__p_wxScrollEvent
,
50139 _swigc__p_wxScrollWinEvent
,
50140 _swigc__p_wxSearchCtrl
,
50141 _swigc__p_wxSetCursorEvent
,
50142 _swigc__p_wxShowEvent
,
50143 _swigc__p_wxSimpleHelpProvider
,
50145 _swigc__p_wxSizeEvent
,
50147 _swigc__p_wxSizerItem
,
50148 _swigc__p_wxSlider
,
50149 _swigc__p_wxSpinButton
,
50150 _swigc__p_wxSpinCtrl
,
50151 _swigc__p_wxSpinEvent
,
50152 _swigc__p_wxStaticBitmap
,
50153 _swigc__p_wxStaticBox
,
50154 _swigc__p_wxStaticBoxSizer
,
50155 _swigc__p_wxStaticLine
,
50156 _swigc__p_wxStaticText
,
50157 _swigc__p_wxStdDialogButtonSizer
,
50158 _swigc__p_wxString
,
50159 _swigc__p_wxSysColourChangedEvent
,
50160 _swigc__p_wxTGAHandler
,
50161 _swigc__p_wxTIFFHandler
,
50162 _swigc__p_wxTextAttr
,
50163 _swigc__p_wxTextCtrl
,
50164 _swigc__p_wxTextUrlEvent
,
50165 _swigc__p_wxToggleButton
,
50166 _swigc__p_wxToolBar
,
50167 _swigc__p_wxToolBarBase
,
50168 _swigc__p_wxToolBarToolBase
,
50169 _swigc__p_wxToolbook
,
50170 _swigc__p_wxToolbookEvent
,
50171 _swigc__p_wxTreeEvent
,
50172 _swigc__p_wxTreeItemId
,
50173 _swigc__p_wxTreebook
,
50174 _swigc__p_wxTreebookEvent
,
50175 _swigc__p_wxUpdateUIEvent
,
50176 _swigc__p_wxValidator
,
50177 _swigc__p_wxVisualAttributes
,
50178 _swigc__p_wxWindow
,
50179 _swigc__p_wxWindowBase
,
50180 _swigc__p_wxWindowCreateEvent
,
50181 _swigc__p_wxWindowDestroyEvent
,
50182 _swigc__p_wxXPMHandler
,
50186 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50188 static swig_const_info swig_const_table
[] = {
50189 {0, 0, 0, 0.0, 0, 0}};
50194 /* -----------------------------------------------------------------------------
50195 * Type initialization:
50196 * This problem is tough by the requirement that no dynamic
50197 * memory is used. Also, since swig_type_info structures store pointers to
50198 * swig_cast_info structures and swig_cast_info structures store pointers back
50199 * to swig_type_info structures, we need some lookup code at initialization.
50200 * The idea is that swig generates all the structures that are needed.
50201 * The runtime then collects these partially filled structures.
50202 * The SWIG_InitializeModule function takes these initial arrays out of
50203 * swig_module, and does all the lookup, filling in the swig_module.types
50204 * array with the correct data and linking the correct swig_cast_info
50205 * structures together.
50207 * The generated swig_type_info structures are assigned staticly to an initial
50208 * array. We just loop though that array, and handle each type individually.
50209 * First we lookup if this type has been already loaded, and if so, use the
50210 * loaded structure instead of the generated one. Then we have to fill in the
50211 * cast linked list. The cast data is initially stored in something like a
50212 * two-dimensional array. Each row corresponds to a type (there are the same
50213 * number of rows as there are in the swig_type_initial array). Each entry in
50214 * a column is one of the swig_cast_info structures for that type.
50215 * The cast_initial array is actually an array of arrays, because each row has
50216 * a variable number of columns. So to actually build the cast linked list,
50217 * we find the array of casts associated with the type, and loop through it
50218 * adding the casts to the list. The one last trick we need to do is making
50219 * sure the type pointer in the swig_cast_info struct is correct.
50221 * First off, we lookup the cast->type name to see if it is already loaded.
50222 * There are three cases to handle:
50223 * 1) If the cast->type has already been loaded AND the type we are adding
50224 * casting info to has not been loaded (it is in this module), THEN we
50225 * replace the cast->type pointer with the type pointer that has already
50227 * 2) If BOTH types (the one we are adding casting info to, and the
50228 * cast->type) are loaded, THEN the cast info has already been loaded by
50229 * the previous module so we just ignore it.
50230 * 3) Finally, if cast->type has not already been loaded, then we add that
50231 * swig_cast_info to the linked list (because the cast->type) pointer will
50233 * ----------------------------------------------------------------------------- */
50243 #define SWIGRUNTIME_DEBUG
50247 SWIG_InitializeModule(void *clientdata
) {
50249 swig_module_info
*module_head
;
50250 static int init_run
= 0;
50252 clientdata
= clientdata
;
50254 if (init_run
) return;
50257 /* Initialize the swig_module */
50258 swig_module
.type_initial
= swig_type_initial
;
50259 swig_module
.cast_initial
= swig_cast_initial
;
50261 /* Try and load any already created modules */
50262 module_head
= SWIG_GetModule(clientdata
);
50264 swig_module
.next
= module_head
->next
;
50265 module_head
->next
= &swig_module
;
50267 /* This is the first module loaded */
50268 swig_module
.next
= &swig_module
;
50269 SWIG_SetModule(clientdata
, &swig_module
);
50272 /* Now work on filling in swig_module.types */
50273 #ifdef SWIGRUNTIME_DEBUG
50274 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50276 for (i
= 0; i
< swig_module
.size
; ++i
) {
50277 swig_type_info
*type
= 0;
50278 swig_type_info
*ret
;
50279 swig_cast_info
*cast
;
50281 #ifdef SWIGRUNTIME_DEBUG
50282 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50285 /* if there is another module already loaded */
50286 if (swig_module
.next
!= &swig_module
) {
50287 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50290 /* Overwrite clientdata field */
50291 #ifdef SWIGRUNTIME_DEBUG
50292 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50294 if (swig_module
.type_initial
[i
]->clientdata
) {
50295 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50296 #ifdef SWIGRUNTIME_DEBUG
50297 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50301 type
= swig_module
.type_initial
[i
];
50304 /* Insert casting types */
50305 cast
= swig_module
.cast_initial
[i
];
50306 while (cast
->type
) {
50307 /* Don't need to add information already in the list */
50309 #ifdef SWIGRUNTIME_DEBUG
50310 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50312 if (swig_module
.next
!= &swig_module
) {
50313 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50314 #ifdef SWIGRUNTIME_DEBUG
50315 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50319 if (type
== swig_module
.type_initial
[i
]) {
50320 #ifdef SWIGRUNTIME_DEBUG
50321 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50326 /* Check for casting already in the list */
50327 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50328 #ifdef SWIGRUNTIME_DEBUG
50329 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50331 if (!ocast
) ret
= 0;
50336 #ifdef SWIGRUNTIME_DEBUG
50337 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50340 type
->cast
->prev
= cast
;
50341 cast
->next
= type
->cast
;
50347 /* Set entry in modules->types array equal to the type */
50348 swig_module
.types
[i
] = type
;
50350 swig_module
.types
[i
] = 0;
50352 #ifdef SWIGRUNTIME_DEBUG
50353 printf("**** SWIG_InitializeModule: Cast List ******\n");
50354 for (i
= 0; i
< swig_module
.size
; ++i
) {
50356 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50357 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50358 while (cast
->type
) {
50359 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50363 printf("---- Total casts: %d\n",j
);
50365 printf("**** SWIG_InitializeModule: Cast List ******\n");
50369 /* This function will propagate the clientdata field of type to
50370 * any new swig_type_info structures that have been added into the list
50371 * of equivalent types. It is like calling
50372 * SWIG_TypeClientData(type, clientdata) a second time.
50375 SWIG_PropagateClientData(void) {
50377 swig_cast_info
*equiv
;
50378 static int init_run
= 0;
50380 if (init_run
) return;
50383 for (i
= 0; i
< swig_module
.size
; i
++) {
50384 if (swig_module
.types
[i
]->clientdata
) {
50385 equiv
= swig_module
.types
[i
]->cast
;
50387 if (!equiv
->converter
) {
50388 if (equiv
->type
&& !equiv
->type
->clientdata
)
50389 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50391 equiv
= equiv
->next
;
50411 /* Python-specific SWIG API */
50412 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50413 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50414 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50416 /* -----------------------------------------------------------------------------
50417 * global variable support code.
50418 * ----------------------------------------------------------------------------- */
50420 typedef struct swig_globalvar
{
50421 char *name
; /* Name of global variable */
50422 PyObject
*(*get_attr
)(void); /* Return the current value */
50423 int (*set_attr
)(PyObject
*); /* Set the value */
50424 struct swig_globalvar
*next
;
50427 typedef struct swig_varlinkobject
{
50429 swig_globalvar
*vars
;
50430 } swig_varlinkobject
;
50432 SWIGINTERN PyObject
*
50433 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50434 return PyString_FromString("<Swig global variables>");
50437 SWIGINTERN PyObject
*
50438 swig_varlink_str(swig_varlinkobject
*v
) {
50439 PyObject
*str
= PyString_FromString("(");
50440 swig_globalvar
*var
;
50441 for (var
= v
->vars
; var
; var
=var
->next
) {
50442 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50443 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50445 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50450 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50451 PyObject
*str
= swig_varlink_str(v
);
50452 fprintf(fp
,"Swig global variables ");
50453 fprintf(fp
,"%s\n", PyString_AsString(str
));
50459 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50460 swig_globalvar
*var
= v
->vars
;
50462 swig_globalvar
*n
= var
->next
;
50469 SWIGINTERN PyObject
*
50470 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50471 PyObject
*res
= NULL
;
50472 swig_globalvar
*var
= v
->vars
;
50474 if (strcmp(var
->name
,n
) == 0) {
50475 res
= (*var
->get_attr
)();
50480 if (res
== NULL
&& !PyErr_Occurred()) {
50481 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50487 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50489 swig_globalvar
*var
= v
->vars
;
50491 if (strcmp(var
->name
,n
) == 0) {
50492 res
= (*var
->set_attr
)(p
);
50497 if (res
== 1 && !PyErr_Occurred()) {
50498 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50503 SWIGINTERN PyTypeObject
*
50504 swig_varlink_type(void) {
50505 static char varlink__doc__
[] = "Swig var link object";
50506 static PyTypeObject varlink_type
;
50507 static int type_init
= 0;
50509 const PyTypeObject tmp
50511 PyObject_HEAD_INIT(NULL
)
50512 0, /* Number of items in variable part (ob_size) */
50513 (char *)"swigvarlink", /* Type name (tp_name) */
50514 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50515 0, /* Itemsize (tp_itemsize) */
50516 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50517 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50518 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50519 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50520 0, /* tp_compare */
50521 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50522 0, /* tp_as_number */
50523 0, /* tp_as_sequence */
50524 0, /* tp_as_mapping */
50527 (reprfunc
)swig_varlink_str
, /* tp_str */
50528 0, /* tp_getattro */
50529 0, /* tp_setattro */
50530 0, /* tp_as_buffer */
50532 varlink__doc__
, /* tp_doc */
50533 0, /* tp_traverse */
50535 0, /* tp_richcompare */
50536 0, /* tp_weaklistoffset */
50537 #if PY_VERSION_HEX >= 0x02020000
50538 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50540 #if PY_VERSION_HEX >= 0x02030000
50543 #ifdef COUNT_ALLOCS
50544 0,0,0,0 /* tp_alloc -> tp_next */
50547 varlink_type
= tmp
;
50548 varlink_type
.ob_type
= &PyType_Type
;
50551 return &varlink_type
;
50554 /* Create a variable linking object for use later */
50555 SWIGINTERN PyObject
*
50556 SWIG_Python_newvarlink(void) {
50557 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50561 return ((PyObject
*) result
);
50565 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50566 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50567 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50569 size_t size
= strlen(name
)+1;
50570 gv
->name
= (char *)malloc(size
);
50572 strncpy(gv
->name
,name
,size
);
50573 gv
->get_attr
= get_attr
;
50574 gv
->set_attr
= set_attr
;
50575 gv
->next
= v
->vars
;
50581 SWIGINTERN PyObject
*
50583 static PyObject
*_SWIG_globals
= 0;
50584 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50585 return _SWIG_globals
;
50588 /* -----------------------------------------------------------------------------
50589 * constants/methods manipulation
50590 * ----------------------------------------------------------------------------- */
50592 /* Install Constants */
50594 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50597 for (i
= 0; constants
[i
].type
; ++i
) {
50598 switch(constants
[i
].type
) {
50599 case SWIG_PY_POINTER
:
50600 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50602 case SWIG_PY_BINARY
:
50603 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50610 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50616 /* -----------------------------------------------------------------------------*/
50617 /* Fix SwigMethods to carry the callback ptrs when needed */
50618 /* -----------------------------------------------------------------------------*/
50621 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50622 swig_const_info
*const_table
,
50623 swig_type_info
**types
,
50624 swig_type_info
**types_initial
) {
50626 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50627 const char *c
= methods
[i
].ml_doc
;
50628 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50630 swig_const_info
*ci
= 0;
50631 const char *name
= c
+ 10;
50632 for (j
= 0; const_table
[j
].type
; ++j
) {
50633 if (strncmp(const_table
[j
].name
, name
,
50634 strlen(const_table
[j
].name
)) == 0) {
50635 ci
= &(const_table
[j
]);
50640 size_t shift
= (ci
->ptype
) - types
;
50641 swig_type_info
*ty
= types_initial
[shift
];
50642 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50643 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50644 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50647 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50649 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50651 strncpy(buff
, "swig_ptr: ", 10);
50653 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50654 methods
[i
].ml_doc
= ndoc
;
50666 /* -----------------------------------------------------------------------------*
50667 * Partial Init method
50668 * -----------------------------------------------------------------------------*/
50673 SWIGEXPORT
void SWIG_init(void) {
50676 /* Fix SwigMethods to carry the callback ptrs when needed */
50677 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50679 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50680 d
= PyModule_GetDict(m
);
50682 SWIG_InitializeModule(0);
50683 SWIG_InstallConstants(d
,swig_const_table
);
50686 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50687 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50688 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50689 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50690 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50691 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50692 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50693 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50694 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50695 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50696 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50697 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50698 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50699 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50700 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50701 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50702 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50703 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50704 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50705 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50706 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50707 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50708 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50709 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50710 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50711 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50712 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
50713 SWIG_Python_SetConstant(d
, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP
)));
50714 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START
)));
50715 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE
)));
50716 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END
)));
50717 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50718 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50719 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50720 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50721 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50722 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50723 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50724 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50725 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50726 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50727 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50728 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50729 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50730 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50731 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50732 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50733 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50734 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50735 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50736 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50737 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50738 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50739 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50740 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50741 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50742 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50743 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50744 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50745 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50746 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50747 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50748 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50749 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50750 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50751 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50752 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50753 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50754 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50755 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50756 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50757 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50758 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50759 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50760 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50761 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50762 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50763 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50764 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50769 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50770 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50771 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50772 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50773 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50774 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50775 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50776 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50777 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50778 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50779 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50780 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50781 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50782 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50783 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50784 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50785 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50786 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50787 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50788 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50789 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50790 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50791 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50792 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50794 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50795 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50796 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50797 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50798 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50799 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50800 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50801 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50802 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50803 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50804 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50805 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50806 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50807 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50808 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50809 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50810 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50811 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50812 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50813 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50814 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50815 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50816 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50817 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50818 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50819 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50820 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50821 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50822 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50823 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50824 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50825 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50826 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50829 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50830 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50831 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50832 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50833 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50834 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50835 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50836 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50841 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50842 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50843 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50844 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50845 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50846 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50847 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50848 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50849 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50850 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50851 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50852 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50853 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50854 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50855 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50856 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50857 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50858 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50859 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50860 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50861 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50862 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50863 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50864 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50865 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50866 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50867 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50868 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50869 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50870 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50871 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50872 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50873 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50874 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50875 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50876 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50877 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50878 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50879 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50880 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50881 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50882 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50883 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50884 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50885 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50886 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50887 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50888 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50889 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50890 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50891 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50892 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50893 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50894 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50895 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50896 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50897 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50898 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50899 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50900 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50901 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50902 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50903 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50904 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50905 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50906 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50907 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50908 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50909 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50910 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50911 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50912 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50913 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50914 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50915 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50916 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50917 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50918 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50919 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50920 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50921 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50922 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50923 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50924 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50925 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50926 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50927 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50928 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50929 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50930 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50931 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50948 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50949 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50950 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50951 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50953 // Map renamed classes back to their common name for OOR
50954 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50956 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50957 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50958 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50959 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50960 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50961 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50962 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50963 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50964 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50965 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50966 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50967 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50968 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50969 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50970 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50971 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50972 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50973 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50974 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50975 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50976 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50977 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50978 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50979 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50980 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50981 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50982 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50983 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50984 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50985 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50986 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50987 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50988 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50989 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
51000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
51001 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
51002 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
51003 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
51004 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
51005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
51006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
51007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
51008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
51009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
51010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
51011 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
51013 // Map renamed classes back to their common name for OOR
51014 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
51015 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
51017 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
51018 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
51019 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
51020 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
51021 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
51022 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
51023 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
51024 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
51025 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
51026 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
51027 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
51029 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
51031 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
51032 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
51033 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
51034 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
51035 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
51036 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
51037 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
51038 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
51039 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
51040 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
51041 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
51042 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
51043 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
51044 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
51045 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
51046 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
51047 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
51048 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
51049 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
51050 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
51051 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
51052 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
51053 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
51054 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
51055 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
51056 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
51057 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
51058 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
51059 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
51060 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
51061 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
51062 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
51063 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
51064 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
51065 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
51066 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
51067 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
51068 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
51069 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
51070 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
51071 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51072 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51073 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51074 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51075 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51076 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51077 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51078 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51079 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51080 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));